Anyway to Limit MySQL Query Execution time?

前端 未结 4 1920
旧时难觅i
旧时难觅i 2020-12-06 20:10

Hi I\'m having issues on my server at the minute because some of the MySQL queries are taking a very long time to run, and hogging the resources on the server.

I\'m

4条回答
  •  太阳男子
    2020-12-06 20:35

    I can recommend http://www.percona.com/doc/percona-toolkit/2.1/pt-kill.html which is designed specifically for that. From man page:

    pt-kill - Kill MySQL queries that match certain criteria.
    

提交回复
热议问题