I am using Myisam only Database. I want to load all the indexes into cache as suggested on this page.
http://dev.mysql.com/doc/refman/5.0/en/load-index.html
How do I know if the memory allocation is sufficient to hold the key cache files?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
MyISAM engine does this by default. There is one default default buffer, you can create additional ones and force loading of them with mentioned command (this may be useful if you want to allocate more than 4GB for key buffering).
As for default, you allocate memory for key buffering using
key_buffer_sizeoption in config file.You can monitor usage of key buffering with SHOW STATUS and SHOW VARIABLES. The values interesting for you will be: