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-08 10:56:44 0x2670 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 33 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 81 srv_active, 0 srv_shutdown, 233338 srv_idle
srv_master_thread log flush and writes: 233419
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 1281
OS WAIT ARRAY INFO: signal count 420
RW-shared spins 423, rounds 10361, OS waits 334
RW-excl spins 274, rounds 1774, OS waits 33
RW-sx spins 10, rounds 222, OS waits 7
Spin rounds per wait: 24.49 RW-shared, 6.47 RW-excl, 22.20 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2026-04-07 13:16:02 0x29d4 Transaction:
TRANSACTION 6585, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
3 lock struct(s), heap size 1128, 1 row lock(s), undo log entries 1
MySQL thread id 409, OS thread handle 10708, query id 3169 localhost ::1 root Update
INSERT INTO reservas (
        numero_factura, origen_formulario,
        vehiculo_id, vehiculo_nombre, precio_por_dia,
        nombre_cliente, email_cliente, whatsapp_cliente,
        tipo_documento, numero_documento,
        lugar_recogida, lugar_entrega,
        fecha_recogida, fecha_entrega,
        hora_recogida, hora_entrega,
        vuelo_referencia, hospedaje,
        cantidad_pasajeros, solicitudes_especiales,
        dias_renta,
        con_silla_bebe, monto_silla,
        con_shopping_walmart,
        tipo_cobertura, monto_cobertura,
        subtotal, descuento_aplicad
Foreign key constraint fails for table `rentcar_db`.`reservas`:
,
  CONSTRAINT `fk_reservas_vehiculo` FOREIGN KEY (`vehiculo_id`) REFERENCES `vehiculos` (`id`) ON DELETE SET NULL in parent table, in index fk_reservas_vehiculo tuple:
DATA TUPLE: 2 fields;
 0: len 4; hex 00000007; asc     ;;
 1: len 8; hex 0000000000000006; asc         ;;

But in parent table `rentcar_db`.`vehiculos`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 13; compact format; info bits 0
 0: len 4; hex 00000006; asc     ;;
 1: len 6; hex 000000000000; asc       ;;
 2: len 7; hex 80000000000000; asc        ;;
 3: len 13; hex 4b696120536f756c2032303230; asc Kia Soul 2020;;
 4: len 16; hex 43726f73736f76657220557262616e6f; asc Crossover Urbano;;
 5: len 30; hex 43726f73736f76657220757262616e6f20707261637469636f2c2065636f; asc Crossover urbano practico, eco; (total 56 bytes);
 6: len 5; hex 8000002d00; asc    - ;;
 7: len 12; hex 696d672f536f756c2e6a7067; asc img/Soul.jpg;;
 8: len 1; hex 05; asc  ;;
 9: len 1; hex 03; asc  ;;
 10: len 1; hex 81; asc  ;;
 11: len 4; hex 69d5302f; asc i 0/;;
 12: len 4; hex 69d5302f; asc i 0/;;

------------
TRANSACTIONS
------------
Trx id counter 6734
Purge done for trx's n:o < 6713 undo n:o < 0 state: running but idle
History list length 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283616160772240, 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
1078 OS file reads, 2320 OS file writes, 1032 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, 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 0 buffer(s)
Hash table size 4441, node heap has 0 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 0 buffer(s)
Hash table size 4441, node heap has 1 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
0.15 hash searches/s, 0.58 non-hash searches/s
---
LOG
---
Log sequence number 3229176
Log flushed up to   3229176
Pages flushed up to 3229176
Last checkpoint at  3229167
0 pending log flushes, 0 pending chkp writes
699 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 105168
Buffer pool size   1003
Free buffers       658
Database pages     342
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 1017, created 199, written 1520
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 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: 342, 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
Process ID=6320, Main thread ID=10000, state: sleeping
Number of rows inserted 75, updated 20, deleted 0, read 21001
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 2.30 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 400
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================