- 論壇徽章:
- 0
|
本帖最后由 cenalulu 于 2013-04-09 09:47 編輯
今晚在觀察row locks的時候發(fā)現(xiàn)一個問題
root@mysqlslap 12:16:22>set autocommit=0;update t1 set charcol1='2tes2t' ;
Query OK, 0 rows affected (0.01 sec)
Query OK, 5601 rows affected (0.19 sec)
Rows matched: 5601 Changed: 5601 Warnings: 0
觀察show engine innodb status\G
---TRANSACTION 50EF6, ACTIVE 25 sec
19 lock struct(s), heap size 3112, 5616 row lock(s), undo log entries 5601
MySQL thread id 30, OS thread handle 0x40975940, query id 40005873 localhost root
發(fā)現(xiàn)InnoDB 內(nèi)部出現(xiàn)了 5616 row lock(s)
why? |
|