David Zhao
David Zhao

Reputation: 4514

How to set key_cache_size in Mysql

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

Upvotes: 1

Views: 2602

Answers (1)

John Bachir
John Bachir

Reputation: 22741

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/

Upvotes: 0

Related Questions