Skip to main content

high usage mysql + just for one user

Comments

4 comments

  • 24x7server
    Hello, If your only one user is increasing the load on your server through MySQL then you will have to optimize that user MySQL DB on your server
    0
  • MikeDVB
    Unless you manage the script the user is using and you wrote the MySQL queries they're executing there's very likely little you can do short of perhaps making sure your MySQL is optimized for your environment. You'd probably want to get in contact with the customer and advise them of their usage and ask them to optimize - if they can't do it, there's not really any way you could do it unless you want to update/manage their script for them.
    0
  • morteza3245
    Thanks how i can see slow queries? how i can kill a database ID when i run "mysqladmin processlist;" i did use kill -9 ID but dont work for ID in "mysqladmin processlist;" Thanks
    0
  • cPanelMichael
    Hello :) It's really not a good idea to attempt to kill database processes as a method for reducing usage. Instead, you may want to consider suspending the account and restarting MySQL if you want to ensure it's disabled. The following thread is useful for obtaining information on tuning your MySQL: mysqlmymonlite.sh server stats gathering tool for cPanel Server Thank you.
    0

Please sign in to leave a comment.