Tunar o Mysql imprimir

  • 0

nano /etc/my.cnf


Configurações:

key_buffer_size=196M 
sort_buffer=1M
join_buffer=1M
max_join_size=2M

thread_concurrency=16
thread_cache=5

table_cache=2000

interactive_timeout=45
wait_timeout=45


max_heap_table_size=128M
tmp_table_size=2G


query_cache_limit=1M
query_cache_size=512M

max_connections=500
max_user_connections=30


innodb_buffer_pool_size=128M
innodb_file_per_table=1
innodb_log_file_size=5M
innodb_thread_concurrency=4

Esta resposta lhe foi útil?

« Retornar