show engine innodb status\G
------------
TRANSACTIONS
------------
Trx id counter 117509
Purge done for trx's n:o < 112086 undo n:o < 0 state: running but idle
History list length 224
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 0, not started
MySQL thread id 2, OS thread handle 0x7f33aab99700, query id 13 localhost root init
show engine innodb status
开始备份:
------------
TRANSACTIONS
------------
Trx id counter 119049
Purge done for trx's n:o < 118074 undo n:o < 0 state: running but idle
History list length 300
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 0, not started
MySQL thread id 2, OS thread handle 0x7fb128107700, query id 47 localhost root init
show engine innodb status
---TRANSACTION 119048, ACTIVE 18 sec fetching row
mysqldump 备份需要锁表
最新推荐文章于 2024-04-11 10:16:00 发布