trx_query: UPDATE user SET name="lock_waits" WHERE ID = 2 trx_operation_state: starting index read trx_tables_in_use: 1 trx_tables_locked: 1 trx_lock_structs: 2 trx_lock_memory_bytes: 376 trx_rows_locked: 1 trx_rows_modified: 0 trx_concurrency_tickets: 0 trx_isolation_level: REPEA...
trx_operation_state:事务当前操作状态。 trx_tables_in_use:当前事务执行的SQL中使用的表的个数。 trx_tables_locked:当前执行SQL的行锁数量。 trx_lock_structs:事务保留的锁数量。 trx_isolation_level:当前事务的隔离级别。 # sys.innodb_lock_waits 视图也可看到事务等待状况,且给出了杀链接的SQLmysql>select...
TRX_OPERATION_STATE:事务当前的操作状态,没有则为空。TRX_TABLES_IN_USE:事务在处理当前sql语句使用innodb引擎表的数量。TRX_TABLES_LOCKED:当前sql语句有行锁的innodb表的数量。(因为只是行锁,不是表锁,表仍然可以被多个事务读和写)TRX_LOCK_STRUCTS:事务保留锁的数量。TRX_LOCK_MEMORY_BYTES:在内存中事务索结构...
trx_mysql_thread_id:事务线程 ID,可以和 PROCESSLIST 表 JOIN。 trx_query:事务正在执行的 SQL 语句。 trx_operation_state:事务当前操作状态。 trx_tables_in_use:当前事务执行的 SQL 中使用的表的个数。 trx_tables_locked:当前执行 SQL 的行锁数量。 trx_lock_structs:事务保留的锁数量。 trx_isolation_le...
trx_operation_state 事务内部操作的状态。 trx_tables_in_use 事务使用的表的数量。 trx_tables_locked 事务锁定的表的数量。 trx_lock_structs 事务内部使用的锁结构数量。 trx_lock_memory_bytes 用于事务锁定的内存字节数。 trx_rows_locked 事务锁定的行数。
| trx_id | trx_state | trx_started | trx_requested_lock_id | trx_wait_started | trx_weight | trx_mysql_thread_id | trx_query | trx_operation_state | trx_tables_in_use | trx_tables_locked | trx_lock_structs | trx_lock_memory_bytes | trx_rows_locked | trx_rows_modified | trx...
trx_operation_state:事务当前操作状态。 trx_tables_in_use:当前事务执行的 SQL 中使用的表的个数。 trx_tables_locked:当前执行 SQL 的行锁数量。 trx_lock_structs:事务保留的锁数量。 trx_lock_memory_bytes:事务锁住的内存大小,单位为 BYTES。
trx_requested_lock_id: NULL trx_wait_started: NULL trx_weight: 15905 trx_mysql_thread_id: 10 /在process 里面的id值/ trx_query: select count(*) from john for update; /当前执行的语句/ trx_operation_state: fetching rows trx_tables_in_use: 1 ...
trx_id: 84325 trx_state: RUNNING trx_query: insert into baguait4 select * from testgp trx_operation_state: sleeping before entering InnoDB(这里) trx_concurrency_tickets: 0 *** 2. row *** trx_id: 84319 trx_state: RUNNING trx_query: insert into baguait3 select...
trx_mysql_thread_id: 9930577 trx_query: delete from dltask where id=1 trx_operation_state: starting index read trx_tables_in_use: 1 trx_tables_locked: 1 trx_lock_structs: 2 trx_lock_memory_bytes: 376 trx_rows_locked: 1 trx_rows_modified: 0 ...