Comments on: How to debug InnoDB lock waits http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/ Stay curious! Mon, 13 May 2013 05:55:40 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Noha http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-35268 Noha Fri, 22 Mar 2013 23:46:10 +0000 http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-35268 Hey, thank you so much for the great tool. I’m trying to troubleshoot a lock timeout and don’t seem to find the right option there is a continuous activity on the database every second which makes it hard to look through the different locks. When I press ‘L’ I can only see the trx that are waiting but none with waiting=0 so I can’t tell who’s holding the lock. The ‘a’ option asks for a query and if I try one of the queries that are locked it either timesout or goes through with no explanation. Any idea?

]]>
By: Xaprb http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-19077 Xaprb Thu, 20 Jan 2011 04:37:48 +0000 http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-19077 There is now a set of tables in the INFORMATION_SCHEMA that gives much better capabilities for that. I’ll put that onto my to-blog list.

]]>
By: Boyd http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-19076 Boyd Wed, 19 Jan 2011 22:52:39 +0000 http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-19076 Baron:

Thanks for a great article and great tool. I spread the love at every turn.

Is there a follow up coming on how to track down the lock holder and tune/eliminate the issue from that side?

]]>
By: Xaprb http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-19021 Xaprb Mon, 03 Jan 2011 15:45:32 +0000 http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-19021 Marcel, please don’t use a random blog post as a support forum. Use the innotop mailing list and bug tracker system. (You will find the solution to your problem already there.)

]]>
By: Marcel http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-19019 Marcel Mon, 03 Jan 2011 11:18:25 +0000 http://www.xaprb.com/blog/2007/09/18/how-to-debug-innodb-lock-waits/#comment-19019 Segfault

[RO] Query List (? for help) localhost, 20:07.003, 183.58 QPS, 23/1/3 con/run/cac thds, 5.0.77-log

When Load QPS Slow Se/In/Up/De% QCacheHit KCacheHit BpsIn BpsOut
Total 0.00 183.58 53 74/ 1/13/ 8 0.00% 98.28% 20.31k 61.87k

Cmd ID State User Host DB Time QuerySegmentation fault

(v 1.8)

]]>