Aktueller Server:
Dateien hier ablegen

SQL-Upload ( 0 ) x -

Drücken Sie Strg+Enter, um die Abfrage auszuführen Drücken Sie Enter, um die Abfrage auszuführen
aufsteigend
absteigend
Reihenfolge:
SQL Debugger
Zähler
Ausführungsreihenfolge
Nötige Zeit
Sortieren nach:
Abfragen umgruppieren
Abfragen voneinander lösen
Zuklappen Aufklappen Nachverfolgung anzeigen Nachverfolgung ausblenden Anzahl: Nötige Zeit:
Lesezeichen
Aktualisieren
Hinzufügen
Keine Lesezeichen
Lesezeichen hinzufügen
Optionen
Standardwerte wiederherstellen
Zuklappen Aufklappen Erneut abfragen Bearbeiten Erklären Messen Lesezeichen Abfrage fehlgeschlagen Datenbank: Abfragezeit:

Speicher-Engines

InnoDB Dokumentation

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

[ Variablen | Puffer-Pool | InnoDB-Status ]


=====================================
2025-11-13 07:03:46 0x7f259481d700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 29 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 13196 srv_active, 0 srv_shutdown, 11944 srv_idle
srv_master_thread log flush and writes: 25139
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 45329
OS WAIT ARRAY INFO: signal count 39319
RW-shared spins 0, rounds 18683, OS waits 9257
RW-excl spins 0, rounds 4447, OS waits 157
RW-sx spins 1, rounds 30, OS waits 1
Spin rounds per wait: 18683.00 RW-shared, 4447.00 RW-excl, 30.00 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-11-13 01:03:33 0x7f259497b700 Transaction:
TRANSACTION 45338, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
6 lock struct(s), heap size 1136, 10 row lock(s), undo log entries 6
MySQL thread id 40351, OS thread handle 139799383488256, query id 1344482 192.168.30.20 root Update
INSERT INTO LIBRO_AUTOR (CodLibro, CodAutor) VALUES
(1001, 801),
(1002, 801),
(1003, 802),
(1004, 803),
(1006, 803),
(1006, 804),
(1007, 803)
Foreign key constraint fails for table `Biblioteca_GCJM`.`LIBRO_AUTOR`:
,
  CONSTRAINT `LIBRO_AUTOR_ibfk_1` FOREIGN KEY (`CodLibro`) REFERENCES `LIBROS` (`CodLibro`) in parent table, in index PRIMARY tuple:
DATA TUPLE: 4 fields;
 0: len 4; hex 800003ef; asc     ;;
 1: len 4; hex 80000323; asc    #;;
 2: len 6; hex 00000000b11a; asc       ;;
 3: len 7; hex c80000021a1ebe; asc        ;;

But in parent table `Biblioteca_GCJM`.`LIBROS`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 4; compact format; info bits 0
 0: len 4; hex 800003ee; asc     ;;
 1: len 6; hex 000000000000; asc       ;;
 2: len 7; hex 80000000000000; asc        ;;
 3: len 12; hex 436c697070657220352e3031; asc Clipper 5.01;;

------------
TRANSACTIONS
------------
Trx id counter 100619
Purge done for trx's n:o < 100619 undo n:o < 0 state: running but idle
History list length 13
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421274364736152, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421274364731896, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421274364727640, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421274364723384, 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
863 OS file reads, 202028 OS file writes, 98961 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 9.55 writes/s, 4.66 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 9 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 25 buffer(s)
Hash table size 69257, node heap has 0 buffer(s)
5.52 hash searches/s, 0.79 non-hash searches/s
---
LOG
---
Log sequence number 49540292
Log flushed up to   49540272
Pages flushed up to 49533774
Last checkpoint at  49517607
0 pending log flushes, 0 pending chkp writes
62192 log i/o's done, 2.62 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 285212672
Dictionary memory allocated 138944
Buffer pool size   16024
Free buffers       15038
Database pages     920
Old database pages 338
Modified db pages  11
Percent of dirty pages(LRU & free pages): 0.069
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 704, created 216, written 126514
0.00 reads/s, 0.00 creates/s, 6.10 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: 920, unzip_LRU len: 0
I/O sum[0]:cur[2], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=900, Main thread ID=139798610167552, state: sleeping
Number of rows inserted 51, updated 30156, deleted 1, read 2277955
0.00 inserts/s, 1.34 updates/s, 0.00 deletes/s, 3.00 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 12241
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================