不重启mysql,查询执行时间超长的SQLID,kill

show full processlist;

select concat('KILL ',id,';') from information_schema.processlist where command='Query';

相关文章:

  • 2021-08-31
  • 2022-01-08
  • 2021-12-18
  • 2021-11-25
  • 2021-10-25
  • 2022-12-23
  • 2021-10-31
  • 2021-10-21
猜你喜欢
  • 2021-10-02
  • 2021-10-11
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2021-07-30
  • 2021-09-26
相关资源
相似解决方案