Skip to main content

help : optimize MySQL

Comments

3 comments

  • cPRex Jurassic Moderator
    Based on that information alone, it's not possible to provide details on how to optimize the system. I have found MySQLTuner to provide reliable information if the MySQL service has been up and running for a while before it is run. If you are experiencing slowness it would be good to identify where that is coming from before trying to make changes. For example, are you seeing slow queries when running the "mysqladmin proc status" command on the system? Are the sites slower than you expect? The best answer to this question is that there isn't going to be a simple copy and paste solution that will optimize your sites well, as that work should be handled by someone that is familiar with your sites and server settings. It may be a good idea to review the list of MySQL configuration variables at the link below to see what options are available to see what you can control on the system:
    0
  • jlucho
    What variables control these 2 alert messages? *** MySQL's maximum memory usage is dangerously high *** *** Add RAM before increasing MySQL buffer variables ***
    0
  • cPRex Jurassic Moderator
    That is most likely related to the "key_buffer" value in /etc/my.cnf. Do you know how long MySQL was up and running before you ran the tuner script? It should be at least 24 hours in order for that to pull accurate data.
    0

Please sign in to leave a comment.