Skip to main content

MySQL my.cnf File Optimization help

Comments

5 comments

  • postcd
    im noob but i would raise tmp_table_size (> 16M) max_heap_table_size (> 16M) ..to 32M or 64M, then restart mysqld service but this wont improve main issue you have - 800ms to load basic .php file
    0
  • cPanelMichael
    Hello :) Feel free to try implementing some of the suggestions from the tuner output, let MySQL run for an additional 24 hours, and then run the tuner again to see the updated results. Thank you.
    0
  • ashishpatel1992
    Do I really need to restart the MySQL server so that old results are not again calculated by MySQLTuner or I can do changes without restarting MySQL Server Regards, Ashish [quote="cPanelMichael, post: 1660682">Hello :) Feel free to try implementing some of the suggestions from the tuner output, let MySQL run for an additional 24 hours, and then run the tuner again to see the updated results. Thank you.
    0
  • cPanelMichael
    You will need to restart MySQL to ensure the changes you make to /etc/my.cnf are utilized by the MySQL server. Thank you.
    0
  • johntang
    I think you need lowering key_buffer and sort_buffer_size will boost also. and other variables are nice. then service mysqld restart.
    0

Please sign in to leave a comment.