Details
Description
Hi guys, i`m trying to get tables used by a query without parsing it, i`m using these table from information_schema: METADATA_LOCK_INFO, INNODB_% (trx_mysql_thread_id/trx_id and others columns), PROCESSLIST
the problem is: ID from PROCESSLIST don't change as fast as QUERY_ID, and a ID can represent many QUERY_ID in one second (i have connections running +1000 qps) in this case, what we should have is QUERY_ID at INNODB_% and METADATA_LOCK_INFO
could we add this column? i don`t know about innodb_locks source but at metadata_lock_info is easy to patch, this solve my problem with wrong query_id/thread_id
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions