Aktuel server:
Drop filerne her

SQL upload ( 0 ) x -

Tast Ctrl+Enter for at udføre forespørgsel Tast Enter for at udføre forespørgsel
Stigende
Faldende
Rækkefølge:
Ret fejl i SQL
Antal
Rækkefølge for udførelse
Tidsforbrug
Rækkefølge:
Gruppér SQL-forespørgsler
Opløs gruppering af SQL-forespørgsler
Fold sammen Fold ud Vis sporing Skjul sporing Antal: Tidsforbrug:
Bogmærker
Opdater
Tilføj
Ingen bogmærker
Tilføj bogmærke
Indstillinger
Restore default values
Fold sammen Fold ud Genforespørg Ret Forklar Profilering Bogmærke Forespørgslen mislykkedes Database: Tid på forespørgsel:

Storage engines

InnoDB Dokumentation

Supports transactions, row-level locking, foreign keys and encryption for tables

[ Variable | Bufferpool | InnoDB status ]


=====================================
2025-11-20 09:32:42 0x7ff7844e9700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 3 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 19227 srv_active, 0 srv_shutdown, 14809 srv_idle
srv_master_thread log flush and writes: 34029
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 68550
OS WAIT ARRAY INFO: signal count 58333
RW-shared spins 0, rounds 23398, OS waits 11592
RW-excl spins 0, rounds 9384, OS waits 329
RW-sx spins 6, rounds 174, OS waits 4
Spin rounds per wait: 23398.00 RW-shared, 9384.00 RW-excl, 29.00 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-11-20 02:13:49 0x7ff784485700 Transaction:
TRANSACTION 67671, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
3 lock struct(s), heap size 1136, 1 row lock(s)
MySQL thread id 93575, OS thread handle 140701052983040, query id 3157282 192.168.30.20 root Update
INSERT INTO SUIVIE(id_utilisateur,id_ami)
VALUES
(1,3),
(1,4),
(2,4),
(3,4)
Foreign key constraint fails for table `entrainer`.`SUIVIE`:
,
  CONSTRAINT `fk_suivie1` FOREIGN KEY (`id_utilisateur`) REFERENCES `UTILISATEUR` (`id_utilisateur`) ON DELETE CASCADE ON UPDATE CASCADE in parent table, in index PRIMARY tuple:
DATA TUPLE: 4 fields;
 0: len 4; hex 80000001; asc     ;;
 1: len 4; hex 80000003; asc     ;;
 2: len 6; hex 000000010857; asc      W;;
 3: len 7; hex 80000000000000; asc        ;;

But in parent table `entrainer`.`UTILISATEUR`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 1; compact format; info bits 0
 0: len 8; hex 696e66696d756d00; asc infimum ;;

------------
TRANSACTIONS
------------
Trx id counter 132007
Purge done for trx's n:o < 132007 undo n:o < 0 state: running but idle
History list length 6
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 422176035869336, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 422176035865080, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 422176035860824, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 422176035856568, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
--------
FILE I/O
--------
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (write thread)
I/O thread 7 state: waiting for completed aio requests (write thread)
I/O thread 8 state: waiting for completed aio requests (write thread)
I/O thread 9 state: waiting for completed aio requests (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
864 OS file reads, 298611 OS file writes, 150931 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 22.99 writes/s, 5.33 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 69257, node heap has 1 buffer(s)
Hash table size 69257, node heap has 10 buffer(s)
Hash table size 69257, node heap has 2 buffer(s)
Hash table size 69257, node heap has 25 buffer(s)
Hash table size 69257, node heap has 1 buffer(s)
Hash table size 69257, node heap has 3 buffer(s)
Hash table size 69257, node heap has 26 buffer(s)
Hash table size 69257, node heap has 0 buffer(s)
5.33 hash searches/s, 2.00 non-hash searches/s
---
LOG
---
Log sequence number 69424375
Log flushed up to   69424375
Pages flushed up to 69424375
Last checkpoint at  69424332
0 pending log flushes, 0 pending chkp writes
89201 log i/o's done, 3.33 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 285212672
Dictionary memory allocated 157648
Buffer pool size   16024
Free buffers       15048
Database pages     908
Old database pages 329
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 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 705, created 203, written 185728
0.00 reads/s, 0.00 creates/s, 18.99 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: 908, 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=902, Main thread ID=140700284864256, state: sleeping
Number of rows inserted 8, updated 45671, deleted 3, read 3358501
0.00 inserts/s, 1.67 updates/s, 0.00 deletes/s, 3.33 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 17407
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================