Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count Time taken
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :

Storage engines

InnoDB Documentation

Supports transactions, row-level locking, foreign keys and encryption for tables

[ Variables | Buffer Pool | InnoDB Status ]


=====================================
2025-06-26 21:49:47 0x3584 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 20 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 130821 srv_active, 0 srv_shutdown, 2800287 srv_idle
srv_master_thread log flush and writes: 2931108
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 12143447
OS WAIT ARRAY INFO: signal count 8773035
RW-shared spins 8806195, rounds 233604025, OS waits 7093958
RW-excl spins 5678471, rounds 11161778, OS waits 142118
RW-sx spins 119464, rounds 1309380, OS waits 25436
Spin rounds per wait: 26.53 RW-shared, 1.97 RW-excl, 10.96 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-06-24 16:23:22 0x2fc0 Transaction:
TRANSACTION 30381923, ACTIVE 0 sec updating or deleting
mysql tables in use 1, locked 1
4 lock struct(s), heap size 1128, 2 row lock(s), undo log entries 1
MySQL thread id 1866100, OS thread handle 12224, query id 29254634 localhost 127.0.0.1 root Updating
DELETE FROM `videos` WHERE `videos`.`id` = 64 LIMIT 1
Foreign key constraint fails for table `freelumatv`.`video_characters`:
,
  CONSTRAINT `video_characters_ibfk_1` FOREIGN KEY (`video_id`) REFERENCES `videos` (`id`)
Trying to delete or update in parent table, in index PRIMARY tuple:
DATA TUPLE: 13 fields;
 0: len 4; hex 80000040; asc    @;;
 1: len 6; hex 000001cf9763; asc      c;;
 2: len 7; hex 10000001b91257; asc       W;;
 3: len 4; hex 80000001; asc     ;;
 4: len 4; hex 80000001; asc     ;;
 5: len 63; hex 5468652056616e697368696e67206f662052616368656c2053696e636c6169723a2041204368696c6c696e6720536d616c6c20546f776e204d797374657279; asc The Vanishing of Rachel Sinclair: A Chilling Small Town Mystery;;
 6: SQL NULL;
 7: len 156; hex 446973617070656172616e636520696e2042726f6164204461796c696768742c2054686520546f776e2054686174204b6565707320536563726574732c20556e636f766572696e67207468652054727574683a2052616368656c2053696e636c6169722c204d79737465727920696e204d61706c65776f6f642c20412043617365205468617420426166666c656420496e76657374696761746f7273; asc Disappearance in Broad Daylight, The Town That Keeps Secrets, Uncovering the Truth: Rachel Sinclair, Mystery in Maplewood, A Case That Baffled Investigators;;
 8: len 1; hex 01; asc  ;;
 9: SQL NULL;
 10: SQL NULL;
 11: len 5; hex 99b6f0fb8c; asc      ;;
 12: len 49; hex 457863657074696f6e3a20496d61676520626173653634206e6f742072657475726e656420666f72207363656e6520302e; asc Exception: Image base64 not returned for scene 0.;;

But in child table `freelumatv`.`video_characters`, in index video_id, there is a record:
PHYSICAL RECORD: n_fields 2; compact format; info bits 0
 0: len 4; hex 80000040; asc    @;;
 1: len 4; hex 800000a9; asc     ;;

------------
TRANSACTIONS
------------
Trx id counter 30399285
Purge done for trx's n:o < 30399285 undo n:o < 0 state: running but idle
History list length 8
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283725376028888, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283725376024720, 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
440076659 OS file reads, 9257421 OS file writes, 4921953 OS fsyncs
0.05 reads/s, 16384 avg bytes/read, 0.50 writes/s, 0.45 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 353, seg size 355, 78003 merges
merged operations:
 insert 739546, delete mark 1325442, delete 92367
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 2 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)
0.50 hash searches/s, 1.00 non-hash searches/s
---
LOG
---
Log sequence number 3416198505
Log flushed up to   3416198505
Pages flushed up to 3416198505
Last checkpoint at  3416198496
0 pending log flushes, 0 pending chkp writes
4179674 log i/o's done, 0.30 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 307992
Buffer pool size   1003
Free buffers       738
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 676091999, not young 4003730414
0.00 youngs/s, 0.00 non-youngs/s
Pages read 440076588, created 111505, written 4831097
0.05 reads/s, 0.00 creates/s, 0.15 writes/s
Buffer pool hit rate 980 / 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[12]: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=7404, Main thread ID=7916, state: sleeping
Number of rows inserted 3419309, updated 296101, deleted 1912171, read 103446904208
0.00 inserts/s, 0.05 updates/s, 0.00 deletes/s, 0.55 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 80878
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================