Letakkan berkas disini

SQL upload ( 0 ) x -

Pengaturan Terkait dengan Halaman Klik pada bar untuk menggulir ke atas halaman
Tekan Ctrl+Enter untuk menjalankan kueri Press Enter to execute query
ascending
descending
Order:
Men-Debug SQL
Jumlah
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Tampilkan Buka Show trace Hide trace Jumlah : Time taken :
Bookmark
Segarkan
Tambah
Tidak ada penanda
Tambah bookmark
Opsi
Kembalikan nilai bawaan





Tampilkan Buka Kueri ulang Ubah Jelaskan Profil Bookmarks Kueri gagal Basis data : Waktu eksekusi kueri :

Storage engines

InnoDB Dokumentasi

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

[ Variabel | Penampungan Penyangga | Status InnoDB ]


=====================================
2026-02-15 10:10:16 0x1418 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 63 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 9777 srv_active, 0 srv_shutdown, 142729 srv_idle
srv_master_thread log flush and writes: 152506
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 16398
OS WAIT ARRAY INFO: signal count 16022
RW-shared spins 12041, rounds 352304, OS waits 11689
RW-excl spins 2197, rounds 16283, OS waits 57
RW-sx spins 14, rounds 231, OS waits 4
Spin rounds per wait: 29.26 RW-shared, 7.41 RW-excl, 16.50 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2026-02-13 23:12:29 0x1adc Transaction:
TRANSACTION 592, 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 675, OS thread handle 6876, query id 24863 localhost 127.0.0.1 root Updating
DELETE FROM `tickets` WHERE `tickets`.`id` = 1
Foreign key constraint fails for table `mavticketing`.`approvals`:
,
  CONSTRAINT `approvals_ibfk_1` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`)
Trying to delete or update in parent table, in index PRIMARY tuple:
DATA TUPLE: 14 fields;
 0: len 8; hex 8000000000000001; asc         ;;
 1: len 6; hex 000000000250; asc      P;;
 2: len 7; hex 6c000001990292; asc l      ;;
 3: len 15; hex 4c4a4d415632303236303230303031; asc LJMAV2026020001;;
 4: len 7; hex 47696c62657274; asc Gilbert;;
 5: len 13; hex 36323831323837333636343731; asc 6281287366471;;
 6: len 4; hex 80000004; asc     ;;
 7: len 4; hex 74657374; asc test;;
 8: len 4; hex 74657374; asc test;;
 9: len 1; hex 02; asc  ;;
 10: len 1; hex 03; asc  ;;
 11: SQL NULL;
 12: len 5; hex 99b91b6a89; asc    j ;;
 13: len 5; hex 99b91b6b6d; asc    km;;

But in child table `mavticketing`.`approvals`, in index ticket_id, there is a record:
PHYSICAL RECORD: n_fields 2; compact format; info bits 0
 0: len 8; hex 8000000000000001; asc         ;;
 1: len 8; hex 8000000000000001; asc         ;;

------------
TRANSACTIONS
------------
Trx id counter 22598
Purge done for trx's n:o < 22598 undo n:o < 0 state: running but idle
History list length 3
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 284224342372568, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 284224342368400, 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
20007 OS file reads, 111708 OS file writes, 76467 OS fsyncs
1.87 reads/s, 16384 avg bytes/read, 8.95 writes/s, 5.30 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 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 0 buffer(s)
Hash table size 4441, node heap has 1 buffer(s)
6.67 hash searches/s, 17.29 non-hash searches/s
---
LOG
---
Log sequence number 13735699
Log flushed up to   13735679
Pages flushed up to 13734465
Last checkpoint at  13727647
0 pending log flushes, 0 pending chkp writes
43823 log i/o's done, 2.67 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 135216
Buffer pool size   1003
Free buffers       739
Database pages     257
Old database pages 0
Modified db pages  3
Percent of dirty pages(LRU & free pages): 0.301
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 19971, created 761, written 56918
1.87 reads/s, 0.05 creates/s, 5.44 writes/s
Buffer pool hit rate 973 / 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: 257, unzip_LRU len: 0
I/O sum[357]:cur[1], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=4108, Main thread ID=996, state: sleeping
Number of rows inserted 211, updated 10597, deleted 36, read 252406
0.00 inserts/s, 1.14 updates/s, 0.00 deletes/s, 39.65 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 20755
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================