Механизмы хранилища
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[
Переменные
|
Буферный пул
|
Состояние InnoDB
]
=====================================
2025-03-15 06:28:22 0x7f4ce026d700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 49 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 99401 srv_active, 0 srv_shutdown, 461861 srv_idle
srv_master_thread log flush and writes: 561167
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 211900
OS WAIT ARRAY INFO: signal count 183234
RW-shared spins 143059, rounds 4291326, OS waits 142755
RW-excl spins 3, rounds 90, OS waits 2
RW-sx spins 0, rounds 0, OS waits 0
Spin rounds per wait: 30.00 RW-shared, 30.00 RW-excl, 0.00 RW-sx
------------
TRANSACTIONS
------------
Trx id counter 202896
Purge done for trx's n:o < 202896 undo n:o < 0 state: running but idle
History list length 6
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421443133288712, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 421443133284496, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
I/O thread 1 state: waiting for i/o request (log thread)
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (read thread)
I/O thread 4 state: waiting for i/o request (read thread)
I/O thread 5 state: waiting for i/o request (read thread)
I/O thread 6 state: waiting for i/o request (write thread)
I/O thread 7 state: waiting for i/o request (write thread)
I/O thread 8 state: waiting for i/o request (write thread)
I/O thread 9 state: waiting for i/o request (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
72380 OS file reads, 1151164 OS file writes, 867029 OS fsyncs
0.29 reads/s, 16384 avg bytes/read, 2.88 writes/s, 2.02 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 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)
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)
5.71 hash searches/s, 16.06 non-hash searches/s
---
LOG
---
Log sequence number 138384151
Log flushed up to 138384151
Pages flushed up to 138384151
Last checkpoint at 138378041
0 pending log flushes, 0 pending chkp writes
511414 log i/o's done, 1.24 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 75640
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 72346, created 3738, written 511298
0.29 reads/s, 0.00 creates/s, 1.35 writes/s
Buffer pool hit rate 993 / 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[66]:cur[14], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=18708, Main thread ID=139967430891264, state: sleeping
Number of rows inserted 2, updated 99846, deleted 0, read 2233512
0.00 inserts/s, 0.31 updates/s, 0.00 deletes/s, 5.22 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 813
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================