Storage engines
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variables | Buffer Pool | InnoDB Status ]
===================================== 2026-05-05 17:30:30 0x33fc INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 49 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 14628 srv_active, 0 srv_shutdown, 403718 srv_idle srv_master_thread log flush and writes: 418346 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 80490 OS WAIT ARRAY INFO: signal count 20825 RW-shared spins 12848, rounds 367169, OS waits 12123 RW-excl spins 3442, rounds 17677, OS waits 285 RW-sx spins 101, rounds 980, OS waits 19 Spin rounds per wait: 28.58 RW-shared, 5.14 RW-excl, 9.70 RW-sx ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 2026-05-03 11:37:56 0x2028 Transaction: TRANSACTION 7228, 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 3036, OS thread handle 8232, query id 500238 localhost 127.0.0.1 root Updating UPDATE transaksi_keuangan SET cabang_id = ?, tipe_transaksi = ?, kategori = ?, nominal = ?, keterangan = ?, akun_kas_id = ?, tanggal_waktu = ? WHERE id = ? Foreign key constraint fails for table `ayyub_pos_db`.`transaksi_keuangan`: , CONSTRAINT `transaksi_keuangan_ibfk_1` FOREIGN KEY (`cabang_id`) REFERENCES `cabang` (`id`) in parent table, in index idx_dashboard_transaksi tuple: DATA TUPLE: 3 fields; 0: len 4; hex 80000000; asc ;; 1: len 5; hex 99b982b978; asc x;; 2: len 4; hex 80000005; asc ;; But in parent table `ayyub_pos_db`.`cabang`, in index PRIMARY, the closest match we can find is record: PHYSICAL RECORD: n_fields 9; compact format; info bits 0 0: len 4; hex 80000001; asc ;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 7; hex 4342472d303031; asc CBG-001;; 4: len 20; hex 4179797562204b6f6d7075746572205075736174; asc Ayyub Komputer Pusat;; 5: len 18; hex 4a6c2e205075736174204954204e6f2e2031; asc Jl. Pusat IT No. 1;; 6: len 12; hex 303831323334353637383930; asc 081234567890;; 7: len 1; hex 81; asc ;; 8: len 4; hex 69e17e80; asc i ~ ;; ------------ TRANSACTIONS ------------ Trx id counter 41675 Purge done for trx's n:o < 41675 undo n:o < 0 state: running but idle History list length 0 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 282952295289048, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 282952295284880, 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 49327 OS file reads, 162956 OS file writes, 104511 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 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 2 buffer(s) Hash table size 4441, node heap has 1 buffer(s) 1.61 hash searches/s, 3.51 non-hash searches/s --- LOG --- Log sequence number 29490461 Log flushed up to 29490461 Pages flushed up to 29490461 Last checkpoint at 29490452 0 pending log flushes, 0 pending chkp writes 55296 log i/o's done, 0.00 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 262920 Buffer pool size 1003 Free buffers 729 Database pages 265 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 31, not young 73 0.00 youngs/s, 0.00 non-youngs/s Pages read 49231, created 1223, written 91267 0.00 reads/s, 0.00 creates/s, 0.00 writes/s Buffer pool hit rate 1000 / 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: 265, 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=3360, Main thread ID=4644, state: sleeping Number of rows inserted 18555, updated 16713, deleted 113, read 3162296 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 1.61 reads/s Number of system rows inserted 0, updated 0, deleted 0, read 97626 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================