Motores de almacenamiento
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variables | Reserva de búfers | Estado del InnoDB ]
===================================== 2026-12-02 23:34:59 0x2e90 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 43 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 239149 srv_active, 0 srv_shutdown, 2955591 srv_idle srv_master_thread log flush and writes: 3194740 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 9220199 OS WAIT ARRAY INFO: signal count 1522334 RW-shared spins 1470559, rounds 19779048, OS waits 492657 RW-excl spins 438756, rounds 1243504, OS waits 13851 RW-sx spins 58936, rounds 249258, OS waits 3320 Spin rounds per wait: 13.45 RW-shared, 2.83 RW-excl, 4.23 RW-sx ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 2026-11-13 15:33:07 0x4a54 Transaction: TRANSACTION 175946, ACTIVE 0 sec updating or deleting mysql tables in use 1, locked 1 4 lock struct(s), heap size 1128, 6 row lock(s), undo log entries 1 MySQL thread id 82916, OS thread handle 19028, query id 3617041 localhost 127.0.0.1 root Updating DELETE FROM asset_types WHERE id=? Foreign key constraint fails for table `inventario_actas_qa_10200`.`assets`: , CONSTRAINT `assets_ibfk_1` FOREIGN KEY (`type_id`) REFERENCES `asset_types` (`id`) Trying to delete or update in parent table, in index PRIMARY tuple: DATA TUPLE: 4 fields; 0: len 4; hex 00000001; asc ;; 1: len 6; hex 00000002af4a; asc J;; 2: len 7; hex 220000015701fd; asc " W ;; 3: len 15; hex 5469706f206564697461646f205141; asc Tipo editado QA;; But in child table `inventario_actas_qa_10200`.`assets`, in index type_id, there is a record: PHYSICAL RECORD: n_fields 2; compact format; info bits 0 0: len 4; hex 00000001; asc ;; 1: len 4; hex 00000001; asc ;; ------------ TRANSACTIONS ------------ Trx id counter 692511 Purge done for trx's n:o < 692511 undo n:o < 0 state: running but idle History list length 0 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 283756845314264, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283756845318432, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 283756845310096, 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 13701802 OS file reads, 3155889 OS file writes, 2158386 OS fsyncs 1.81 reads/s, 16384 avg bytes/read, 1.86 writes/s, 1.28 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 390, seg size 392, 10807 merges merged operations: insert 28289, delete mark 1296782, 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 0 buffer(s) Hash table size 4441, node heap has 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) 6.84 hash searches/s, 13.51 non-hash searches/s --- LOG --- Log sequence number 1966591312 Log flushed up to 1966591224 Pages flushed up to 1966591224 Last checkpoint at 1966591215 0 pending log flushes, 0 pending chkp writes 1277260 log i/o's done, 0.84 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 247896 Buffer pool size 1003 Free buffers 738 Database pages 258 Old database pages 0 Modified db pages 4 Percent of dirty pages(LRU & free pages): 0.401 Max dirty pages percent: 75.000 Pending reads 0 Pending writes: LRU 0, flush list 0, single page 0 Pages made young 239125, not young 492207084 0.00 youngs/s, 0.00 non-youngs/s Pages read 13701714, created 49390, written 1550971 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: 258, unzip_LRU len: 0 I/O sum[185]: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=3296, Main thread ID=9096, state: sleeping Number of rows inserted 1455733, updated 309439, deleted 799570, read 452182468 0.00 inserts/s, 0.23 updates/s, 0.00 deletes/s, 28.49 reads/s Number of system rows inserted 0, updated 0, deleted 0, read 951697 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================