mysql update使用了很长时间 是不是死锁了

发布网友 发布时间:2022-04-23 04:17

我来回答

1个回答

热心网友 时间:2022-04-07 19:22

UPDATE `wt` SET `status`=8 WHERE `edate`=20150505 AND `s_number`=35483
*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 8032 page no 43 n bits 800 index `eDate` of table `db`.`wt` trx id 96651332 lock_mode X waiting
*** (2) TRANSACTION:
TRANSACTION 96651156, ACTIVE 2 sec fetching rows
mysql tables in use 3, locked 3
8 lock struct(s), heap size 1184, 384 row lock(s), undo log entries 1
MySQL thread id 43257753, OS thread handle 0x7fdd1179c700, query id 225480681 172.16.170.168 app updating
UPDATE `wt` SET `status`=8 WHERE `edate`=20150505 AND `s_number`=354
*** (2) HOLDS THE LOCK(S):

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com