Drop files here

SQL upload ( 0 ) x-

Server: localhost
Page-related settingsClick 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 :
Options
Set default





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

Storage Engines

InnoDB Documentation

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

[ Variables | Buffer Pool | InnoDB Status ]


=====================================
2026-04-14 06:13:49 7f075812cb00 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 9 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 31207 srv_active, 0 srv_shutdown, 24560048 srv_idle
srv_master_thread log flush and writes: 24589066
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 112995
OS WAIT ARRAY INFO: signal count 87250
Mutex spin waits 82640, rounds 2496015, OS waits 79958
RW-shared spins 33017, rounds 990600, OS waits 33008
RW-excl spins 3, rounds 870, OS waits 29
Spin rounds per wait: 30.20 mutex, 30.00 RW-shared, 290.00 RW-excl
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2026-02-09 19:08:23 7f0758258b00 Transaction:
TRANSACTION 590807, ACTIVE 0 sec updating or deleting
mysql tables in use 1, locked 1
6 lock struct(s), heap size 1184, 3 row lock(s), undo log entries 1
MySQL thread id 181517, OS thread handle 0x7f0758258b00, query id 1832433 localhost root updating
DELETE FROM `pelanggan` WHERE `pelanggan`.`pelanggan_id` = 4
Foreign key constraint fails for table `edppj`.`urusan`:
,
  CONSTRAINT `urusan_ibfk_1` FOREIGN KEY (`pelanggan_id`) REFERENCES `pelanggan` (`pelanggan_id`)
Trying to delete or update in parent table, in index `PRIMARY` tuple:
DATA TUPLE: 8 fields;
 0: len 4; hex 80000004; asc     ;;
 1: len 6; hex 0000000903d7; asc       ;;
 2: len 7; hex 59000001f312d4; asc Y      ;;
 3: len 6; hex 50414954414e; asc PAITAN;;
 4: len 10; hex 414e4954412041444155; asc ANITA ADAU;;
 5: len 12; hex 393130383138343236353234; asc 910818426524;;
 6: len 1; hex 2d; asc -;;
 7: len 3; hex 425442; asc BTB;;

But in child table `edppj`.`urusan`, in index `pelanggan_id`, there is a record:
PHYSICAL RECORD: n_fields 2; compact format; info bits 0
 0: len 4; hex 80000004; asc     ;;
 1: len 4; hex 80000005; asc     ;;

------------
TRANSACTIONS
------------
Trx id counter 848600
Purge done for trx's n:o < 848572 undo n:o < 0 state: running but idle
History list length 8
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 0, not started
MySQL thread id 229585, OS thread handle 0x7f075812cb00, query id 2433440 localhost root init
SHOW ENGINE INNODB STATUS
---TRANSACTION 4355, not started
MySQL thread id 1, OS thread handle 0x7f0764648b00, query id 0 Waiting for requests
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
I/O thread 1 state: waiting for i/o request (log thread)
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (read thread)
I/O thread 4 state: waiting for i/o request (read thread)
I/O thread 5 state: waiting for i/o request (read thread)
I/O thread 6 state: waiting for i/o request (write thread)
I/O thread 7 state: waiting for i/o request (write thread)
I/O thread 8 state: waiting for i/o request (write thread)
I/O thread 9 state: waiting for i/o request (write thread)
Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] ,
 ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 0
43549 OS file reads, 263236 OS file writes, 187835 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 0, seg size 2, 71 merges
merged operations:
 insert 68, delete mark 3, delete 0
discarded operations:
 insert 0, delete mark 0, delete 0
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 11591800
Log flushed up to   11591800
Pages flushed up to 11591800
Last checkpoint at  11591800
Max checkpoint age    7782360
Checkpoint age target 7539162
Modified age          0
Checkpoint age        0
0 pending log writes, 0 pending chkp writes
78902 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 17580032; in additional pool allocated 0
Total memory allocated by read views 200
Internal hash tables (constant factor + variable factor)
    Adaptive hash index 346928 	(277192 + 69736)
    Page hash           18136 (buffer pool 0 only)
    Dictionary cache    391660 	(70736 + 320924)
    File system         848432 	(812272 + 36160)
    Lock system         43096 	(42376 + 720)
    Recovery system     0 	(0 + 0)
Dictionary memory allocated 320924
Buffer pool size        1023
Buffer pool size, bytes 16760832
Free buffers            763
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 24, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 44345, created 725, written 157563
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
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[0]:cur[0], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
0 RW transactions active inside InnoDB
0 RO transactions active inside InnoDB
0 out of 1000 descriptors used
Main thread process no. 10001, id 139669543003904, state: sleeping
Number of rows inserted 41632, updated 1745, deleted 118, read 587525796
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
Number of system rows inserted 3, updated 0, deleted 0, read 54
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================