Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count Time taken
Options
Set default





Collapse Expand Requery Edit Explain Profiling Query failed Database : Queried time :

Storage engines

InnoDB Documentation

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

[ Variables | Buffer Pool | InnoDB Status ]


=====================================
2024-11-15 01:56:27 0x1fe8 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 28 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 7037 srv_active, 0 srv_shutdown, 623387 srv_idle
srv_master_thread log flush and writes: 630424
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 117908
OS WAIT ARRAY INFO: signal count 22029
RW-shared spins 14181, rounds 413959, OS waits 13587
RW-excl spins 1923, rounds 12796, OS waits 164
RW-sx spins 87, rounds 1001, OS waits 21
Spin rounds per wait: 29.19 RW-shared, 6.65 RW-excl, 11.51 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2024-11-11 11:26:00 0x1b0 Transaction:
TRANSACTION 1086426, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
3 lock struct(s), heap size 1128, 1 row lock(s), undo log entries 1
MySQL thread id 68036, OS thread handle 432, query id 303747 localhost ::1 root Update
INSERT INTO logs (idLog, idUsuario, modulo, tipoMovimiento, detalle, fecha) VALUES (NULL,'','EVENTOS','MODIFICAR','update eventos  set nombreEvento=\'Santos Laguna vs Toluca Varonil\'\r\n		  ,fechainicio=\'2024-09-22 05:00:00\'\r\n		  ,fechafin=\'2024-09-23 23:59:59\'\r\n		  ,aforoEstimado=\'9074\'\r\n		  ,aforoReal=\'9074\'\r\n		  ,Estatus=\'2\' where idEvento=31;', now())
Foreign key constraint fails for table `simple_invoice_csl`.`logs`:
,
  CONSTRAINT `fk_logs_users` FOREIGN KEY (`idUsuario`) REFERENCES `users` (`user_id`) in parent table, in index fk_logs_users tuple:
DATA TUPLE: 2 fields;
 0: len 4; hex 80000000; asc     ;;
 1: len 4; hex 80000021; asc    !;;

But in parent table `simple_invoice_csl`.`users`, in index PRIMARY,
the closest match we can find is record:
PHYSICAL RECORD: n_fields 11; compact format; info bits 0
 0: len 4; hex 80000001; asc     ;;
 1: len 6; hex 000000000000; asc       ;;
 2: len 7; hex 80000000000000; asc        ;;
 3: len 4; hex 45646572; asc Eder;;
 4: len 6; hex 56616c6f6973; asc Valois;;
 5: len 5; hex 61646d696e; asc admin;;
 6: len 30; hex 24327924313024315639756a51455a644c594e643055336c6f75796a7573; asc $2y$10$1V9ujQEZdLYNd0U3louyjus; (total 60 bytes);
 7: len 15; hex 61646d696e4061646d696e2e636f6d; asc admin@admin.com;;
 8: len 5; hex 99996af180; asc   j  ;;
 9: len 4; hex 80000001; asc     ;;
 10: SQL DEFAULT;

------------
TRANSACTIONS
------------
Trx id counter 1131386
Purge done for trx's n:o < 1131317 undo n:o < 0 state: running but idle
History list length 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283728029069456, 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
60966 OS file reads, 121198 OS file writes, 70181 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, 436 merges
merged operations:
 insert 2394, delete mark 1, delete 0
discarded operations:
 insert 0, delete mark 0, delete 0
Hash table size 4441, node heap has 2 buffer(s)
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 1 buffer(s)
Hash table size 4441, node heap has 1 buffer(s)
Hash table size 4441, node heap has 1 buffer(s)
Hash table size 4441, node heap has 1 buffer(s)
Hash table size 4441, node heap has 1 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 158945443
Log flushed up to   158945443
Pages flushed up to 158945443
Last checkpoint at  158945434
0 pending log flushes, 0 pending chkp writes
45342 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 1304584
Buffer pool size   1003
Free buffers       672
Database pages     323
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 575, not young 55545
0.00 youngs/s, 0.00 non-youngs/s
Pages read 60455, created 779, written 67228
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 323, 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=15856, Main thread ID=25576, state: sleeping
Number of rows inserted 11707, updated 2728, deleted 351, read 3470838916
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 6020
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================