Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :

Storage engines

InnoDB Documentation

Supports transactions, row-level locking, foreign keys and encryption for tables

[ Variables | Buffer Pool | InnoDB Status ]


=====================================
2025-12-12 00:49:10 0x2664 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 65 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 176980 srv_active, 0 srv_shutdown, 879176 srv_idle
srv_master_thread log flush and writes: 1056142
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 4077213
OS WAIT ARRAY INFO: signal count 1925504
RW-shared spins 1211907, rounds 16351575, OS waits 314803
RW-excl spins 1812695, rounds 6952559, OS waits 45426
RW-sx spins 11816, rounds 92251, OS waits 1477
Spin rounds per wait: 13.49 RW-shared, 3.84 RW-excl, 7.81 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-12-11 13:05:45 0x2424 Transaction:
TRANSACTION 14380372, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
5 lock struct(s), heap size 1128, 2 row lock(s), undo log entries 1
MySQL thread id 2208519, OS thread handle 9252, query id 19603030 POLI-ADMISI1 192.168.1.23 graha Update
insert into rujuk_masuk values('2025/12/11/000011','PKM BUKIT KAYU KAPUR','-','007101041125Y000160','0','PKM BUKIT KAYU KAPUR','Z36.9','-','-','')
Foreign key constraint fails for table `sik`.`rujuk_masuk`:
,
  CONSTRAINT `rujuk_masuk_ibfk_2` FOREIGN KEY (`kd_penyakit`) REFERENCES `penyakit` (`kd_penyakit`) ON UPDATE CASCADE in parent table, in index kd_penyakit tuple:
DATA TUPLE: 2 fields;
 0: len 5; hex 5a33362e39; asc Z36.9;;
 1: len 17; hex 323032352f31322f31312f303030303131; asc 2025/12/11/000011;;

But in parent table `sik`.`penyakit`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 12; compact format; info bits 0
 0: len 3; hex 5a3337; asc Z37;;
 1: len 6; hex 000000000000; asc       ;;
 2: len 7; hex 80000000000000; asc        ;;
 3: len 19; hex 4f7574636f6d65206f662064656c6976657279; asc Outcome of delivery;;
 4: len 1; hex 2d; asc -;;
 5: len 1; hex 2d; asc -;;
 6: len 1; hex 2d; asc -;;
 7: len 1; hex 02; asc  ;;
 8: len 1; hex 01; asc  ;;
 9: len 1; hex 01; asc  ;;
 10: len 1; hex 01; asc  ;;
 11: len 1; hex 01; asc  ;;

------------
TRANSACTIONS
------------
Trx id counter 14413024
Purge done for trx's n:o < 14413024 undo n:o < 0 state: running but idle
History list length 2
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283245479367880, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479363712, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479351208, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479305360, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479347040, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479330368, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479342872, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479338704, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479334536, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479309528, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479359544, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479355376, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479313696, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479417896, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479322032, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479326200, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479317864, 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
164687263 OS file reads, 2612389 OS file writes, 1034058 OS fsyncs
1.88 reads/s, 16384 avg bytes/read, 2.43 writes/s, 0.92 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 146, seg size 148, 155115 merges
merged operations:
 insert 1221161, delete mark 9207, delete 4804
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)
1.23 hash searches/s, 10.75 non-hash searches/s
---
LOG
---
Log sequence number 11543214896
Log flushed up to   11543214896
Pages flushed up to 11543214896
Last checkpoint at  11543214887
0 pending log flushes, 0 pending chkp writes
641440 log i/o's done, 0.60 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 150994944
Dictionary memory allocated 9092024
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 10380936, not young 4771280042
0.00 youngs/s, 0.00 non-youngs/s
Pages read 164684860, created 112437, written 1830504
1.88 reads/s, 0.02 creates/s, 1.71 writes/s
Buffer pool hit rate 950 / 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[31]: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=4416, Main thread ID=6600, state: sleeping
Number of rows inserted 5077304, updated 80153, deleted 144446, read 7127056365
0.15 inserts/s, 0.03 updates/s, 0.18 deletes/s, 53.03 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 506939
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================