开发者

How to set key_cache_size in Mysql

开发者 https://www.devze.com 2023-01-15 11:48 出处:网络
I saw our mysql server Key Efficiency hitrate reaching 100%, it\'s suggested by开发者_StackOverflow中文版 Mysql to increase key_cache_size setting. But how do I set this, and how do I check what the c

I saw our mysql server Key Efficiency hitrate reaching 100%, it's suggested by开发者_StackOverflow中文版 Mysql to increase key_cache_size setting. But how do I set this, and how do I check what the current setting is? Thanks,

David


on linux/osx the settings are in /etc/my.cnf or /etc/mysql/my.cnf

this classic blog post has a nice overview of various settings: http://www.mysqlperformanceblog.com/2006/09/29/what-to-tune-in-mysql-server-after-installation/

0

精彩评论

暂无评论...
验证码 换一张
取 消