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:11 0x3d0c INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 1 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 239267 srv_active, 0 srv_shutdown, 2956078 srv_idle srv_master_thread log flush and writes: 3195345 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 9224367 OS WAIT ARRAY INFO: signal count 1522869 RW-shared spins 1470725, rounds 19784028, 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 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 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 13703249 OS file reads, 3157338 OS file writes, 2159407 OS fsyncs 0.00 reads/s, 0 avg bytes/read, 2.00 writes/s, 2.00 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) 41.96 hash searches/s, 141.86 non-hash searches/s --- LOG --- Log sequence number 1966776127 Log flushed up to 1966776039 Pages flushed up to 1966776039 Last checkpoint at 1966776030 0 pending log flushes, 0 pending chkp writes 1277868 log i/o's done, 2.00 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 4 Percent of dirty pages(LRU & free pages): 0.402 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 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: 268, unzip_LRU len: 0 I/O sum[78]: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 309578, deleted 799570, read 452199650 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 41.96 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 ============================