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-06 06:19:23 0x7f7d2c0d0700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 8 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 12879 srv_active, 0 srv_shutdown, 9638 srv_idle
srv_master_thread log flush and writes: 22516
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 46233
OS WAIT ARRAY INFO: signal count 40379
RW-shared spins 0, rounds 16757, OS waits 8264
RW-excl spins 0, rounds 6988, OS waits 244
RW-sx spins 1, rounds 30, OS waits 1
Spin rounds per wait: 16757.00 RW-shared, 6988.00 RW-excl, 30.00 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-11-06 05:14:19 0x7f7d2c0d0700 Transaction:
TRANSACTION 96857, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
1 lock struct(s), heap size 1136, 0 row lock(s), undo log entries 1
MySQL thread id 255952, OS thread handle 140175586690816, query id 8848160 192.168.30.20 root Update
INSERT INTO Alumno(Matricula, Ap, Am, Nombre, Sexo, Edad, CVECarrera) VALUES ('6999','Cruz','Cruz','Juan','M','24','C-01'),('5888','Morales','Rosas','Rosalinda','F','23','C-02'),('7999','Nuñez','Domingo','Daniel','M','25','C-01')
Foreign key constraint fails for table `Practica_IACM`.`Alumno`:
,
CONSTRAINT `Alumno_ibfk_1` FOREIGN KEY (`CVECarrera`) REFERENCES `CARRERA` (`CVECarrera`)
Trying to add to index CVECarrera tuple:
DATA TUPLE: 2 fields;
0: len 4; hex 432d3031; asc C-01;;
1: len 4; hex 36393939; asc 6999;;
But the parent table `Practica_IACM`.`CARRERA`
or its .ibd file or the required index does not currently exist!
------------
TRANSACTIONS
------------
Trx id counter 107302
Purge done for trx's n:o < 107302 undo n:o < 0 state: running but idle
History list length 13
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421650332922360, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421650332918104, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421650332913848, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
--------
FILE I/O
--------
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (write thread)
I/O thread 7 state: waiting for completed aio requests (write thread)
I/O thread 8 state: waiting for completed aio requests (write thread)
I/O thread 9 state: waiting for completed aio requests (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
864 OS file reads, 213828 OS file writes, 102548 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 6.12 writes/s, 4.12 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 69257, node heap has 1 buffer(s)
Hash table size 69257, node heap has 10 buffer(s)
Hash table size 69257, node heap has 2 buffer(s)
Hash table size 69257, node heap has 25 buffer(s)
Hash table size 69257, node heap has 1 buffer(s)
Hash table size 69257, node heap has 3 buffer(s)
Hash table size 69257, node heap has 26 buffer(s)
Hash table size 69257, node heap has 0 buffer(s)
3.62 hash searches/s, 0.50 non-hash searches/s
---
LOG
---
Log sequence number 55212358
Log flushed up to 55212358
Pages flushed up to 55211120
Last checkpoint at 55205057
0 pending log flushes, 0 pending chkp writes
63047 log i/o's done, 2.50 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 285212672
Dictionary memory allocated 192384
Buffer pool size 16024
Free buffers 14823
Database pages 1133
Old database pages 398
Modified db pages 3
Percent of dirty pages(LRU & free pages): 0.019
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 705, created 428, written 135376
0.00 reads/s, 0.00 creates/s, 3.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: 1133, 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=903, Main thread ID=140174646310656, state: sleeping
Number of rows inserted 42, updated 33188, deleted 0, read 2416478
0.00 inserts/s, 1.00 updates/s, 0.00 deletes/s, 2.00 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 12573
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
Servidor phpMyAdmin de demostración:
Actualmente ejecutando la revisión RELEASE_5_2_1-5377-g8e721911f0 de Git de la rama master.