Storage engines
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variables | Buffer Pool | InnoDB Status ]
===================================== 2026-06-25 20:59:11 0x295c INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 43 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 1018972 srv_active, 0 srv_shutdown, 234969 srv_idle srv_master_thread log flush and writes: 1253941 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 95982098 OS WAIT ARRAY INFO: signal count 14531888 RW-shared spins 274109, rounds 7613830, OS waits 234573 RW-excl spins 22817, rounds 525976, OS waits 15046 RW-sx spins 409, rounds 7394, OS waits 162 Spin rounds per wait: 27.78 RW-shared, 23.05 RW-excl, 18.08 RW-sx ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 2026-06-17 04:45:37 0x3270 Transaction: TRANSACTION 17388149, ACTIVE 0 sec updating or deleting mysql tables in use 1, locked 1 4 lock struct(s), heap size 1128, 2 row lock(s), undo log entries 1 MySQL thread id 3317039, OS thread handle 12912, query id 288153452 122.179.243.215 AccessAdmin Updating UPDATE `marketing_ops_testing`.`department` SET `DeptCode` = 'IT02' WHERE (`DeptCode` = '1') Foreign key constraint fails for table `marketing_ops_testing`.`resourceemployment`: , CONSTRAINT `fk_DeptCode` FOREIGN KEY (`DeptCode`) REFERENCES `department` (`DeptCode`) Trying to delete or update in parent table, in index PRIMARY tuple: DATA TUPLE: 4 fields; 0: len 1; hex 31; asc 1;; 1: len 6; hex 000001095275; asc Ru;; 2: len 7; hex 17000001e7205d; asc ];; 3: len 20; hex 536f66747761726520446576656c6f706d656e74; asc Software Development;; But in child table `marketing_ops_testing`.`resourceemployment`, in index fk_DeptCode, there is a record: PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 1; hex 31; asc 1;; 1: len 6; hex 0000000304a4; asc ;; ------------ TRANSACTIONS ------------ Trx id counter 20543697 Purge done for trx's n:o < 20543697 undo n:o < 0 state: running but idle History list length 1 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 283891465908512, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283891465900176, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283891465912680, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283891465904344, not started 0 lock struct(s), heap size 1128, 0 row lock(s) -------- FILE I/O -------- I/O thread 0 state: native aio handle (insert buffer thread) I/O thread 1 state: native aio handle (log thread) I/O thread 2 state: native aio handle (read thread) I/O thread 3 state: native aio handle (read thread) I/O thread 4 state: native aio handle (read thread) I/O thread 5 state: native aio handle (read thread) I/O thread 6 state: native aio handle (write thread) I/O thread 7 state: native aio handle (write thread) I/O thread 8 state: native aio handle (write thread) I/O thread 9 state: native aio handle (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: 0 35829349 OS file reads, 14386314 OS file writes, 8952942 OS fsyncs 46.46 reads/s, 16384 avg bytes/read, 13.93 writes/s, 9.21 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 12, seg size 14, 209 merges merged operations: insert 116, delete mark 1289, delete 358 discarded operations: insert 0, delete mark 0, delete 0 Hash table size 4441, node heap has 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) Hash table size 4441, node heap has 0 buffer(s) Hash table size 4441, node heap has 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) 230.60 hash searches/s, 99.88 non-hash searches/s --- LOG --- Log sequence number 13106703297 Log flushed up to 13106703277 Pages flushed up to 13106699601 Last checkpoint at 13106699097 0 pending log flushes, 0 pending chkp writes 4378210 log i/o's done, 4.28 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 678584 Buffer pool size 1003 Free buffers 728 Database pages 268 Old database pages 0 Modified db pages 9 Percent of dirty pages(LRU & free pages): 0.903 Max dirty pages percent: 75.000 Pending reads 0 Pending writes: LRU 0, flush list 0, single page 0 Pages made young 23124, not young 3127999 0.00 youngs/s, 0.00 non-youngs/s Pages read 35829063, created 141062, written 7987682 46.46 reads/s, 0.16 creates/s, 7.40 writes/s Buffer pool hit rate 988 / 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: 268, unzip_LRU len: 0 I/O sum[2502]:cur[69], unzip sum[0]:cur[0] -------------- ROW OPERATIONS -------------- 0 queries inside InnoDB, 0 queries in queue 0 read views open inside InnoDB Process ID=4584, Main thread ID=5176, state: sleeping Number of rows inserted 1320, updated 2693741, deleted 2198, read 17698563041 0.00 inserts/s, 2.77 updates/s, 0.00 deletes/s, 27076.79 reads/s Number of system rows inserted 0, updated 0, deleted 0, read 343107 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================