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 :
Options
Set default





Collapse Expand Requery Edit Explain Profiling 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 ]


=====================================
2026-04-09 15:34:00 0x9830 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 49 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 2572 srv_active, 0 srv_shutdown, 512892 srv_idle
srv_master_thread log flush and writes: 515457
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 11933
OS WAIT ARRAY INFO: signal count 10965
RW-shared spins 15110, rounds 234078, OS waits 7144
RW-excl spins 9933, rounds 31257, OS waits 82
RW-sx spins 307, rounds 2076, OS waits 22
Spin rounds per wait: 15.49 RW-shared, 3.15 RW-excl, 6.76 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2026-04-06 11:39:13 0x2fb0 Transaction:
TRANSACTION 42590, ACTIVE 0 sec updating or deleting
mysql tables in use 1, locked 1
4 lock struct(s), heap size 1128, 2 row lock(s), undo log entries 1
MySQL thread id 99816, OS thread handle 12208, query id 354010 localhost ::1 root Updating
DELETE FROM productos WHERE id = ?
Foreign key constraint fails for table `ciber_gemelos_db`.`detalle_venta`:
,
  CONSTRAINT `detalle_venta_ibfk_2` FOREIGN KEY (`producto_id`) REFERENCES `productos` (`id`)
Trying to delete or update in parent table, in index PRIMARY tuple:
DATA TUPLE: 11 fields;
 0: len 4; hex 8000014e; asc    N;;
 1: len 6; hex 00000000a65e; asc      ^;;
 2: len 7; hex 6b00000146170a; asc k   F  ;;
 3: len 7; hex 50415030313836; asc PAP0186;;
 4: len 17; hex 4c6170697a2054696e7461205a65627261; asc Lapiz Tinta Zebra;;
 5: len 4; hex 80000003; asc     ;;
 6: len 5; hex 8000001400; asc      ;;
 7: len 5; hex 8000001900; asc      ;;
 8: len 4; hex 80000011; asc     ;;
 9: len 0; hex ; asc ;;
 10: len 4; hex 80000005; asc     ;;

But in child table `ciber_gemelos_db`.`detalle_venta`, in index producto_id, there is a record:
PHYSICAL RECORD: n_fields 2; compact format; info bits 0
 0: len 4; hex 8000014e; asc    N;;
 1: len 4; hex 80000392; asc     ;;

------------
TRANSACTIONS
------------
Trx id counter 45702
Purge done for trx's n:o < 45702 undo n:o < 0 state: running but idle
History list length 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283872282112144, 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
10583 OS file reads, 54131 OS file writes, 29594 OS fsyncs
0.08 reads/s, 16384 avg bytes/read, 1.22 writes/s, 0.63 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 11, seg size 13, 0 merges
merged operations:
 insert 0, delete mark 0, delete 0
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)
16.67 hash searches/s, 0.16 non-hash searches/s
---
LOG
---
Log sequence number 27725879
Log flushed up to   27725879
Pages flushed up to 27725879
Last checkpoint at  27725870
0 pending log flushes, 0 pending chkp writes
18516 log i/o's done, 0.41 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 162760
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 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 10515, created 597, written 32512
0.08 reads/s, 0.02 creates/s, 0.76 writes/s
Buffer pool hit rate 998 / 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[41]: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=16440, Main thread ID=17600, state: sleeping
Number of rows inserted 6904, updated 1136, deleted 7313, read 5171007
0.04 inserts/s, 0.02 updates/s, 0.00 deletes/s, 35.04 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 852
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================