开发者

Logging queries affected by table locks in MySQL

开发者 https://www.devze.com 2023-02-12 14:02 出处:网络
Is it possible to create a log of queries that are slowed down by MyISAM table locks? I\'m trying to convince my boss that we need to convert to InnoDB to improve site performance, but need to know wh

Is it possible to create a log of queries that are slowed down by MyISAM table locks? I'm trying to convince my boss that we need to convert to InnoDB to improve site performance, but need to know what sort of 开发者_如何学编程gains would be made.

Thanks


Never mind, I found http://dev.mysql.com/doc/refman/5.1/en/mysqldumpslow.html

Slow query log keeps record of lock time.

0

精彩评论

暂无评论...
验证码 换一张
取 消