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-07-02 19:13:55 0x5224 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 42 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 4502 srv_active, 0 srv_shutdown, 720791 srv_idle
srv_master_thread log flush and writes: 725293
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 524347
OS WAIT ARRAY INFO: signal count 186609
RW-shared spins 13703, rounds 394157, OS waits 11453
RW-excl spins 6038, rounds 16655, OS waits 70
RW-sx spins 93, rounds 1508, OS waits 40
Spin rounds per wait: 28.76 RW-shared, 2.76 RW-excl, 16.22 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2026-06-24 23:06:31 0x2500 Transaction:
TRANSACTION 288785, ACTIVE 0 sec inserting
mysql tables in use 2, locked 2
6 lock struct(s), heap size 1128, 3 row lock(s), undo log entries 1
MySQL thread id 4254, OS thread handle 9472, query id 327462 localhost 127.0.0.1 root Sending data
-- Migrar los 16 ingresos de movimientos → movimientos_vox
INSERT INTO movimientos_vox (periodo, fecha, tipo, producto_id, cantidad, observacion)
SELECT periodo, fecha_movimiento, tipo, producto_id, cantidad, observacion
FROM movimientos
WHERE tipo='INGRESO' AND periodo='2026-06-15'
Foreign key constraint fails for table `inventario_vox`.`movimientos_vox`:
,
  CONSTRAINT `fk_mov_producto` FOREIGN KEY (`producto_id`) REFERENCES `productos_vox` (`id`) ON DELETE CASCADE in parent table, in index idx_producto tuple:
DATA TUPLE: 2 fields;
 0: len 4; hex 80000094; asc     ;;
 1: len 4; hex 80000001; asc     ;;

But in parent table `inventario_vox`.`productos_vox`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 6; compact format; info bits 0
 0: len 4; hex 8000001d; asc     ;;
 1: len 6; hex 000000000000; asc       ;;
 2: len 7; hex 80000000000000; asc        ;;
 3: len 10; hex 47494e47455220414c45; asc GINGER ALE;;
 4: len 1; hex 81; asc  ;;
 5: len 4; hex 6a13a3a0; asc j   ;;

------------
TRANSACTIONS
------------
Trx id counter 378991
Purge done for trx's n:o < 378991 undo n:o < 0 state: running but idle
History list length 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 284160232534160, 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
99925 OS file reads, 344575 OS file writes, 131598 OS fsyncs
0.86 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 0, seg size 2, 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 2 buffer(s)
Hash table size 4441, node heap has 1 buffer(s)
0.00 hash searches/s, 0.02 non-hash searches/s
---
LOG
---
Log sequence number 111300418
Log flushed up to   111300418
Pages flushed up to 111300418
Last checkpoint at  111300409
0 pending log flushes, 0 pending chkp writes
108306 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 340544
Buffer pool size   1003
Free buffers       657
Database pages     337
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 315, not young 3592
0.00 youngs/s, 0.00 non-youngs/s
Pages read 99794, created 2265, written 227694
0.86 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 590 / 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: 337, unzip_LRU len: 0
I/O sum[36]: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=5464, Main thread ID=7460, state: sleeping
Number of rows inserted 4772, updated 2516, deleted 1078, read 4202705
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 1.00 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 64590
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================