MYSQL innodb_deadlock_detect

举报
snowofsummer 发表于 2021/03/02 09:32:13 2021/03/02
【摘要】 ------------------------LATEST DETECTED DEADLOCK------------------------2014-05-27 18:29:00 7f958ae39700*** (1) TRANSACTION:TRANSACTION 603580589, ACTIVE 0 sec insertingmysql tables in use 1, locke...
------------------------
LATEST DETECTED DEADLOCK
------------------------
2014-05-27 18:29:00 7f958ae39700
*** (1) TRANSACTION:
TRANSACTION 603580589, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
LOCK WAIT 3 lock struct(s), heap size 376, 2 row lock(s)
MySQL thread id 174548012, OS thread handle 0x7f9553d75700, query id 871733995 192.168.30.5 golo update
INSERT INTO `trip_record_tmp_b`(`uid`,`s_lat`,`s_lon`,`e_lat`,`e_lon`,`serial_no`,`sdate`,`edate`,`data`,`travel_id`,`issynchro`) VALUES('84bc2f352552a5241a600f661432bc2e','','','','','967790023150','2014-05-27 17:55:27','2014-05-27 18:15:59','null','3caae5f2-4c0f-461f-a7be-3fe9070732d6','1')
*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 15172 page no 237737 n bits 80 index `PRIMARY` of table `db_application`.`trip_record_tmp_b` trx id 603580589 lock_mode X locks rec but not gap waiting
Record lock, heap no 8 PHYSICAL RECORD: n_fields 13; compact format; info bits 32
 0: len 30; hex 383462633266333532353532613532343161363030663636313433326263; asc 84bc2f352552a5241a600f661432bc; (total 32 bytes);
 1: len 6; hex 000023f9e8a7; asc   #   ;;
 2: len 7; hex 46000028081c52; asc F  (  R;;
 3: len 4; hex 6e756c6c; asc null;;
 4: len 30; hex 33636161653566322d346330662d343631662d613762652d336665393037; asc 3caae5f2-4c0f-461f-a7be-3fe907; (total 36 bytes);
 5: len 0; hex ; asc ;;
 6: len 0; hex ; asc ;;
 7: len 0; hex ; asc ;;
 8: len 0; hex ; asc ;;
 9: len 5; hex 9992f71ddb; asc      ;;
 10: len 5; hex 9992f723fb; asc    # ;;
 11: len 12; hex 393637373930303233313530; asc 967790023150;;
 12: len 4; hex 00000001; asc     ;;

*** (2) TRANSACTION:
TRANSACTION 603580587, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
3 lock struct(s), heap size 376, 2 row lock(s)
MySQL thread id 174940322, OS thread handle 0x7f958ae39700, query id 871733992 192.168.30.5 golo update
INSERT INTO `trip_record_tmp_b`(`uid`,`s_lat`,`s_lon`,`e_lat`,`e_lon`,`serial_no`,`sdate`,`edate`,`data`,`travel_id`,`issynchro`) VALUES('84bc2f352552a5241a600f661432bc2e','22.563603','113.89169','22.584672','113.86702','967790023150','2014-05-27 17:55:27','2014-05-27 18:15:59','[{\"Latitude\":\"22.563603\",\"Longitude\":\"113.89169\"},{\"Latitude\":\"22.563213\",\"Longitude\":\"113.89181\"},{\"Latitude\":\"22.563020\",\"Longitude\":\"113.89158\"},{\"Latitude\":\"22.563082\",\"Longitude\":\"113.89128\"},{\"Latitude\":\"22.563298\",\"Longitude\":\"113.89098\"},{\"Latitude\":\"22.563590\",\"Longitude\":\"113.89104\"},{\"Latitude\":\"22.563842\",\"Longitude\":\"113.89083\"},{\"Latitude\":\"22.564328\",\"Longitude\":\"113.89016\"},{\"Latitude\":\"22.564692\",\"Longitude\":\"113.88978\"},{\"Latitude\":\"22.565124\",\"Longitude\":\"113.88929\"},{\"Latitude\":\"22.565547\",\"Longitude\":\"113.88887\"},{\"Latitude
*** (2) HOLDS THE LOCK(S):
RECORD LOCKS space id 15172 page no 237737 n bits 80 index `PRIMARY` of table `db_application`.`trip_record_tmp_b` trx id 603580587 lock mode S locks rec but not gap
Record lock, heap no 8 PHYSICAL RECORD: n_fields 13; compact format; info bits 32
 0: len 30; hex 383462633266333532353532613532343161363030663636313433326263; asc 84bc2f352552a5241a600f661432bc; (total 32 bytes);
 1: len 6; hex 000023f9e8a7; asc   #   ;;
 2: len 7; hex 46000028081c52; asc F  (  R;;
 3: len 4; hex 6e756c6c; asc null;;
 4: len 30; hex 33636161653566322d346330662d343631662d613762652d336665393037; asc 3caae5f2-4c0f-461f-a7be-3fe907; (total 36 bytes);
 5: len 0; hex ; asc ;;
 6: len 0; hex ; asc ;;
 7: len 0; hex ; asc ;;
 8: len 0; hex ; asc ;;
 9: len 5; hex 9992f71ddb; asc      ;;
 10: len 5; hex 9992f723fb; asc    # ;;
 11: len 12; hex 393637373930303233313530; asc 967790023150;;
 12: len 4; hex 00000001; asc     ;;

*** (2) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 15172 page no 237737 n bits 80 index `PRIMARY` of table `db_application`.`trip_record_tmp_b` trx id 603580587 lock_mode X locks rec but not gap waiting
Record lock, heap no 8 PHYSICAL RECORD: n_fields 13; compact format; info bits 32
 0: len 30; hex 383462633266333532353532613532343161363030663636313433326263; asc 84bc2f352552a5241a600f661432bc; (total 32 bytes);
 1: len 6; hex 000023f9e8a7; asc   #   ;;
 2: len 7; hex 46000028081c52; asc F  (  R;;
 3: len 4; hex 6e756c6c; asc null;;
 4: len 30; hex 33636161653566322d346330662d343631662d613762652d336665393037; asc 3caae5f2-4c0f-461f-a7be-3fe907; (total 36 bytes);
 5: len 0; hex ; asc ;;
 6: len 0; hex ; asc ;;
 7: len 0; hex ; asc ;;
 8: len 0; hex ; asc ;;
 9: len 5; hex 9992f71ddb; asc      ;;
 10: len 5; hex 9992f723fb; asc    # ;;
 11: len 12; hex 393637373930303233313530; asc 967790023150;;
 12: len 4; hex 00000001; asc     ;;

*** WE ROLL BACK TRANSACTION (2)
【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。