Механизмы хранилища
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[
Переменные
|
Буферный пул
|
Состояние InnoDB
]
=====================================
2025-03-15 07:46:43 0x7f4cb0a5a700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 5 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 100445 srv_active, 0 srv_shutdown, 465513 srv_idle
srv_master_thread log flush and writes: 565862
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 214229
OS WAIT ARRAY INFO: signal count 185177
RW-shared spins 144462, rounds 4333408, OS waits 144153
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 205221
Purge done for trx's n:o < 205220 undo n:o < 0 state: running but idle
History list length 0
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
73219 OS file reads, 1163681 OS file writes, 876030 OS fsyncs
0.60 reads/s, 16384 avg bytes/read, 7.20 writes/s, 5.20 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)
14.00 hash searches/s, 27.59 non-hash searches/s
---
LOG
---
Log sequence number 139800036
Log flushed up to 139799646
Pages flushed up to 139797578
Last checkpoint at 139793572
0 pending log flushes, 0 pending chkp writes
516683 log i/o's done, 3.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 75640
Buffer pool size 1003
Free buffers 743
Database pages 257
Old database pages 0
Modified db pages 17
Percent of dirty pages(LRU & free pages): 1.698
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 73185, created 3798, written 517194
0.60 reads/s, 0.00 creates/s, 3.40 writes/s
Buffer pool hit rate 994 / 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: 257, unzip_LRU len: 0
I/O sum[34]: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=18708, Main thread ID=139967430891264, state: sleeping
Number of rows inserted 2, updated 101008, deleted 0, read 2255936
0.00 inserts/s, 1.40 updates/s, 0.00 deletes/s, 11.80 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 1125
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================