Letakkan berkas disini

SQL upload ( 0 ) x-

Server: localhost
Pengaturan Terkait dengan HalamanKlik 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-05 10:07:46 0x7fa040328700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 44 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 171062 srv_active, 0 srv_shutdown, 241130 srv_idle
srv_master_thread log flush and writes: 412097
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 2555132
OS WAIT ARRAY INFO: signal count 1506565
RW-shared spins 0, rounds 557341, OS waits 110759
RW-excl spins 0, rounds 78487, OS waits 1272
RW-sx spins 167, rounds 2696, OS waits 43
Spin rounds per wait: 557341.00 RW-shared, 78487.00 RW-excl, 16.14 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2026-02-05 10:05:47 0x7f9ea8290700 Transaction:
TRANSACTION 229631808, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
5 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 1
MySQL thread id 4535297, OS thread handle 140319402821376, query id 88942332 192.168.123.21 root Update
insert into rujuk_masuk values('2026/02/05/000044','Klinik Sukses Medika','-','0145B0150226P000032','0','Klinik Sukses Medika','Z48.8','-','-','')
Foreign key constraint fails for table `sik`.`rujuk_masuk`:
,
  CONSTRAINT `rujuk_masuk_ibfk_2` FOREIGN KEY (`kd_penyakit`) REFERENCES `penyakit` (`kd_penyakit`) ON UPDATE CASCADE in parent table, in index kd_penyakit tuple:
DATA TUPLE: 2 fields;
 0: len 5; hex 5a34382e38; asc Z48.8;;
 1: len 17; hex 323032362f30322f30352f303030303434; asc 2026/02/05/000044;;

But in parent table `sik`.`penyakit`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 8; compact format; info bits 0
 0: len 3; hex 5a3439; asc Z49;;
 1: len 6; hex 000000000000; asc       ;;
 2: len 7; hex 80000000000000; asc        ;;
 3: len 23; hex 4361726520696e766f6c76696e67206469616c79736973; asc Care involving dialysis;;
 4: len 1; hex 2d; asc -;;
 5: len 1; hex 2d; asc -;;
 6: len 1; hex 2d; asc -;;
 7: len 1; hex 02; asc  ;;

------------
TRANSACTIONS
------------
Trx id counter 229684147
Purge done for trx's n:o < 229684147 undo n:o < 0 state: running
History list length 2
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421803186245240, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186253752, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186249496, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186236728, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186240984, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186232472, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186228216, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186168632, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186219704, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186223960, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186215448, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186202680, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186206936, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186211192, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186198424, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186194168, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186181400, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186189912, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186185656, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186155864, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186160120, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186177144, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186164376, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186172888, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421803186151608, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
I/O thread 1 state: waiting for i/o request (log thread)
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (read thread)
I/O thread 4 state: waiting for i/o request (read thread)
I/O thread 5 state: waiting for i/o request (read thread)
I/O thread 6 state: waiting for i/o request (write thread)
I/O thread 7 state: waiting for i/o request (write thread)
I/O thread 8 state: waiting for i/o request (write thread)
I/O thread 9 state: waiting for i/o request (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
106456 OS file reads, 2671638 OS file writes, 1835075 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 15.66 writes/s, 8.50 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 5, seg size 7, 441 merges
merged operations:
 insert 508, delete mark 1, delete 0
discarded operations:
 insert 0, delete mark 0, delete 0
Hash table size 1593833, node heap has 28 buffer(s)
Hash table size 1593833, node heap has 64 buffer(s)
Hash table size 1593833, node heap has 588 buffer(s)
Hash table size 1593833, node heap has 50 buffer(s)
Hash table size 1593833, node heap has 43 buffer(s)
Hash table size 1593833, node heap has 97 buffer(s)
Hash table size 1593833, node heap has 373 buffer(s)
Hash table size 1593833, node heap has 249 buffer(s)
89225.27 hash searches/s, 1123.77 non-hash searches/s
---
LOG
---
Log sequence number 29176536676
Log flushed up to   29176536655
Pages flushed up to 29176290384
Last checkpoint at  29176290384
0 pending log flushes, 0 pending chkp writes
1079584 log i/o's done, 7.14 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 6610223104
Dictionary memory allocated 8109520
Buffer pool size   384720
Free buffers       278883
Database pages     104345
Old database pages 38606
Modified db pages  108
Percent of dirty pages(LRU & free pages): 0.028
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 157, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 103417, created 928, written 1256495
0.00 reads/s, 0.00 creates/s, 8.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: 104345, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
----------------------
INDIVIDUAL BUFFER POOL INFO
----------------------
---BUFFER POOL 0
Buffer pool size   48090
Free buffers       34903
Database pages     13000
Old database pages 4817
Modified db pages  3
Percent of dirty pages(LRU & free pages): 0.006
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 14, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 12857, created 143, written 299005
0.00 reads/s, 0.00 creates/s, 0.93 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: 13000, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 1
Buffer pool size   48090
Free buffers       34653
Database pages     13256
Old database pages 4911
Modified db pages  4
Percent of dirty pages(LRU & free pages): 0.008
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 25, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 13218, created 38, written 19343
0.00 reads/s, 0.00 creates/s, 0.02 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: 13256, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 2
Buffer pool size   48090
Free buffers       34971
Database pages     12926
Old database pages 4783
Modified db pages  2
Percent of dirty pages(LRU & free pages): 0.004
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 13, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 12826, created 100, written 69918
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: 12926, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 3
Buffer pool size   48090
Free buffers       34685
Database pages     13218
Old database pages 4896
Modified db pages  67
Percent of dirty pages(LRU & free pages): 0.140
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 15, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 13063, created 155, written 386628
0.00 reads/s, 0.00 creates/s, 2.30 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: 13218, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 4
Buffer pool size   48090
Free buffers       34018
Database pages     13887
Old database pages 5141
Modified db pages  3
Percent of dirty pages(LRU & free pages): 0.006
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 17, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 13760, created 127, written 246938
0.00 reads/s, 0.00 creates/s, 1.50 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: 13887, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 5
Buffer pool size   48090
Free buffers       34820
Database pages     13080
Old database pages 4831
Modified db pages  2
Percent of dirty pages(LRU & free pages): 0.004
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 23, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 13009, created 71, written 95501
0.00 reads/s, 0.00 creates/s, 0.41 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: 13080, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 6
Buffer pool size   48090
Free buffers       35697
Database pages     12211
Old database pages 4495
Modified db pages  7
Percent of dirty pages(LRU & free pages): 0.015
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 33, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 12070, created 141, written 53704
0.00 reads/s, 0.00 creates/s, 1.16 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: 12211, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 7
Buffer pool size   48090
Free buffers       35136
Database pages     12767
Old database pages 4732
Modified db pages  20
Percent of dirty pages(LRU & free pages): 0.042
Max dirty pages percent: 75.000
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 17, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 12614, created 153, written 85458
0.00 reads/s, 0.00 creates/s, 1.68 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: 12767, 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=1110, Main thread ID=140319504148224, state: sleeping
Number of rows inserted 111385, updated 507991, deleted 79955, read 9054427692
0.07 inserts/s, 6.02 updates/s, 0.00 deletes/s, 105068.86 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 1825830
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================