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
4073
April 05, 2012 03:47AM
1567
April 05, 2012 07:20AM
1549
April 06, 2012 09:05PM
1918
April 07, 2012 04:22AM
1437
April 08, 2012 08:18AM
1212
April 08, 2012 11:38AM
1599
April 09, 2012 07:51AM
1248
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.