SHOW ENGINE INNODB STATUS; +--------+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Type | Name | Status | +--------+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | InnoDB | | ===================================== 2020-11-23 12:27:53 0x7f84b46d8700 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 54 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 111365 srv_active, 0 srv_shutdown, 125878 srv_idle srv_master_thread log flush and writes: 0 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 83733 OS WAIT ARRAY INFO: signal count 53748 RW-shared spins 3050, rounds 3253, OS waits 222 RW-excl spins 22333, rounds 434039, OS waits 12021 RW-sx spins 108, rounds 3105, OS waits 100 Spin rounds per wait: 1.07 RW-shared, 19.43 RW-excl, 28.75 RW-sx ------------------------ LATEST DETECTED DEADLOCK ------------------------ 2020-11-23 12:09:19 0x7f84a2cf7700 *** (1) TRANSACTION: TRANSACTION 6119314, ACTIVE 1 sec inserting mysql tables in use 1, locked 1 LOCK WAIT 3 lock struct(s), heap size 1136, 2 row lock(s) MySQL thread id 32397, OS thread handle 140207939192576, query id 2359094 localhost root update INSERT INTO ids (table_name,field_name,nextid) VALUES ('httptest','httptestid',1) *** (1) HOLDS THE LOCK(S): RECORD LOCKS space id 13947 page no 4 n bits 96 index PRIMARY of table `zabbix5_2`.`ids` trx id 6119314 lock_mode X locks gap before rec Record lock, heap no 8 PHYSICAL RECORD: n_fields 5; compact format; info bits 0 0: len 14; hex 6974656d5f646973636f76657279; asc item_discovery;; 1: len 15; hex 6974656d646973636f766572796964; asc itemdiscoveryid;; 2: len 6; hex 0000005c508e; asc \P ;; 3: len 7; hex 01000001720cd2; asc r ;; 4: len 8; hex 0000000000000ac6; asc ;; *** (1) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 13947 page no 4 n bits 96 index PRIMARY of table `zabbix5_2`.`ids` trx id 6119314 lock_mode X locks gap before rec insert intention waiting Record lock, heap no 8 PHYSICAL RECORD: n_fields 5; compact format; info bits 0 0: len 14; hex 6974656d5f646973636f76657279; asc item_discovery;; 1: len 15; hex 6974656d646973636f766572796964; asc itemdiscoveryid;; 2: len 6; hex 0000005c508e; asc \P ;; 3: len 7; hex 01000001720cd2; asc r ;; 4: len 8; hex 0000000000000ac6; asc ;; *** (2) TRANSACTION: TRANSACTION 6119313, ACTIVE 1 sec inserting mysql tables in use 1, locked 1 LOCK WAIT 3 lock struct(s), heap size 1136, 2 row lock(s) MySQL thread id 32398, OS thread handle 140207935653632, query id 2359095 localhost root update INSERT INTO ids (table_name,field_name,nextid) VALUES ('httptest','httptestid',1) *** (2) HOLDS THE LOCK(S): RECORD LOCKS space id 13947 page no 4 n bits 96 index PRIMARY of table `zabbix5_2`.`ids` trx id 6119313 lock_mode X locks gap before rec Record lock, heap no 8 PHYSICAL RECORD: n_fields 5; compact format; info bits 0 0: len 14; hex 6974656d5f646973636f76657279; asc item_discovery;; 1: len 15; hex 6974656d646973636f766572796964; asc itemdiscoveryid;; 2: len 6; hex 0000005c508e; asc \P ;; 3: len 7; hex 01000001720cd2; asc r ;; 4: len 8; hex 0000000000000ac6; asc ;; *** (2) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 13947 page no 4 n bits 96 index PRIMARY of table `zabbix5_2`.`ids` trx id 6119313 lock_mode X locks gap before rec insert intention waiting Record lock, heap no 8 PHYSICAL RECORD: n_fields 5; compact format; info bits 0 0: len 14; hex 6974656d5f646973636f76657279; asc item_discovery;; 1: len 15; hex 6974656d646973636f766572796964; asc itemdiscoveryid;; 2: len 6; hex 0000005c508e; asc \P ;; 3: len 7; hex 01000001720cd2; asc r ;; 4: len 8; hex 0000000000000ac6; asc ;; *** WE ROLL BACK TRANSACTION (2) ------------ TRANSACTIONS ------------ Trx id counter 6121947 Purge done for trx's n:o < 6121932 undo n:o < 0 state: running but idle History list length 4 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 421683087030728, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087029872, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087029016, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087027304, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087028160, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087024736, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087026448, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087025592, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087022168, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087023880, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087023024, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087021312, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087020456, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087019600, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087018744, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087017888, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087017032, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087016176, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087015320, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087014464, not started 0 lock struct(s), heap size 1136, 0 row lock(s) ---TRANSACTION 421683087013608, not started 0 lock struct(s), heap size 1136, 0 row lock(s) -------- FILE I/O -------- I/O thread 0 state: waiting for completed aio requests (insert buffer thread) I/O thread 1 state: waiting for completed aio requests (log thread) I/O thread 2 state: waiting for completed aio requests (read thread) I/O thread 3 state: waiting for completed aio requests (read thread) I/O thread 4 state: waiting for completed aio requests (read thread) I/O thread 5 state: waiting for completed aio requests (read thread) I/O thread 6 state: waiting for completed aio requests (write thread) I/O thread 7 state: waiting for completed aio requests (write thread) I/O thread 8 state: waiting for completed aio requests (write thread) I/O thread 9 state: waiting for completed aio requests (write thread) Pending normal aio reads: [0, 0, 0, 0] , aio writes: [0, 0, 0, 0] , ibuf aio reads:, log i/o's:, sync i/o's: Pending flushes (fsync) log: 0; buffer pool: 616 13619 OS file reads, 1400467 OS file writes, 1029505 OS fsyncs 0.00 reads/s, 0 avg bytes/read, 13.67 writes/s, 10.39 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 0, seg size 2, 221 merges merged operations: insert 369, delete mark 14, delete 3 discarded operations: insert 0, delete mark 0, delete 0 Hash table size 34679, node heap has 18 buffer(s) Hash table size 34679, node heap has 25 buffer(s) Hash table size 34679, node heap has 61 buffer(s) Hash table size 34679, node heap has 50 buffer(s) Hash table size 34679, node heap has 18 buffer(s) Hash table size 34679, node heap has 41 buffer(s) Hash table size 34679, node heap has 19 buffer(s) Hash table size 34679, node heap has 23 buffer(s) 163.00 hash searches/s, 42.41 non-hash searches/s --- LOG --- Log sequence number 3250653764 Log buffer assigned up to 3250653764 Log buffer completed up to 3250653764 Log written up to 3250653764 Log flushed up to 3250653764 Added dirty pages up to 3250653764 Pages flushed up to 3250639217 Last checkpoint at 3250639217 692574 log i/o's done, 3.67 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 137363456 Dictionary memory allocated 14347388 Buffer pool size 8192 Free buffers 1024 Database pages 6913 Old database pages 2531 Modified db pages 49 Pending reads 0 Pending writes: LRU 0, flush list 0, single page 0 Pages made young 14841, not young 560263 0.00 youngs/s, 0.00 non-youngs/s Pages read 11942, created 15363, written 501645 0.00 reads/s, 0.00 creates/s, 0.00 writes/s Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000 Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s LRU len: 6913, unzip_LRU len: 0 I/O sum[334]:cur[1], unzip sum[0]:cur[0] -------------- ROW OPERATIONS -------------- 0 queries inside InnoDB, 0 queries in queue 0 read views open inside InnoDB Process ID=1575, Main thread ID=140207610345216 , state=sleeping Number of rows inserted 287038, updated 18385, deleted 96235, read 28610723 1.37 inserts/s, 0.04 updates/s, 0.00 deletes/s, 227.13 reads/s Number of system rows inserted 82010, updated 178024, deleted 73644, read 5910115 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 59.57 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================ | +--------+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec)