Skip to main content

Mysql High Usage

Comments

3 comments

  • vanessa
    If MySQL is using a lot of resources, you need to start my looking at what's going on in there. A lot of people think there's some magic switch in my.cnf that can fix this, but that's simply not how it works, and no one here can give you anything but a guess on what settings they thing are best. Download mysqltuner.pl, run it, and learn to troubleshoot or hire something that can.
    0
  • cPanelMichael
    Hello :) It's also important to let MySQL run as long as possible (preferably 24 hours) before running the tuner to get the most accurate results. Thank you.
    0
  • kdean
    You do seem to have a misconfiguration of your innodb_buffer_pool_instances which is looking for a value of 1 to 64, but you have it set to 16G which is causing it to set to it's highest value of 64 which is dividing your buffer pool into 64 256 MB max memory instances. The default is 8 which would divide the buffer pool into 8 2G slices. I wouldn't go higher than 16 since MySQL recommends at least 1 GB per instance. You can also try lower values all the way down to 1. You just need to gadge the performance differences on your system. MySQL :: MySQL 5.6 Reference Manual :: 14.11 InnoDB Startup Options and System Variables
    0

Please sign in to leave a comment.