Last active
December 19, 2015 15:38
-
-
Save Gronghon/5977306 to your computer and use it in GitHub Desktop.
mariaDB 5.5 configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...] | |
# | |
# * Fine Tuning | |
# | |
max_connections = 100 | |
connect_timeout = 5 | |
wait_timeout = 600 | |
max_allowed_packet = 16M | |
thread_cache_size = 128 | |
sort_buffer_size = 4M | |
bulk_insert_buffer_size = 16M | |
tmp_table_size = 32M | |
max_heap_table_size = 32M | |
[...] | |
# | |
# * MyISAM | |
# | |
# This replaces the startup script and checks MyISAM tables if needed | |
# the first time they are touched. On error, make copy and try a repair. | |
myisam_recover = BACKUP | |
key_buffer_size = 128M | |
#open-files-limit = 2000 | |
table_open_cache = 400 | |
myisam_sort_buffer_size = 512M | |
concurrent_insert = 2 | |
read_buffer_size = 2M | |
read_rnd_buffer_size = 1M | |
# | |
# * Query Cache Configuration | |
# | |
# Cache only tiny result sets, so we can fit more in the query cache. | |
query_cache_limit = 128K | |
query_cache_size = 64M | |
[...] | |
# | |
# * InnoDB | |
# | |
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. | |
# Read the manual for more InnoDB related options. There are many! | |
default_storage_engine = InnoDB | |
# you can't just change log file size, requires special procedure | |
#innodb_log_file_size = 50M | |
innodb_buffer_pool_size = 256M | |
innodb_log_buffer_size = 8M | |
innodb_file_per_table = 1 | |
innodb_open_files = 400 | |
innodb_io_capacity = 400 | |
innodb_flush_method = O_DIRECT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment