views:

53

answers:

1

Hi there,

I saw our mysql server Key Efficiency hitrate reaching 100%, it's suggested by 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

A: 

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/

John
thanks for your answer, so key_cache_size setting is key_bufer_size here?
David Zhao