Storage engines
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variabel | Penampungan Penyangga | Status InnoDB ]
===================================== 2026-02-15 14:47:37 0x18e4 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 42 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 11647 srv_active, 0 srv_shutdown, 157488 srv_idle srv_master_thread log flush and writes: 169135 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 19325 OS WAIT ARRAY INFO: signal count 18648 RW-shared spins 13808, rounds 405106, OS waits 13448 RW-excl spins 2253, rounds 16822, OS waits 61 RW-sx spins 14, rounds 231, OS waits 4 Spin rounds per wait: 29.34 RW-shared, 7.47 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 27355 Purge done for trx's n:o < 27355 undo n:o < 0 state: running but idle History list length 8 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 284224342368400, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284224342385072, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284224342380904, 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) -------- 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 24039 OS file reads, 133046 OS file writes, 90505 OS fsyncs 0.52 reads/s, 16384 avg bytes/read, 3.12 writes/s, 1.79 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 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) 2.52 hash searches/s, 9.14 non-hash searches/s --- LOG --- Log sequence number 16194533 Log flushed up to 16194533 Pages flushed up to 16194533 Last checkpoint at 16188161 0 pending log flushes, 0 pending chkp writes 51639 log i/o's done, 0.98 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 135216 Buffer pool size 1003 Free buffers 739 Database pages 256 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 24003, created 834, written 68303 0.52 reads/s, 0.02 creates/s, 1.86 writes/s Buffer pool hit rate 979 / 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: 256, unzip_LRU len: 0 I/O sum[123]: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 214, updated 12971, deleted 36, read 327138 0.00 inserts/s, 0.36 updates/s, 0.00 deletes/s, 2.55 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 ============================