Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variabel | Penampungan Penyangga | Status InnoDB ]
===================================== 2024-10-06 09:35:15 0x780 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 9 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 15206 srv_active, 0 srv_shutdown, 162139 srv_idle srv_master_thread log flush and writes: 177345 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 292247 OS WAIT ARRAY INFO: signal count 384293 RW-shared spins 1563362, rounds 15889432, OS waits 282422 RW-excl spins 271927, rounds 1505817, OS waits 3239 RW-sx spins 320, rounds 3357, OS waits 91 Spin rounds per wait: 10.16 RW-shared, 5.54 RW-excl, 10.49 RW-sx ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 2024-10-04 19:28:51 0x10fc Transaction: TRANSACTION 27940928, ACTIVE 0 sec inserting mysql tables in use 1, locked 1 3 lock struct(s), heap size 1128, 1 row lock(s) MySQL thread id 230604, OS thread handle 4348, query id 1375773 localhost ::1 root Update Insert into mutasi_berkas values ('2024/10/11/000002','Sudah Dikirim','2024-10-04 10.32.04','0000-00-00 00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00','0000-00-00 00:00:00') Foreign key constraint fails for table `sik`.`mutasi_berkas`: , CONSTRAINT `mutasi_berkas_ibfk_1` FOREIGN KEY (`no_rawat`) REFERENCES `reg_periksa` (`no_rawat`) ON DELETE CASCADE ON UPDATE CASCADE in parent table, in index PRIMARY tuple: DATA TUPLE: 9 fields; 0: len 17; hex 323032342f31302f31312f303030303032; asc 2024/10/11/000002;; 1: len 6; hex 000001aa5840; asc X@;; 2: len 7; hex c30000034d020c; asc M ;; 3: len 1; hex 01; asc ;; 4: len 5; hex 99b488a804; asc ;; 5: len 5; hex 8000000000; asc ;; 6: len 5; hex 8000000000; asc ;; 7: len 5; hex 8000000000; asc ;; 8: len 5; hex 8000000000; asc ;; But in parent table `sik`.`reg_periksa`, in index PRIMARY, the closest match we can find is record: PHYSICAL RECORD: n_fields 21; compact format; info bits 0 0: len 17; hex 323032342f31302f31312f303030303031; asc 2024/10/11/000001;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 3; hex 303031; asc 001;; 4: len 3; hex 8fd14b; asc K;; 5: len 3; hex 8054f6; asc T ;; 6: len 10; hex 32303231303432333937; asc 2021042397;; 7: len 6; hex 303439303739; asc 049079;; 8: len 5; hex 5530303033; asc U0003;; 9: len 1; hex 2d; asc -;; 10: len 30; hex 4b50204d454c415449202c204b454c55524148414e2c204b4543414d4154; asc KP MELATI , KELURAHAN, KECAMAT; (total 53 bytes); 11: len 7; hex 53415544415241; asc SAUDARA;; 12: len 8; hex 00000000004ccd40; asc L @;; 13: len 1; hex 01; asc ;; 14: len 1; hex 02; asc ;; 15: len 1; hex 01; asc ;; 16: len 3; hex 42504a; asc BPJ;; 17: len 4; hex 80000041; asc A;; 18: len 1; hex 01; asc ;; 19: len 1; hex 02; asc ;; 20: len 1; hex 01; asc ;; ------------ TRANSACTIONS ------------ Trx id counter 28034609 Purge done for trx's n:o < 28019299 undo n:o < 0 state: running but idle History list length 694 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 284034708853768, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708845416, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708920584, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708912232, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708908056, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708899704, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708895528, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708891352, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708887176, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708883000, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708878824, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708857944, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708874648, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708870472, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708816184, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708866296, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708862120, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708841240, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708828712, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708820360, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708812008, ACTIVE 1749 sec 0 lock struct(s), heap size 1128, 0 row lock(s) MySQL thread id 545561, OS thread handle 1920, query id 3371728 192.168.10.61 root Trx read view will not see trx with id >= 28019298, sees < 28019298 ---TRANSACTION 284034708837064, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708832888, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708849592, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708807832, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708916408, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708903880, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284034708824536, 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 26616806 OS file reads, 383338 OS file writes, 178967 OS fsyncs 49.55 reads/s, 16384 avg bytes/read, 7.33 writes/s, 4.56 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 76, seg size 78, 61328 merges merged operations: insert 126057, delete mark 15156, delete 4069 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) 718.03 hash searches/s, 113.88 non-hash searches/s --- LOG --- Log sequence number 5680375016 Log flushed up to 5680375016 Pages flushed up to 5680375016 Last checkpoint at 5680374973 0 pending log flushes, 0 pending chkp writes 95592 log i/o's done, 2.78 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 7076304 Buffer pool size 1003 Free buffers 733 Database pages 262 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 3191661, not young 1952867004 0.00 youngs/s, 990.89 non-youngs/s Pages read 26613976, created 2236, written 263358 49.55 reads/s, 0.00 creates/s, 3.89 writes/s Buffer pool hit rate 979 / 1000, young-making rate 0 / 1000 not 404 / 1000 Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s LRU len: 262, unzip_LRU len: 0 I/O sum[3774]:cur[2], unzip sum[0]:cur[0] -------------- ROW OPERATIONS -------------- 0 queries inside InnoDB, 0 queries in queue 1 read views open inside InnoDB Process ID=3552, Main thread ID=4952, state: sleeping Number of rows inserted 75670, updated 6433, deleted 5402, read 3381389185 0.00 inserts/s, 1.67 updates/s, 0.00 deletes/s, 905.45 reads/s Number of system rows inserted 0, updated 0, deleted 0, read 115029 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================