MySQL 锁图
我们正在努力改善查询的相互依赖性,并且发现偶尔会出现反复出现的死锁。有谁知道有一个程序可以从 SHOW ENGINE INNODB STATUS 的输出生成锁定图?
We're working on improving our query interdependencies, and have found that occasionally there will be deadlocks that keep recurring. Does anyone know of a program that can generate a lock graph from the output of SHOW ENGINE INNODB STATUS?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用来自
Percona
的用于 Cacti 或 Nagios 的MySQL 监控插件
。它记录SHOW INNODB STATUS
结果,并定期将它们制作为您想要的(也许)图表。仙人掌:http://www.percona.com/doc /percona-monitoring-plugins/cacti/mysql-templates.html
Nagios:http://www.percona.com/doc /percona-monitoring-plugins/nagios/pmp-check-mysql-innodb.html
Use
MySQL Monitoring Plugin
for Cacti or Nagios fromPercona
. It recordsSHOW INNODB STATUS
results and makes them as graphs periodically that (maybe) you want.Cacti : http://www.percona.com/doc/percona-monitoring-plugins/cacti/mysql-templates.html
Nagios : http://www.percona.com/doc/percona-monitoring-plugins/nagios/pmp-check-mysql-innodb.html