Logging queries affected by table locks in MySQL

3.7k Views Asked by At

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

1

There are 1 best solutions below

0
On BEST ANSWER

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

Slow query log keeps record of lock time.