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-09-13 15:05:00 0x20c0 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 38 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 62339 srv_active, 0 srv_shutdown, 1581831 srv_idle
srv_master_thread log flush and writes: 1644170
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 1431395
OS WAIT ARRAY INFO: signal count 1084856
RW-shared spins 1062806, rounds 25159409, OS waits 694496
RW-excl spins 529347, rounds 1657160, OS waits 24438
RW-sx spins 22711, rounds 194310, OS waits 3432
Spin rounds per wait: 23.67 RW-shared, 3.13 RW-excl, 8.56 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-09-10 10:51:09 0x1e3c Transaction:
TRANSACTION 31554573, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
3 lock struct(s), heap size 1128, 1 row lock(s), undo log entries 1
MySQL thread id 237030, OS thread handle 7740, query id 8533203 CLOUD-PJCQRPUIU 45.58.43.18 freeluma Update
INSERT INTO ticket_messages
                (ticket_id, direction, message_type, author_name, author_email, body_text, body_html, created_at)
             VALUES
                ('3083', 'inbound', 'email', '', 'staciturner41@yahoo.com', 'Good afternoon, \nJustin curious if my order has shipped yet? \n\nThank you \nStaci Turner \nSent from my iPhone', '<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"></head><body dir=\"auto\">Good afternoon,&nbsp;<div>Justin curious if my order has shipped yet?&nbsp;</div><div><br></div><div>Thank you&nbsp;</div><div>Staci 
Foreign key constraint fails for table `customersupport`.`ticket_messages`:
,
  CONSTRAINT `ticket_messages_ibfk_1` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE in parent table, in index idx_tm_ticket tuple:
DATA TUPLE: 3 fields;
 0: len 8; hex 0000000000000c0b; asc         ;;
 1: len 4; hex 68c1ba8d; asc h   ;;
 2: len 8; hex 0000000000009a82; asc         ;;

But in parent table `customersupport`.`tickets`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 23; compact format; info bits 0
 0: len 8; hex 00000000000024ca; asc       $ ;;
 1: len 6; hex 000000000000; asc       ;;
 2: len 7; hex 80000000000000; asc        ;;
 3: len 8; hex 0000000000000002; asc         ;;
 4: len 30; hex 7777772e656c6567616e74657465726e6974792e636f6d2053454f205072; asc www.eleganteternity.com SEO Pr; (total 48 bytes);
 5: len 0; hex ; asc ;;
 6: len 17; hex 696e666f406f637461626c697a2e6e6574; asc info@octabliz.net;;
 7: SQL NULL;
 8: len 1; hex 03; asc  ;;
 9: len 1; hex 02; asc  ;;
 10: SQL NULL;
 11: SQL NULL;
 12: SQL NULL;
 13: SQL NULL;
 14: SQL NULL;
 15: SQL NULL;
 16: len 1; hex 01; asc  ;;
 17: SQL NULL;
 18: len 4; hex 68ad8ccd; asc h   ;;
 19: len 4; hex 68ada017; asc h   ;;
 20: SQL NULL;
 21: len 15; hex 47656e6572616c20496e7175697279; asc General Inquiry;;
 22: len 30; hex 43555252454e54205449434b455420e280942041206d61726b6574696e67; asc CURRENT TICKET     A marketing; (total 272 bytes);

------------
TRANSACTIONS
------------
Trx id counter 31572458
Purge done for trx's n:o < 31572458 undo n:o < 0 state: running but idle
History list length 3
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283676628537848, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283676628529512, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283676628521176, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283676628533680, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283676628525344, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283676628517008, 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
62497048 OS file reads, 2304930 OS file writes, 946432 OS fsyncs
2.34 reads/s, 16384 avg bytes/read, 1.42 writes/s, 1.24 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 390, seg size 392, 5402 merges
merged operations:
 insert 28825, delete mark 456241, delete 13217
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)
3.97 hash searches/s, 9.37 non-hash searches/s
---
LOG
---
Log sequence number 4279311933
Log flushed up to   4279311913
Pages flushed up to 4279274095
Last checkpoint at  4279273894
0 pending log flushes, 0 pending chkp writes
579958 log i/o's done, 0.95 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 440704
Buffer pool size   1003
Free buffers       735
Database pages     260
Old database pages 0
Modified db pages  75
Percent of dirty pages(LRU & free pages): 7.530
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 12631962, not young 504387758
0.00 youngs/s, 0.00 non-youngs/s
Pages read 62496888, created 24182, written 1580141
2.34 reads/s, 0.08 creates/s, 0.34 writes/s
Buffer pool hit rate 984 / 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: 260, unzip_LRU len: 0
I/O sum[97]:cur[5], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=15956, Main thread ID=15356, state: sleeping
Number of rows inserted 221114, updated 90444, deleted 202038, read 8665814262
0.00 inserts/s, 0.74 updates/s, 0.00 deletes/s, 981.84 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 135008
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================