mysql死锁问题收集

2019-01-27 10:45:20 0x7f47600bd700
*** (1) TRANSACTION:
TRANSACTION 1164073413, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
LOCK WAIT 3 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 1
MySQL thread id 4032513, OS thread handle 139944541177600, query id 660911212 10.81.160.19 bi_rw_lsc update
insert into tqdw.dw ()
*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 4931 page no 25167 n bits 1000 index uk_orderid_ordergoodsid of table `tqdw`.`dw_yx_order_union_goods` trx id 1164073413 lock_mode X insert intention waiting
Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0
 0: len 8; hex 73757072656d756d; asc supremum;;

*** (2) TRANSACTION:
TRANSACTION 1164073415, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
3 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 1
MySQL thread id 4032534, OS thread handle 139944862869248, query id 660911230 10.81.160.19 bi_rw_lsc update
insert into tqdw.dw ()
*** (2) HOLDS THE LOCK(S):
RECORD LOCKS space id 4931 page no 25167 n bits 1000 index uk_orderid_ordergoodsid of table `tqdw`.`dw_yx_order_union_goods` trx id 1164073415 lock_mode X
Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0
 0: len 8; hex 73757072656d756d; asc supremum;;

*** (2) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 4931 page no 25167 n bits 1000 index uk_orderid_ordergoodsid of table `tqdw`.`dw_yx_order_union_goods` trx id 1164073415 lock_mode X insert intention waiting
Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0
 0: len 8; hex 73757072656d756d; asc supremum;;

*** WE ROLL BACK TRANSACTION (2)

你可能感兴趣的:(mysql)