Solte os arquivos aqui

Envio de SQL ( 0 ) x -

Configurações da página Clique na barra para rolar até o topo da página
Pressione Ctrl+Enter para executar consulta Pressione Enter para executar consulta
ascendente
descendente
Ordem:
Depurar SQL
Contagem
Ordem de execução
Tempo gasto
Ordenar por:
Agrupar consultas
Desagrupar consultas
Recolher Expandir Mostrar rastro Ocultar rastro Contagem : Tempo gasto :
Favoritos
Atualizar
Adicionar
Sem marcador(es)
Adicionar marcador
Opções
Definir padrão





Recolher Expandir Repetir consulta Editar Demonstrar SQL Perfil Marcadores Falha na consulta Banco de dados : Tempo de execução da consulta :

Mecanismos de armazenamento

InnoDB Documentação

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

[ Variáveis | Pool de buffer | Status do InnoDB ]


=====================================
2026-02-07 06:47:02 0x30c INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 58 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 166 srv_active, 0 srv_shutdown, 27732 srv_idle
srv_master_thread log flush and writes: 27898
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 5521
OS WAIT ARRAY INFO: signal count 920
RW-shared spins 606, rounds 12788, OS waits 371
RW-excl spins 91, rounds 704, OS waits 4
RW-sx spins 0, rounds 0, OS waits 0
Spin rounds per wait: 21.10 RW-shared, 7.74 RW-excl, 0.00 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2026-02-07 02:23:04 0x184c Transaction:
TRANSACTION 89244, ACTIVE 0 sec updating or deleting
mysql tables in use 1, locked 1
4 lock struct(s), heap size 1128, 2 row lock(s), undo log entries 1
MySQL thread id 621, OS thread handle 6220, query id 12637 localhost ::1 root Updating
DELETE FROM entregadores WHERE id = '3'
Foreign key constraint fails for table `veloz_db`.`pedidos`:
,
  CONSTRAINT `pedidos_ibfk_2` FOREIGN KEY (`id_entregador`) REFERENCES `entregadores` (`id`)
Trying to delete or update in parent table, in index PRIMARY tuple:
DATA TUPLE: 18 fields;
 0: len 4; hex 80000003; asc     ;;
 1: len 6; hex 000000015c9c; asc     \ ;;
 2: len 7; hex 1a000001620611; asc     b  ;;
 3: len 5; hex 646572696f; asc derio;;
 4: len 21; hex 646572696f2e63737340686f746d61696c2e636f6d; asc derio.css@hotmail.com;;
 5: len 60; hex 2432792431302434495973517367686e55336632446c34636f4e6b4c4f494c69424161724a2e463559393243664f52764a4353536544685077353143; asc $2y$10$4IYsQsghnU3f2Dl4coNkLOILiBAarJ.F5Y92CfORvJCSSeDhPw51C;;
 6: len 14; hex 7275612070617261696261203831; asc rua paraiba 81;;
 7: len 8; hex 3232323232323232; asc 22222222;;
 8: len 1; hex 01; asc  ;;
 9: len 1; hex 81; asc  ;;
 10: len 1; hex 03; asc  ;;
 11: SQL NULL;
 12: SQL NULL;
 13: len 5; hex 99b90e0627; asc     ';;
 14: len 20; hex 75706c6f6164732f70657266696c5f332e6a7067; asc uploads/perfil_3.jpg;;
 15: len 15; hex 3434302e3838392e3737382d373420; asc 440.889.778-74 ;;
 16: len 17; hex 75706c6f6164732f636e685f332e6a7067; asc uploads/cnh_3.jpg;;
 17: len 18; hex 75706c6f6164732f63726c765f332e6a7067; asc uploads/crlv_3.jpg;;

But in child table `veloz_db`.`pedidos`, in index id_entregador, there is a record:
PHYSICAL RECORD: n_fields 2; compact format; info bits 0
 0: len 4; hex 80000003; asc     ;;
 1: len 4; hex 80000001; asc     ;;

------------
TRANSACTIONS
------------
Trx id counter 89679
Purge done for trx's n:o < 89679 undo n:o < 0 state: running but idle
History list length 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 284135920881880, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 284135920877712, 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
1055 OS file reads, 3074 OS file writes, 1696 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 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 4441, node heap has 1 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 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 1 buffer(s)
0.17 hash searches/s, 0.21 non-hash searches/s
---
LOG
---
Log sequence number 14954604
Log flushed up to   14954604
Pages flushed up to 14954604
Last checkpoint at  14954595
0 pending log flushes, 0 pending chkp writes
1096 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 92648
Buffer pool size   1003
Free buffers       744
Database pages     256
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 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 1019, created 174, written 1790
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: 256, 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=4952, Main thread ID=1968, state: sleeping
Number of rows inserted 18, updated 218, deleted 10, read 5588
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.17 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 674
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================