MySQL Forums
Forum List  »  InnoDB

Query id on SHOW INNODB STATUS
Posted by: Kin JOY
Date: April 05, 2012 03:47AM

Hello,

I'm facing many strange locks and I would like to know how to track the "query id" shown in the show innodb status :

------------------
---TRANSACTION 0 574862335, ACTIVE 355 sec, process no 18032, OS thread id 1080617296
61 lock struct(s), heap size 6752, 41 row lock(s), undo log entries 83
MySQL thread id 652555, query id 47627485 xx.xx.xx.xx user_foo
Trx read view will not see trx with id >= 0 574862336, sees < 0 574862336

I have logs per minute with innotop, show processlist, slow log and the general_log and I'm still not able to find this query id : 47627485 in any log... The only thing I have is the tread Id in the general log (652555) but it is responsible for many requests...

How can I log the query id ?

Thanks a lot.

Kin

Options: ReplyQuote


Subject
Views
Written By
Posted
Query id on SHOW INNODB STATUS
9542
April 05, 2012 03:47AM
3029
April 05, 2012 07:20AM
2787
April 06, 2012 09:05PM
3661
April 07, 2012 04:22AM
2859
April 08, 2012 08:18AM
2258
April 08, 2012 11:38AM
2734
April 09, 2012 07:51AM
2368
April 10, 2012 06:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.