قم إفلات الملفات هنا

SQL upload ( 0 ) x -

Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
ترتيب:
تصحيح SQL
Count
Execution order
Time taken
ترتيب حسب:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace عد: الوقت المستغرق:
Bookmarks
تحديث
إضافة
لا توجد إشارات مرجعية
إضافة للمفضلة
خيارات
Restore default values
Collapse Expand Requery تعديل Explain جانبي Bookmark Query failed قاعدة البيانات: Queried time:

Storage engines

InnoDB مستندات وثائقية

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

[ متغيرات | Buffer Pool | وضع InnoDB ]


=====================================
2025-11-08 22:21:44 0x7f39a8d2d700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 37 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 24476 srv_active, 0 srv_shutdown, 17786 srv_idle
srv_master_thread log flush and writes: 42257
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 79117
OS WAIT ARRAY INFO: signal count 71126
RW-shared spins 0, rounds 29811, OS waits 14726
RW-excl spins 0, rounds 10992, OS waits 377
RW-sx spins 1, rounds 30, OS waits 1
Spin rounds per wait: 29811.00 RW-shared, 10992.00 RW-excl, 30.00 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2025-11-08 15:06:00 0x7f39a8dc3700 Error in foreign key constraint of table `HospitalDeEnfermeria`.`Personal_Asignado_Sala`:
FOREIGN KEY (Anio_Distribucion, NumeroSala) REFERENCES Distribucion_Anual_Salas(Anio_Distribucion, NumeroSala),
    FOREIGN KEY (DNI_Personal) REFERENCES Empleado(DNI_Personal)
):
Cannot find an index in the referenced table where the
referenced columns appear as the first columns, or column types
in the table and the referenced table do not match for constraint.
Note that the internal storage type of ENUM and SET changed in
tables created with >= InnoDB-4.1.12, and such columns in old tables
cannot be referenced by such columns in new tables.
Please refer to https://mariadb.com/kb/en/library/foreign-keys/ for correct foreign key definition.
Create  table `HospitalDeEnfermeria`.`Personal_Asignado_Sala` with foreign key constraint failed. There is no index in the referenced table where the referenced columns appear as the first columns near 'FOREIGN KEY (Anio_Distribucion, NumeroSala) REFERENCES Distribucion_Anual_Salas(Anio_Distribucion, NumeroSala),
    FOREIGN KEY (DNI_Personal) REFERENCES Empleado(DNI_Personal)
)'.
------------
TRANSACTIONS
------------
Trx id counter 162431
Purge done for trx's n:o < 162431 undo n:o < 0 state: running but idle
History list length 1
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421360620897080, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421360620892824, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421360620888568, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421360620884312, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421360620880056, 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, 387150 OS file writes, 186545 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 9.22 writes/s, 4.41 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)
4.89 hash searches/s, 0.43 non-hash searches/s
---
LOG
---
Log sequence number 93477243
Log flushed up to   93477243
Pages flushed up to 93477243
Last checkpoint at  93477200
0 pending log flushes, 0 pending chkp writes
115171 log i/o's done, 2.76 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 285212672
Dictionary memory allocated 160320
Buffer pool size   16024
Free buffers       15013
Database pages     943
Old database pages 336
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 704, created 239, written 243720
0.00 reads/s, 0.00 creates/s, 5.86 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: 943, 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=139884937344768, state: sleeping
Number of rows inserted 5, updated 59799, deleted 0, read 3001029
0.00 inserts/s, 1.19 updates/s, 0.00 deletes/s, 2.65 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 11950
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================