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-07-13 23:04:00 0x2b00 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 8 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 3457 srv_active, 0 srv_shutdown, 35021 srv_idle
srv_master_thread log flush and writes: 38478
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 4516
OS WAIT ARRAY INFO: signal count 6141
RW-shared spins 13758, rounds 141022, OS waits 2859
RW-excl spins 3467, rounds 34871, OS waits 847
RW-sx spins 44, rounds 446, OS waits 10
Spin rounds per wait: 10.25 RW-shared, 10.06 RW-excl, 10.14 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 4453730
Purge done for trx's n:o < 4453730 undo n:o < 0 state: running but idle
History list length 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---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 283593925260696, 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 283593925210584, 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 283593925202232, 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 283593925193880, 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 283593925218936, 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 283593925239816, 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 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
514765 OS file reads, 48870 OS file writes, 19106 OS fsyncs
0.25 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, 11606 merges
merged operations:
 insert 21302, delete mark 714, delete 254
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 2 buffer(s)
12.75 hash searches/s, 15.37 non-hash searches/s
---
LOG
---
Log sequence number 4004656491
Log flushed up to   4004656491
Pages flushed up to 4004656491
Last checkpoint at  4004656482
0 pending log flushes, 0 pending chkp writes
10471 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       736
Database pages     258
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 61061, not young 29652209
0.00 youngs/s, 0.00 non-youngs/s
Pages read 513714, created 477, written 36069
0.25 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 996 / 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: 258, unzip_LRU len: 0
I/O sum[200]: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 15223, updated 1311, deleted 62, read 89147703
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 227.22 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
============================