Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variables | Buffer Pool | InnoDB Status ]
===================================== 2025-07-14 08:43:53 0x2310 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 42 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 6116 srv_active, 0 srv_shutdown, 66927 srv_idle srv_master_thread log flush and writes: 73043 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 6285 OS WAIT ARRAY INFO: signal count 8545 RW-shared spins 20913, rounds 214144, OS waits 4146 RW-excl spins 4548, rounds 44666, OS waits 1085 RW-sx spins 50, rounds 512, OS waits 12 Spin rounds per wait: 10.24 RW-shared, 9.82 RW-excl, 10.24 RW-sx ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 2025-07-13 12:54:03 0x2438 Transaction: TRANSACTION 4448117, ACTIVE 0 sec inserting mysql tables in use 1, locked 1 3 lock struct(s), heap size 1128, 1 row lock(s) MySQL thread id 8, OS thread handle 9272, query id 32529 DESKTOP-3HIC49Q 192.168.10.121 khanza Update insert into opname values('TAB0005','1174.0','2025-07-13','0.0','145','0','0','145.0','170230.0','so','1','','') Foreign key constraint fails for table `khanza_pelita`.`opname`: , CONSTRAINT `opname_ibfk_1` FOREIGN KEY (`kode_brng`) REFERENCES `databarang` (`kode_brng`) ON DELETE CASCADE ON UPDATE CASCADE in parent table, in index PRIMARY tuple: DATA TUPLE: 15 fields; 0: len 7; hex 54414230303035; asc TAB0005;; 1: len 3; hex 8fd2ed; asc ;; 2: len 5; hex 3120202020; asc 1 ;; 3: len 0; hex ; asc ;; 4: len 0; hex ; asc ;; 5: len 6; hex 00000043df75; asc C u;; 6: len 7; hex a5000002f32846; asc (F;; 7: len 8; hex 0000000000589240; asc X @;; 8: len 8; hex 0000000000000000; asc ;; 9: len 8; hex 0000000000206240; asc b@;; 10: len 8; hex 0000000000000000; asc ;; 11: len 8; hex 0000000000000000; asc ;; 12: len 8; hex 0000000000206240; asc b@;; 13: len 8; hex 00000000b0c70441; asc A;; 14: len 2; hex 736f; asc so;; But in parent table `khanza_pelita`.`databarang`, in index PRIMARY, the closest match we can find is record: PHYSICAL RECORD: n_fields 28; compact format; info bits 0 0: len 7; hex 54414230303036; asc TAB0006;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 30; hex 414b4954412054414220284174746170756c676974652026205065637469; asc AKITA TAB (Attapulgite & Pecti; (total 32 bytes); 4: len 4; hex 424f5820; asc BOX ;; 5: len 4; hex 54414220; asc TAB ;; 6: len 1; hex 2d; asc -;; 7: len 8; hex 0000000000c07240; asc r@;; 8: len 8; hex 0000000000d07440; asc t@;; 9: len 8; hex 0000000000c08240; asc @;; 10: len 8; hex 0000000000c08240; asc @;; 11: len 8; hex 0000000000c08240; asc @;; 12: len 8; hex 0000000000c08240; asc @;; 13: len 8; hex 0000000000c08240; asc @;; 14: len 8; hex 0000000000c08240; asc @;; 15: len 8; hex 0000000000c08240; asc @;; 16: len 8; hex 0000000000c08240; asc @;; 17: len 8; hex 0000000000c08240; asc @;; 18: len 8; hex 0000000000007940; asc y@;; 19: len 8; hex 0000000000000000; asc ;; 20: len 4; hex 4a423031; asc JB01;; 21: len 8; hex 000000000000f03f; asc ?;; 22: len 8; hex 000000000000f03f; asc ?;; 23: len 3; hex 8fd59e; asc ;; 24: len 1; hex 01; asc ;; 25: len 5; hex 4930303132; asc I0012;; 26: len 4; hex 4b303620; asc K06 ;; 27: len 4; hex 47303420; asc G04 ;; ------------ TRANSACTIONS ------------ Trx id counter 4454667 Purge done for trx's n:o < 4454667 undo n:o < 0 state: running but idle History list length 0 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 283593925302456, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925298280, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925294104, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925289928, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925252344, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925285752, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925281576, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925277400, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925273224, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925193880, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925269048, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925264872, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925260696, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925235640, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925202232, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925239816, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925227288, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925231464, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925223112, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925218936, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925210584, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925198056, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925256520, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925248168, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925243992, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925214760, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283593925206408, 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 902780 OS file reads, 58353 OS file writes, 24013 OS fsyncs 30.93 reads/s, 16384 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 194, seg size 196, 13722 merges merged operations: insert 24895, delete mark 877, delete 350 discarded operations: insert 0, delete mark 0, delete 0 Hash table size 4441, node heap has 39 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 24 buffer(s) 5991.90 hash searches/s, 3910.64 non-hash searches/s --- LOG --- Log sequence number 4005936175 Log flushed up to 4005936175 Pages flushed up to 4005936175 Last checkpoint at 4005936166 0 pending log flushes, 0 pending chkp writes 12891 log i/o's done, 0.00 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 2616680 Buffer pool size 1003 Free buffers 326 Database pages 608 Old database pages 205 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 204505, not young 57081806 21.02 youngs/s, 1242.45 non-youngs/s Pages read 901729, created 530, written 42461 30.93 reads/s, 0.00 creates/s, 0.00 writes/s Buffer pool hit rate 998 / 1000, young-making rate 0 / 1000 not 44 / 1000 Pages read ahead 4.24/s, evicted without access 0.00/s, Random read ahead 0.00/s LRU len: 608, unzip_LRU len: 0 I/O sum[1133]:cur[2], unzip sum[0]:cur[0] -------------- ROW OPERATIONS -------------- 0 queries inside InnoDB, 0 queries in queue 0 read views open inside InnoDB Process ID=4580, Main thread ID=10732, state: sleeping Number of rows inserted 17310, updated 1481, deleted 89, read 194441878 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 13716.79 reads/s Number of system rows inserted 0, updated 0, deleted 0, read 0 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================