存储引擎
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[
变量
|
缓冲池
|
InnoDB 状态
]
=====================================
2025-08-21 10:47:33 0x7fc7c415f700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 21 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 8143 srv_active, 0 srv_shutdown, 5674064 srv_idle
srv_master_thread log flush and writes: 5681187
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 16068
OS WAIT ARRAY INFO: signal count 16062
RW-shared spins 15923, rounds 477364, OS waits 15904
RW-excl spins 28, rounds 753, OS waits 25
RW-sx spins 8, rounds 240, OS waits 8
Spin rounds per wait: 29.98 RW-shared, 26.89 RW-excl, 30.00 RW-sx
------------
TRANSACTIONS
------------
Trx id counter 74039
Purge done for trx's n:o < 74039 undo n:o < 0 state: running
History list length 2
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421970731901072, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 421970731905288, 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
20043 OS file reads, 100861 OS file writes, 74102 OS fsyncs
1.05 reads/s, 16384 avg bytes/read, 5.00 writes/s, 2.10 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)
7.90 hash searches/s, 16.52 non-hash searches/s
---
LOG
---
Log sequence number 58364008
Log flushed up to 58363988
Pages flushed up to 58362805
Last checkpoint at 58341672
0 pending log flushes, 0 pending chkp writes
48718 log i/o's done, 1.24 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 87840
Buffer pool size 1003
Free buffers 744
Database pages 256
Old database pages 0
Modified db pages 3
Percent of dirty pages(LRU & free pages): 0.300
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 20001, created 514, written 43433
1.05 reads/s, 0.14 creates/s, 3.43 writes/s
Buffer pool hit rate 984 / 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[182]:cur[21], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=6658, Main thread ID=140494973671168, state: sleeping
Number of rows inserted 523, updated 8209, deleted 0, read 2979543
0.00 inserts/s, 0.90 updates/s, 0.00 deletes/s, 5.95 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 9241
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================