Motores de almacenamiento
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[
Variables
|
Reserva de búfers
|
Estado del InnoDB
]
=====================================
2025-11-09 15:36:44 0x211b0 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 2 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 17632 srv_active, 0 srv_shutdown, 1892790 srv_idle
srv_master_thread log flush and writes: 1910421
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 295752
OS WAIT ARRAY INFO: signal count 104961
RW-shared spins 30133, rounds 903633, OS waits 30111
RW-excl spins 295, rounds 3699, OS waits 108
RW-sx spins 5, rounds 150, OS waits 5
Spin rounds per wait: 29.99 RW-shared, 12.54 RW-excl, 30.00 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-10-24 10:58:28 0x648 Transaction:
TRANSACTION 46258, ACTIVE 0 sec updating or deleting
mysql tables in use 1, locked 1
5 lock struct(s), heap size 1128, 3 row lock(s), undo log entries 1
MySQL thread id 1760, OS thread handle 1608, query id 61047 localhost 127.0.0.1 root Updating
UPDATE datos_laborales SET
fecha_ingreso = '2010-11-24',categoria = 'Primera',
tipo_personal = 'Administrativo',
jefe_directo = '',
horario_trabajo = '07:00 a 17:00',
sueldo_basico = 2000000,
presentismo = 0,
cbu = 0,
fecha_ultima_categoria = '2025-10-23'
WHERE id_empleado = 57
Foreign key constraint fails for table `losnaranjos`.`datos_laborales`:
,
CONSTRAINT `datos_laborales_ibfk_2` FOREIGN KEY (`jefe_directo`) REFERENCES `empleados` (`id_empleados`) ON DELETE SET NULL in parent table, in index jefe_directo tuple:
DATA TUPLE: 2 fields;
0: len 4; hex 80000000; asc ;;
1: len 4; hex 80000003; asc ;;
But in parent table `losnaranjos`.`empleados`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 23; compact format; info bits 0
0: len 4; hex 80000004; asc ;;
1: len 6; hex 000000000000; asc ;;
2: len 7; hex 80000000000000; asc ;;
3: len 13; hex 41646d696e6973747261646f72; asc Administrador;;
4: len 1; hex 2d; asc -;;
5: len 16; hex 2d2c2041646d696e6973747261646f72; asc -, Administrador;;
6: len 3; hex 8f6f9d; asc o ;;
7: len 1; hex 01; asc ;;
8: len 1; hex 01; asc ;;
9: len 20; hex 42656c697a6172696f20526f6c64616e20373330; asc Belizario Roldan 730;;
10: len 10; hex 33383738353031333238; asc 3878501328;;
11: len 18; hex 636172656d69363640676d61696c2e636f6d; asc caremi66@gmail.com;;
12: len 0; hex ; asc ;;
13: SQL NULL;
14: len 0; hex ; asc ;;
15: len 0; hex ; asc ;;
16: len 1; hex 30; asc 0;;
17: len 1; hex 80; asc ;;
18: len 1; hex 80; asc ;;
19: len 4; hex 80000001; asc ;;
20: len 4; hex 80000013; asc ;;
21: len 4; hex 81c3729d; asc r ;;
22: len 4; hex 80000001; asc ;;
------------
TRANSACTIONS
------------
Trx id counter 84444
Purge done for trx's n:o < 84444 undo n:o < 0 state: running but idle
History list length 8
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 282203588415704, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 282203588411536, 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
44308 OS file reads, 212942 OS file writes, 152681 OS fsyncs
0.50 reads/s, 16384 avg bytes/read, 4.00 writes/s, 3.50 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 0 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)
4.00 hash searches/s, 6.00 non-hash searches/s
---
LOG
---
Log sequence number 51748004
Log flushed up to 51748004
Pages flushed up to 51748004
Last checkpoint at 51747961
0 pending log flushes, 0 pending chkp writes
97164 log i/o's done, 2.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 197816
Buffer pool size 1003
Free buffers 740
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 44225, created 903, written 97249
0.50 reads/s, 0.00 creates/s, 1.50 writes/s
Buffer pool hit rate 972 / 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[27]:cur[3], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=2356, Main thread ID=2924, state: sleeping
Number of rows inserted 182, updated 18992, deleted 1, read 1652480
0.00 inserts/s, 0.50 updates/s, 0.00 deletes/s, 3.50 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 61111
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================