- =====================================
- 2023-10-12 13:49:17 0x7fea5ae87700 INNODB MONITOR OUTPUT
- =====================================
- Per second averages calculated from the last 61 seconds
- -----------------
- BACKGROUND THREAD
- -----------------
- srv_master_thread loops: 3123131 srv_active, 0 srv_shutdown, 7715544 srv_idle
- srv_master_thread log flush and writes: 10838675
- ----------
- SEMAPHORES
- ----------
- OS WAIT ARRAY INFO: reservation count 3905404
- OS WAIT ARRAY INFO: signal count 27617015
- RW-shared spins 0, rounds 21456656, OS waits 2772950
- RW-excl spins 0, rounds 41132727, OS waits 487320
- RW-sx spins 227170, rounds 4363782, OS waits 66152
- Spin rounds per wait: 21456656.00 RW-shared, 41132727.00 RW-excl, 19.21 RW-sx
- ------------------------
- LATEST DETECTED DEADLOCK
- ------------------------
- 2023-10-12 09:40:50 0x7fecedb1e700
- *** (1) TRANSACTION:
- TRANSACTION 404898333, ACTIVE 0 sec inserting
- mysql tables in use 1, locked 1
- LOCK WAIT 2 lock struct(s), heap size 1136, 1 row lock(s), undo log entries 1
- MySQL thread id 11375251, OS thread handle 140644580488960, query id 1031478425 10.128.0.160 emax_base update
- INSERT INTO emax_user_tag ( user_id,
- id_card_no,
- tag_name,
- create_time,
- update_time ) VALUES ( 1712282059297107970,
- 'A978B69811B82F4B08F929D26B360F2D980CDCB5F419F1DD46527FB90BE1E5A9',
- '市场推广',
- '2023-10-12 09:40:50.481',
- '2023-10-12 09:40:50.481' )
- *** (1) WAITING FOR THIS LOCK TO BE GRANTED:
- RECORD LOCKS space id 1155 page no 65295 n bits 312 index uniq_user_id_tag_name of table `emax_base`.`emax_user_tag` trx id 404898333 lock mode S waiting
- Record lock, heap no 242 PHYSICAL RECORD: n_fields 3; compact format; info bits 0
- 0: len 8; hex 97c33f75fbadb002; asc ?u ;;
- 1: len 12; hex e5b882e59cbae68ea8e5b9bf; asc ;;
- 2: len 8; hex 000000000044c0da; asc D ;;
- *** (2) TRANSACTION:
- TRANSACTION 404898332, 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 2
- MySQL thread id 11375224, OS thread handle 140655576868608, query id 1031478426 10.128.0.160 emax_base update
- INSERT INTO emax_user_tag ( user_id,
- id_card_no,
- tag_name,
- create_time,
- update_time ) VALUES ( 1712282059297107970,
- 'A978B69811B82F4B08F929D26B360F2D980CDCB5F419F1DD46527FB90BE1E5A9',
- '信息技术服务',
- '2023-10-12 09:40:50.481',
- '2023-10-12 09:40:50.481' )
- *** (2) HOLDS THE LOCK(S):
- RECORD LOCKS space id 1155 page no 65295 n bits 312 index uniq_user_id_tag_name of table `emax_base`.`emax_user_tag` trx id 404898332 lock_mode X locks rec but not gap
- Record lock, heap no 242 PHYSICAL RECORD: n_fields 3; compact format; info bits 0
- 0: len 8; hex 97c33f75fbadb002; asc ?u ;;
- 1: len 12; hex e5b882e59cbae68ea8e5b9bf; asc ;;
- 2: len 8; hex 000000000044c0da; asc D ;;
- *** (2) WAITING FOR THIS LOCK TO BE GRANTED:
- RECORD LOCKS space id 1155 page no 65295 n bits 312 index uniq_user_id_tag_name of table `emax_base`.`emax_user_tag` trx id 404898332 lock_mode X locks gap before rec insert intention waiting
- Record lock, heap no 242 PHYSICAL RECORD: n_fields 3; compact format; info bits 0
- 0: len 8; hex 97c33f75fbadb002; asc ?u ;;
- 1: len 12; hex e5b882e59cbae68ea8e5b9bf; asc ;;
- 2: len 8; hex 000000000044c0da; asc D ;;
- *** WE ROLL BACK TRANSACTION (1)
- <br>此处省略掉若干非关键信息行
- ----------------------------
- END OF INNODB MONITOR OUTPUT
- ============================
复制代码 |