Skip to main content

Help with tuning mySQL

Comments

4 comments

  • cPanelMichael
    Hello :) I have moved this thread to our "Optimization" forum. You should receive more user-feedback here. Thank you.
    0
  • Simon Lidster
    Contents of my.cnf [mysqld] innodb_file_per_table=1 max_allowed_packet=268435456 open_files_limit=5000 innodb_buffer_pool_size=42991616
    0
  • Archmactrix
    I suggest that you increase the buffer pool value like the Percona Configuration Wizard report suggested. But I'm not sure if it's ok to use the 1GB value. It want hurt now, but it could hurt later on if your server has use for it but not enough RAM. So I suggest that you start with a much lower value of 256 MB or 512 MB. If you add more RAM to your server than you can increase this value further. You can use the suggested value for the key buffer size of 32MB You can also use the suggested value for the table open cache of 4096 I suggest that you enable thread cache but I'm not sure if it's safe or recommendable to start with the Percona Configuration Wizard suggested value of 50. You could start with a much lower value or like 4 or 8. Watch this and see how this performs. table-open-cache=4096 innodb_buffer_pool_size=256M key_buffer_size=32M thread_cache_size=4 table-open-cache=4096
    0
  • Simon Lidster
    Archmactrix, thanks very much for this. I'll check the performance in a week.
    0

Please sign in to leave a comment.