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 :
Options
Set default





Collapse Expand Requery Edit Explain Profiling 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 ]


=====================================
2026-11-23 12:54:21 0x6569c INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 48 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 334180 srv_active, 0 srv_shutdown, 3055636 srv_idle
srv_master_thread log flush and writes: 3389816
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 1102996
OS WAIT ARRAY INFO: signal count 1041363
RW-shared spins 1105809, rounds 26387076, OS waits 853633
RW-excl spins 627075, rounds 2720098, OS waits 43916
RW-sx spins 33852, rounds 555435, OS waits 17308
Spin rounds per wait: 23.86 RW-shared, 4.34 RW-excl, 16.41 RW-sx
------------------------
LATEST DETECTED DEADLOCK
------------------------
2026-11-23 12:54:04 0x63700
*** (1) TRANSACTION:
TRANSACTION 2717874, ACTIVE 0 sec setting auto-inc lock
mysql tables in use 2, locked 2
LOCK WAIT 4 lock struct(s), heap size 1128, 260 row lock(s)
MySQL thread id 206715, OS thread handle 418440, query id 16272410 localhost 127.0.0.1 root Sending data
INSERT IGNORE INTO user_permissions (user_id, page_name, can_view, can_edit, can_delete)
            SELECT user_id, 'statistics', can_view, 0, 0
            FROM user_permissions
            WHERE page_name = 'reports'
*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
TABLE LOCK table `citizen_reports`.`user_permissions` trx id 2717874 lock mode AUTO-INC waiting
*** (2) TRANSACTION:
TRANSACTION 2717873, ACTIVE 0 sec inserting
mysql tables in use 2, locked 2
11 lock struct(s), heap size 1128, 265 row lock(s)
MySQL thread id 206716, OS thread handle 407296, query id 16272411 localhost 127.0.0.1 root Sending data
INSERT IGNORE INTO user_permissions (user_id, page_name, can_view, can_edit, can_delete)
            SELECT user_id, 'statistics', can_view, 0, 0
            FROM user_permissions
            WHERE page_name = 'reports'
*** (2) HOLDS THE LOCK(S):
TABLE LOCK table `citizen_reports`.`user_permissions` trx id 2717873 lock mode AUTO-INC
*** (2) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 552 page no 3 n bits 344 index PRIMARY of table `citizen_reports`.`user_permissions` trx id 2717873 lock_mode X insert intention waiting
Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0
 0: len 8; hex 73757072656d756d; asc supremum;;

*** WE ROLL BACK TRANSACTION (1)
------------
TRANSACTIONS
------------
Trx id counter 2717898
Purge done for trx's n:o < 2717898 undo n:o < 0 state: running but idle
History list length 5
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283394200248464, 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
5910165 OS file reads, 7355296 OS file writes, 3439033 OS fsyncs
8.83 reads/s, 16384 avg bytes/read, 7.90 writes/s, 3.21 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 221, seg size 223, 9120 merges
merged operations:
 insert 8935, delete mark 46652, delete 2381
discarded operations:
 insert 0, delete mark 0, delete 0
Hash table size 4441, node heap has 8 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)
613.47 hash searches/s, 98.00 non-hash searches/s
---
LOG
---
Log sequence number 3051400031
Log flushed up to   3051400031
Pages flushed up to 3051400031
Last checkpoint at  3051400022
0 pending log flushes, 0 pending chkp writes
2208867 log i/o's done, 1.92 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 180288
Buffer pool size   1003
Free buffers       666
Database pages     322
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 6980, not young 30742848
0.00 youngs/s, 0.00 non-youngs/s
Pages read 5910090, created 41677, written 4751913
8.83 reads/s, 0.00 creates/s, 5.52 writes/s
Buffer pool hit rate 995 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.67/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 322, unzip_LRU len: 0
I/O sum[781]: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=27100, Main thread ID=10348, state: sleeping
Number of rows inserted 88253, updated 1321, deleted 41439, read 2335330038
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 1542.13 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 4354
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================