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-11-30 14:49:52 0xd78 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 5 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 6423 srv_active, 0 srv_shutdown, 72648 srv_idle
srv_master_thread log flush and writes: 79071
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 239389
OS WAIT ARRAY INFO: signal count 93532
RW-shared spins 35177, rounds 627673, OS waits 14915
RW-excl spins 68084, rounds 222830, OS waits 1311
RW-sx spins 233, rounds 3077, OS waits 70
Spin rounds per wait: 17.84 RW-shared, 3.27 RW-excl, 13.21 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-11-29 23:24:19 0x2104 Transaction:
TRANSACTION 13388888, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
10 lock struct(s), heap size 1128, 5 row lock(s), undo log entries 1
MySQL thread id 18844, OS thread handle 8452, query id 338097 IGD-1 192.168.1.40 graha Update
insert into resep_dokter values('202511300009','EKAT-TAB00194','1.0','')
Foreign key constraint fails for table `sik`.`resep_dokter`:
,
  CONSTRAINT `resep_dokter_ibfk_1` FOREIGN KEY (`no_resep`) REFERENCES `resep_obat` (`no_resep`) ON DELETE CASCADE ON UPDATE CASCADE in parent table, in index no_resep tuple:
DATA TUPLE: 2 fields;
 0: len 12; hex 323032353131333030303039; asc 202511300009;;
 1: len 6; hex 000000e1d8bc; asc       ;;

But in parent table `sik`.`resep_obat`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 14; compact format; info bits 0
 0: len 12; hex 323032353132303130303031; asc 202512010001;;
 1: len 6; hex 000000000000; asc       ;;
 2: len 7; hex 80000000000000; asc        ;;
 3: len 3; hex 800000; asc    ;;
 4: len 3; hex 800000; asc    ;;
 5: len 17; hex 323032342f31322f33312f303030303035; asc 2024/12/31/000005;;
 6: len 10; hex 31323034323130303039; asc 1204210009;;
 7: len 3; hex 8fd381; asc    ;;
 8: len 3; hex 8006d5; asc    ;;
 9: len 1; hex 02; asc  ;;
 10: len 3; hex 800000; asc    ;;
 11: len 3; hex 800000; asc    ;;
 12: len 0; hex ; asc ;;
 13: len 1; hex 2d; asc -;;

------------
TRANSACTIONS
------------
Trx id counter 13433886
Purge done for trx's n:o < 13433886 undo n:o < 0 state: running but idle
History list length 7
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283245479326200, 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 283245479367880, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283245479376216, 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 283245479372048, 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 283245479347040, 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 283245479305360, 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 283245479334536, 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 283245479359544, 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 283245479330368, 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 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
10179717 OS file reads, 115751 OS file writes, 53066 OS fsyncs
188.76 reads/s, 16384 avg bytes/read, 10.80 writes/s, 6.20 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 306, seg size 308, 7579 merges
merged operations:
 insert 21697, delete mark 492, delete 357
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 0 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)
11.00 hash searches/s, 235.15 non-hash searches/s
---
LOG
---
Log sequence number 9510827255
Log flushed up to   9510827235
Pages flushed up to 9510822703
Last checkpoint at  9510822703
0 pending log flushes, 0 pending chkp writes
31861 log i/o's done, 3.60 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 150994944
Dictionary memory allocated 6009600
Buffer pool size   1003
Free buffers       734
Database pages     262
Old database pages 0
Modified db pages  9
Percent of dirty pages(LRU & free pages): 0.903
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 78217, not young 212423752
0.00 youngs/s, 5350.93 non-youngs/s
Pages read 10177314, created 1004, written 76580
188.76 reads/s, 0.00 creates/s, 6.00 writes/s
Buffer pool hit rate 973 / 1000, young-making rate 0 / 1000 not 748 / 1000
Pages read ahead 6.40/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 262, unzip_LRU len: 0
I/O sum[1913]:cur[8], 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 10845, updated 5387, deleted 5353, read 288470816
0.00 inserts/s, 2.20 updates/s, 0.00 deletes/s, 27111.18 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 63206
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================