Storage engines
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variabel | Penampungan Penyangga | Status InnoDB ]
===================================== 2026-02-15 13:39:52 0x1660 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 38 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 11593 srv_active, 0 srv_shutdown, 153479 srv_idle srv_master_thread log flush and writes: 165072 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 19234 OS WAIT ARRAY INFO: signal count 18558 RW-shared spins 13750, rounds 403494, OS waits 13395 RW-excl spins 2200, rounds 16345, OS waits 59 RW-sx spins 14, rounds 231, OS waits 4 Spin rounds per wait: 29.35 RW-shared, 7.43 RW-excl, 16.50 RW-sx ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 2026-02-13 23:12:29 0x1adc Transaction: TRANSACTION 592, 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 675, OS thread handle 6876, query id 24863 localhost 127.0.0.1 root Updating DELETE FROM `tickets` WHERE `tickets`.`id` = 1 Foreign key constraint fails for table `mavticketing`.`approvals`: , CONSTRAINT `approvals_ibfk_1` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) Trying to delete or update in parent table, in index PRIMARY tuple: DATA TUPLE: 14 fields; 0: len 8; hex 8000000000000001; asc ;; 1: len 6; hex 000000000250; asc P;; 2: len 7; hex 6c000001990292; asc l ;; 3: len 15; hex 4c4a4d415632303236303230303031; asc LJMAV2026020001;; 4: len 7; hex 47696c62657274; asc Gilbert;; 5: len 13; hex 36323831323837333636343731; asc 6281287366471;; 6: len 4; hex 80000004; asc ;; 7: len 4; hex 74657374; asc test;; 8: len 4; hex 74657374; asc test;; 9: len 1; hex 02; asc ;; 10: len 1; hex 03; asc ;; 11: SQL NULL; 12: len 5; hex 99b91b6a89; asc j ;; 13: len 5; hex 99b91b6b6d; asc km;; But in child table `mavticketing`.`approvals`, in index ticket_id, there is a record: PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 8; hex 8000000000000001; asc ;; 1: len 8; hex 8000000000000001; asc ;; ------------ TRANSACTIONS ------------ Trx id counter 27221 Purge done for trx's n:o < 27221 undo n:o < 0 state: running but idle History list length 1 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 284224342376736, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284224342372568, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284224342368400, 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 23883 OS file reads, 132410 OS file writes, 90097 OS fsyncs 0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 0, seg size 2, 0 merges merged operations: insert 0, delete mark 0, delete 0 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 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) 0.26 hash searches/s, 0.16 non-hash searches/s --- LOG --- Log sequence number 16095920 Log flushed up to 16095920 Pages flushed up to 16095920 Last checkpoint at 16095911 0 pending log flushes, 0 pending chkp writes 51413 log i/o's done, 0.00 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 135216 Buffer pool size 1003 Free buffers 728 Database pages 268 Old database pages 0 Modified db pages 0 Percent of dirty pages(LRU & free pages): 0.000 Max dirty pages percent: 75.000 Pending reads 0 Pending writes: LRU 0, flush list 0, single page 0 Pages made young 0, not young 0 0.00 youngs/s, 0.00 non-youngs/s Pages read 23847, created 826, written 67956 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: 268, unzip_LRU len: 0 I/O sum[0]:cur[0], unzip sum[0]:cur[0] -------------- ROW OPERATIONS -------------- 0 queries inside InnoDB, 0 queries in queue 0 read views open inside InnoDB Process ID=4108, Main thread ID=996, state: sleeping Number of rows inserted 211, updated 12908, deleted 36, read 324655 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.26 reads/s Number of system rows inserted 0, updated 0, deleted 0, read 23420 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================