Skip navigation links

MySQL Forums :: InnoDB :: Query id on SHOW INNODB STATUS


Advanced Search

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 1855 Kin JOY 04/05/2012 03:47AM
Re: Query id on SHOW INNODB STATUS 755 Kin JOY 04/05/2012 07:20AM
Re: Query id on SHOW INNODB STATUS 782 Rick James 04/06/2012 09:05PM
Re: Query id on SHOW INNODB STATUS 914 Kin JOY 04/07/2012 04:22AM
Re: Query id on SHOW INNODB STATUS 771 Rick James 04/08/2012 08:18AM
Re: Query id on SHOW INNODB STATUS 655 Kin JOY 04/08/2012 11:38AM
Re: Query id on SHOW INNODB STATUS 1052 Rick James 04/09/2012 07:51AM
Re: Query id on SHOW INNODB STATUS 746 Kin JOY 04/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.