ensl.org/ext/mysql.conf.d/opt.cnf

32 lines
809 B
Text
Raw Normal View History

[mysqld]
skip-host-cache
skip-name-resolve
key_buffer = 150M
max_allowed_packet = 20M
thread_stack = 196K
thread_cache_size = 16
max_connections = 96
table_cache = 2000
table_definition_cache = 800
thread_concurrency = 128
query_cache_limit = 30M
query_cache_size = 150M
open_files_limit = 1800
join_buffer_size = 1M
sort_buffer_size = 1M
read_buffer_size = 128K
tmp_table_size = 500M
max_heap_table_size = 500M
innodb_buffer_pool_size = 1280M
innodb_flush_log_at_trx_commit = 1
innodb_thread_concurrency = 16
innodb_flush_method = O_DIRECT
#innodb_additional_mem_pool_size = 20M
innodb_file_per_table = 1
transaction-isolation = READ-COMMITTED