thread_concurrency=16
thread_cache_size=8
query_cache_type=1
query_cache_limit=3M
query_cache_size=128M
tmp_table_size=256M
max_heap_table_size=256M
read_rnd_buffer_size=3M
max_connections=100
key_buffer_size=512M
max_allowed_packet=32M
table_cache=512
sort_buffer_size=3M
read_buffer_size=3M
join_buffer_size=3M
figures are based on just over 2GB optimal memory usage by mysql, and a system with 8 processing cores.
This script helped alot: http://mysqltuner.pl
0 comments:
Post a Comment