Storage engines
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variables | Buffer Pool | InnoDB Status ]
=====================================
2026-04-08 12:43:55 0x292c INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 62 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 84 srv_active, 0 srv_shutdown, 239686 srv_idle
srv_master_thread log flush and writes: 239770
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 1315
OS WAIT ARRAY INFO: signal count 432
RW-shared spins 432, rounds 10603, OS waits 342
RW-excl spins 276, rounds 1805, OS waits 34
RW-sx spins 10, rounds 222, OS waits 7
Spin rounds per wait: 24.54 RW-shared, 6.54 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 6745
Purge done for trx's n:o < 6745 undo n:o < 0 state: running but idle
History list length 5
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
1090 OS file reads, 2363 OS file writes, 1064 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.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 3233868
Log flushed up to 3233868
Pages flushed up to 3233868
Last checkpoint at 3233859
0 pending log flushes, 0 pending chkp writes
719 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 744
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 1029, created 199, written 1539
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
Process ID=6320, Main thread ID=10000, state: sleeping
Number of rows inserted 77, updated 21, deleted 0, read 22685
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 602
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================