Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variables | Buffer Pool | InnoDB Status ]
===================================== 2024-10-06 11:31:53 0xf34 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 2 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 46280 srv_active, 0 srv_shutdown, 110666 srv_idle srv_master_thread log flush and writes: 156946 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 214454 OS WAIT ARRAY INFO: signal count 298787 RW-shared spins 1531710, rounds 15858359, OS waits 107161 RW-excl spins 407678, rounds 2594511, OS waits 12393 RW-sx spins 299, rounds 2795, OS waits 64 Spin rounds per wait: 10.35 RW-shared, 6.36 RW-excl, 9.35 RW-sx ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 2024-10-05 17:27:13 0x360c Transaction: TRANSACTION 23686235, 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 1288845, OS thread handle 13836, query id 5605686 DESKTOP-LUPVTRD 192.168.2.76 root Update insert into data_triase_igd values('Belum','2024-10-05 17:22:51','Jalan','-','Datang Sendiri','-','005',' 130/80','87','20','36,8','98','5') Foreign key constraint fails for table `mesrabaru`.`data_triase_igd`: , CONSTRAINT `data_triase_igd_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: 15 fields; 0: len 5; hex 42656c756d; asc Belum;; 1: len 6; hex 000001696c5b; asc il[;; 2: len 7; hex 9d000009092a35; asc *5;; 3: len 5; hex 99b48b15b3; asc ;; 4: len 1; hex 01; asc ;; 5: len 1; hex 01; asc ;; 6: len 1; hex 01; asc ;; 7: len 1; hex 2d; asc -;; 8: len 3; hex 303035; asc 005;; 9: len 7; hex 203133302f3830; asc 130/80;; 10: len 2; hex 3837; asc 87;; 11: len 2; hex 3230; asc 20;; 12: len 4; hex 33362c38; asc 36,8;; 13: len 2; hex 3938; asc 98;; 14: len 1; hex 35; asc 5;; But in parent table `mesrabaru`.`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 1; hex 39; asc 9;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 3; hex 303033; asc 003;; 4: len 3; hex 8fcabc; asc ;; 5: len 3; hex 807b68; asc {h;; 6: len 8; hex 4430303030303136; asc D0000016;; 7: len 6; hex 313133323231; asc 113221;; 8: len 5; hex 4947444b20; asc IGDK ;; 9: len 12; hex 495441204d415954412e4e59; asc ITA MAYTA.NY;; 10: len 28; hex 4a4c2052414a4157414c49203030332f3030342c202d2c202d2c202d; asc JL RAJAWALI 003/004, -, -, -;; 11: len 7; hex 53415544415241; asc SAUDARA;; 12: len 8; hex 0000000000000000; asc ;; 13: len 1; hex 02; asc ;; 14: len 1; hex 03; asc ;; 15: len 1; hex 01; asc ;; 16: len 3; hex 554d31; asc UM1;; 17: len 4; hex 80000018; asc ;; 18: len 1; hex 01; asc ;; 19: len 1; hex 01; asc ;; 20: len 1; hex 02; asc ;; ------------ TRANSACTIONS ------------ Trx id counter 23743778 Purge done for trx's n:o < 23743778 undo n:o < 0 state: running but idle History list length 5 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 284159962560336, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962552000, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962547832, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962543664, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962539496, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962489480, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962535328, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962531160, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962522824, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962476976, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962518656, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962510320, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962506152, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962501984, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962472808, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962464472, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962493648, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962485312, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962460304, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962481144, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962514488, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962497816, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962526992, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962468640, not started 0 lock struct(s), heap size 1128, 0 row lock(s) ---TRANSACTION 284159962556168, 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 51802153 OS file reads, 336470 OS file writes, 151015 OS fsyncs 8.00 reads/s, 16384 avg bytes/read, 5.50 writes/s, 3.00 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 319, seg size 321, 76310 merges merged operations: insert 140123, delete mark 6005, delete 2565 discarded operations: insert 0, delete mark 0, delete 0 Hash table size 4441, node heap has 2 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 2 buffer(s) Hash table size 4441, node heap has 1 buffer(s) 74.96 hash searches/s, 183.41 non-hash searches/s --- LOG --- Log sequence number 38006989886 Log flushed up to 38006989886 Pages flushed up to 38006989886 Last checkpoint at 38006985802 0 pending log flushes, 0 pending chkp writes 71435 log i/o's done, 1.50 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 9147112 Buffer pool size 1003 Free buffers 738 Database pages 256 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 828293, not young 2627796085 0.00 youngs/s, 0.00 non-youngs/s Pages read 51798488, created 1843, written 243260 8.00 reads/s, 0.00 creates/s, 3.50 writes/s Buffer pool hit rate 987 / 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: 256, unzip_LRU len: 0 I/O sum[4810]:cur[7], unzip sum[0]:cur[0] -------------- ROW OPERATIONS -------------- 0 queries inside InnoDB, 0 queries in queue 0 read views open inside InnoDB Process ID=4088, Main thread ID=8260, state: sleeping Number of rows inserted 62520, updated 6345, deleted 1620, read 4352724878 0.00 inserts/s, 1.00 updates/s, 0.00 deletes/s, 2075.46 reads/s Number of system rows inserted 0, updated 0, deleted 0, read 199616 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================