Storage engines
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variables | Buffer Pool | InnoDB Status ]
=====================================
2026-07-30 14:14:26 0x4218 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 15 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 132526 srv_active, 0 srv_shutdown, 2100326 srv_idle
srv_master_thread log flush and writes: 2232852
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 263481
OS WAIT ARRAY INFO: signal count 291883
RW-shared spins 936457, rounds 10852205, OS waits 175803
RW-excl spins 129927, rounds 1151383, OS waits 28216
RW-sx spins 906, rounds 9457, OS waits 222
Spin rounds per wait: 11.59 RW-shared, 8.86 RW-excl, 10.44 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2026-07-30 11:51:51 0x23f4 Transaction:
TRANSACTION 1187657, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
6 lock struct(s), heap size 1128, 2 row lock(s), undo log entries 2
MySQL thread id 799334, OS thread handle 9204, query id 25710243 DESKTOP-GIRCQN8 192.168.10.88 root Update
insert into penjualan values('PJ20260730002','2026-07-30','01102024','099999h','Bebas umum','Eriska','Jual Bebas','0.0','0.0','Belum Dibayar','1','111010','Bayar Cash')
Foreign key constraint fails for table `khanza_pelita`.`penjualan`:
,
CONSTRAINT `penjualan_ibfk_10` FOREIGN KEY (`no_rkm_medis`) REFERENCES `pasien` (`no_rkm_medis`) ON UPDATE CASCADE in parent table, in index no_rkm_medis tuple:
DATA TUPLE: 2 fields;
0: len 7; hex 30393939393968; asc 099999h;;
1: len 13; hex 504a3230323630373330303032; asc PJ20260730002;;
But in parent table `khanza_pelita`.`pasien`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 38; compact format; info bits 0
0: len 6; hex 393930393939; asc 990999;;
1: len 6; hex 000000000000; asc ;;
2: len 7; hex 80000000000000; asc ;;
3: len 16; hex 70617369656e20544553544552204954; asc pasien TESTER IT;;
4: len 1; hex 2d; asc -;;
5: len 1; hex 01; asc ;;
6: len 1; hex 2d; asc -;;
7: len 3; hex 8fa942; asc B;;
8: len 9; hex 544553544552204954; asc TESTER IT;;
9: len 1; hex 2d; asc -;;
10: len 1; hex 05; asc ;;
11: len 1; hex 2d; asc -;;
12: len 1; hex 02; asc ;;
13: len 5; hex 49534c414d; asc ISLAM;;
14: len 3; hex 8fd15f; asc _;;
15: len 9; hex 303839393939393939; asc 089999999;;
16: len 15; hex 3231205468203820426c2039204872; asc 21 Th 8 Bl 9 Hr;;
17: len 1; hex 0e; asc ;;
18: len 1; hex 07; asc ;;
19: len 9; hex 544553544552204954; asc TESTER IT;;
20: len 3; hex 2d2020; asc - ;;
21: len 1; hex 2d; asc -;;
22: len 4; hex 80000001; asc ;;
23: len 4; hex 8000174f; asc O;;
24: len 4; hex 80000203; asc ;;
25: len 9; hex 544553544552204954; asc TESTER IT;;
26: len 1; hex 2d; asc -;;
27: len 1; hex 2d; asc -;;
28: len 1; hex 2d; asc -;;
29: len 1; hex 2d; asc -;;
30: len 1; hex 2d; asc -;;
31: len 4; hex 80000001; asc ;;
32: len 4; hex 80000005; asc ;;
33: len 4; hex 80000001; asc ;;
34: len 1; hex 2d; asc -;;
35: len 1; hex 2d; asc -;;
36: len 4; hex 80002255; asc "U;;
37: len 9; hex 50524f50494e53492d; asc PROPINSI-;;
------------
TRANSACTIONS
------------
Trx id counter 1190258
Purge done for trx's n:o < 1190258 undo n:o < 0 state: running
History list length 1
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283937610483608, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610462768, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610479440, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610475272, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610471104, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610454432, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610450264, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610421088, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610412752, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610458600, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610446096, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610441928, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610437760, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610433592, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610429424, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610425256, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610391912, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610387744, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610404416, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610408584, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610396080, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610400248, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610383576, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610379408, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610416920, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283937610466936, 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
30465472 OS file reads, 1955550 OS file writes, 1053216 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 294, seg size 296, 274866 merges
merged operations:
insert 474881, delete mark 27799, delete 16089
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 2 buffer(s)
Hash table size 4441, node heap has 41 buffer(s)
1.00 hash searches/s, 1.40 non-hash searches/s
---
LOG
---
Log sequence number 6901450253
Log flushed up to 6901450253
Pages flushed up to 6901450253
Last checkpoint at 6901450228
0 pending log flushes, 0 pending chkp writes
514181 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 2852056
Buffer pool size 1003
Free buffers 308
Database pages 646
Old database pages 257
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 6760154, not young 1472719346
0.00 youngs/s, 0.00 non-youngs/s
Pages read 30464329, created 11378, written 1270530
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: 646, unzip_LRU len: 0
I/O sum[2]: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=2944, Main thread ID=9672, state: sleeping
Number of rows inserted 183972, updated 133867, deleted 6567, read 4813934714
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 1.00 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 1380277
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================