Déposer des fichiers ici

Téléversement SQL ( 0 ) x -

Faire Ctrl+Entrée pour exécuter la requête Faire Entrée pour exécuter la requête
croissant
décroissant
Ordre :
Déboguer SQL
Nombre
Ordre d'exécution
Temps nécessaire
Trier par :
Regrouper les requêtes
Dissocier les groupes
Réduire Développer Afficher le suivi Masquer le suivi Nombre : Temps écoulé :
Signets
Actualiser
Ajouter
Aucun signet
Ajouter un signet
Options
Restaurer les valeurs par défaut
Réduire Développer Exécuter la requête à nouveau Éditer Expliquer Profilage Signet La requête a échoué Base de données: Daté du:

Moteurs de stockage

InnoDB Documentation

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

[ Variables | Mémoire tampon | État InnoDB ]


=====================================
2025-11-09 03:11:19 0x7f0dbc799700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 11 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 6314 srv_active, 0 srv_shutdown, 4960 srv_idle
srv_master_thread log flush and writes: 11274
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 21261
OS WAIT ARRAY INFO: signal count 19108
RW-shared spins 0, rounds 8333, OS waits 4152
RW-excl spins 0, rounds 3249, OS waits 106
RW-sx spins 33, rounds 358, OS waits 5
Spin rounds per wait: 8333.00 RW-shared, 3249.00 RW-excl, 10.85 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-11-09 01:35:11 0x7f0dbc21e700 Transaction:
TRANSACTION 52118, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
3 lock struct(s), heap size 1136, 1 row lock(s), undo log entries 1
MySQL thread id 65466, OS thread handle 139696967640832, query id 2289757 192.168.30.20 root Update
INSERT INTO `ALUMNO`(`MATRICULA`, `APATERNO`, `AMATERNO`, `NOMBRE`, `SEXO`, `EDAD`, `CVECARRERA`) VALUES (5888, 'MORALES', 'ROSAS', 'ROSALINDA', 'FEMENINO', 23, 'C-02'),
(6999, 'CRUZ', 'CRUZ', 'JUAN', 'MASCULINO', 24, 'C-01'),
(7999, 'NUÑEZ', 'DOMINGUEZ', 'DANIEL', 'MASCULINO', 25, 'C-01')
Foreign key constraint fails for table `ALAZ`.`ALUMNO`:
,
  CONSTRAINT `ALUMNO_ibfk_1` FOREIGN KEY (`CVECARRERA`) REFERENCES `CARRERA` (`CVECARRERA`) in parent table, in index CVECARRERA tuple:
DATA TUPLE: 2 fields;
 0: len 20; hex 432d303220202020202020202020202020202020; asc C-02                ;;
 1: len 4; hex 80001700; asc     ;;

But in parent table `ALAZ`.`CARRERA`, 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 69272
Purge done for trx's n:o < 69272 undo n:o < 0 state: running but idle
History list length 7
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421171966894744, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421171966890488, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421171966886232, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421171966881976, 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, 98984 OS file writes, 48686 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 9.27 writes/s, 3.27 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)
3.09 hash searches/s, 0.45 non-hash searches/s
---
LOG
---
Log sequence number 30081305
Log flushed up to   30081184
Pages flushed up to 30078121
Last checkpoint at  30078078
0 pending log flushes, 0 pending chkp writes
29722 log i/o's done, 2.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 285212672
Dictionary memory allocated 154976
Buffer pool size   16024
Free buffers       14976
Database pages     982
Old database pages 342
Modified db pages  8
Percent of dirty pages(LRU & free pages): 0.050
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 278, written 61961
0.00 reads/s, 0.00 creates/s, 6.82 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: 982, 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=908, Main thread ID=139696218826496, state: sleeping
Number of rows inserted 439, updated 15022, deleted 0, read 989217
0.00 inserts/s, 0.82 updates/s, 0.00 deletes/s, 1.82 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 2057
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================