Drop files here

SQL upload ( 0 ) x -

Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
SQL නිදොසන්න
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count: Time taken:
Bookmarks
අලුත් කරන්න
Add
No bookmarks
Add bookmark
විකල්ප
Restore default values
Collapse Expand Requery සංස්කරණය කරන්න Explain Profiling Bookmark Query failed දත්තගබඩාව: Queried time:

Storage engines

InnoDB ලියකියවිලි

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

[ විචල්‍යනයන් | අන්තරාච එකතුව | InnoDB තත්වය ]


=====================================
2025-04-11 23:09:06 0x7f2469d92700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 41 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 2684 srv_active, 0 srv_shutdown, 33691 srv_idle
srv_master_thread log flush and writes: 36372
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 11697
OS WAIT ARRAY INFO: signal count 8184
RW-shared spins 0, rounds 6725, OS waits 3362
RW-excl spins 0, rounds 643, OS waits 22
RW-sx spins 0, rounds 0, OS waits 0
Spin rounds per wait: 6725.00 RW-shared, 643.00 RW-excl, 0.00 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-04-11 13:32:40 0x7f247809e700 Transaction:
TRANSACTION 37788, ACTIVE 0 sec updating or deleting
mysql tables in use 2, locked 2
4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 1
MySQL thread id 808, OS thread handle 139794609465088, query id 21460 192.168.30.20 root Updating
DELETE FROM country
WHERE country_id = 1
Foreign key constraint fails for table `sakila`.`city`:
,
  CONSTRAINT `fk_city_country` FOREIGN KEY (`country_id`) REFERENCES `country` (`country_id`) ON UPDATE CASCADE
Trying to delete in parent table, in index PRIMARY tuple:
DATA TUPLE: 5 fields;
 0: len 2; hex 0001; asc   ;;
 1: len 6; hex 00000000939c; asc       ;;
 2: len 7; hex 7e000002240236; asc ~   $ 6;;
 3: len 11; hex 41666768616e697374616e; asc Afghanistan;;
 4: len 4; hex 43f2a380; asc C   ;;

But in child table `sakila`.`city`, in index idx_fk_country_id, there is a record:
PHYSICAL RECORD: n_fields 2; compact format; info bits 0
 0: len 2; hex 0001; asc   ;;
 1: len 2; hex 00fb; asc   ;;

------------
TRANSACTIONS
------------
Trx id counter 43740
Purge done for trx's n:o < 43740 undo n:o < 0 state: running but idle
History list length 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421269369619096, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421269369614840, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421269369610584, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421269369606328, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
--------
FILE I/O
--------
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (write thread)
I/O thread 7 state: waiting for completed aio requests (write thread)
I/O thread 8 state: waiting for completed aio requests (write thread)
I/O thread 9 state: waiting for completed aio requests (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
962 OS file reads, 30011 OS file writes, 20281 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 0, seg size 2, 0 merges
merged operations:
 insert 0, delete mark 0, delete 0
discarded operations:
 insert 0, delete mark 0, delete 0
Hash table size 69257, node heap has 2 buffer(s)
Hash table size 69257, node heap has 11 buffer(s)
Hash table size 69257, node heap has 2 buffer(s)
Hash table size 69257, node heap has 25 buffer(s)
Hash table size 69257, node heap has 1 buffer(s)
Hash table size 69257, node heap has 3 buffer(s)
Hash table size 69257, node heap has 26 buffer(s)
Hash table size 69257, node heap has 0 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 13389186
Log flushed up to   13389186
Pages flushed up to 13389186
Last checkpoint at  13389177
0 pending log flushes, 0 pending chkp writes
12477 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 285212672
Dictionary memory allocated 144288
Buffer pool size   16024
Free buffers       14993
Database pages     961
Old database pages 374
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 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 803, created 158, written 14924
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 961, unzip_LRU len: 0
I/O sum[0]: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=900, Main thread ID=139793895728896, state: sleeping
Number of rows inserted 14, updated 3071, deleted 0, read 5099671
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 9758
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================