參數名稱 建議
key_buffer_size //Do not set it larger than 30% of your available memory
innodb_buffer_pool_size //you may set this parameter up to 80% of the machine physical memory size ;Typical values are 5-6GB (8GB RAM), 20-25GB (32GB RAM), 100-120GB (128GB RAM).
query_cache_size // The best option is to disable it from day 1 by setting query_cache_size = 0 (now the default on MySQL 5.6) ; Or Try 32 - 128M (caution: 512!)
thread_cache_size //8 - 128M
innodb_buffer_pool_size
相關參考:
沒有留言:
張貼留言