Supports transactions, row-level locking, foreign keys and encryption for tables
[ Variables | Buffer Pool | InnoDB Status ]
===================================== 2024-10-06 09:38:47 0x2708 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 7 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 43954 srv_active, 0 srv_shutdown, 106298 srv_idle srv_master_thread log flush and writes: 150252 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 206440 OS WAIT ARRAY INFO: signal count 290244 RW-shared spins 1494226, rounds 15478275, OS waits 103697 RW-excl spins 396997, rounds 2527207, OS waits 11887 RW-sx spins 287, rounds 2583, OS waits 59 Spin rounds per wait: 10.36 RW-shared, 6.37 RW-excl, 9.00 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 23733966 Purge done for trx's n:o < 23733966 undo n:o < 0 state: running but idle History list length 0 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 284159962564504, 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 284159962560336, 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 49996334 OS file reads, 317992 OS file writes, 141604 OS fsyncs 95.27 reads/s, 16384 avg bytes/read, 9.14 writes/s, 5.28 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 319, seg size 321, 73493 merges merged operations: insert 135875, delete mark 5835, delete 2507 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 0 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 4 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) 738.18 hash searches/s, 559.92 non-hash searches/s --- LOG --- Log sequence number 38004361007 Log flushed up to 38004361007 Pages flushed up to 38004361007 Last checkpoint at 38004360998 0 pending log flushes, 0 pending chkp writes 66838 log i/o's done, 2.86 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total large memory allocated 33554432 Dictionary memory allocated 9147112 Buffer pool size 1003 Free buffers 687 Database pages 303 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 803064, not young 2537529757 0.14 youngs/s, 0.57 non-youngs/s Pages read 49992669, created 1732, written 230817 95.27 reads/s, 0.29 creates/s, 5.28 writes/s Buffer pool hit rate 970 / 1000, young-making rate 0 / 1000 not 0 / 1000 Pages read ahead 9.00/s, evicted without access 0.00/s, Random read ahead 0.00/s LRU len: 303, unzip_LRU len: 0 I/O sum[4742]: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=4088, Main thread ID=8260, state: sleeping Number of rows inserted 59766, updated 5629, deleted 1588, read 4237807015 0.00 inserts/s, 1.29 updates/s, 0.00 deletes/s, 1797.03 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 ============================