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:45:10 0x17b4 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 33 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 239267 srv_active, 0 srv_shutdown, 2956077 srv_idle srv_master_thread log flush and writes: 3195344 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 9224326 OS WAIT ARRAY INFO: signal count 1522869 RW-shared spins 1470724, rounds 19783998, OS waits 492820 RW-excl spins 438757, rounds 1243534, OS waits 13852 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 692789 Purge done for trx's n:o < 692789 undo n:o < 0 state: running History list length 2 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 283756845326768, 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) ---TRANSACTION 283756845322600, 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 283756845314264, 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 13703249 OS file reads, 3157336 OS file writes, 2159405 OS fsyncs 0.85 reads/s, 16384 avg bytes/read, 1.94 writes/s, 1.33 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 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) Hash table size 4441, node heap has 1 buffer(s) 7.73 hash searches/s, 17.45 non-hash searches/s --- LOG --- Log sequence number 1966776030 Log flushed up to 1966776030 Pages flushed up to 1966776030 Last checkpoint at 1966775987 0 pending log flushes, 0 pending chkp writes 1277866 log i/o's done, 0.82 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 247896 Buffer pool size 1003 Free buffers 727 Database pages 268 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 239125, not young 492207084 0.00 youngs/s, 0.00 non-youngs/s Pages read 13703161, created 49397, written 1551661 5.99 reads/s, 0.00 creates/s, 0.00 writes/s Buffer pool hit rate 964 / 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: 268, unzip_LRU len: 0 I/O sum[72]:cur[6], 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 309578, deleted 799570, read 452199608 0.00 inserts/s, 0.15 updates/s, 0.00 deletes/s, 10.70 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 ============================