存储引擎
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[
变量
|
缓冲池
|
InnoDB 状态
]
=====================================
2026-08-22 17:05:56 0x7f872809c700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 41 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 3410 srv_active, 0 srv_shutdown, 1521598 srv_idle
srv_master_thread log flush and writes: 1524606
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 2538
OS WAIT ARRAY INFO: signal count 2535
RW-shared spins 1953, rounds 58462, OS waits 1939
RW-excl spins 164, rounds 4842, OS waits 161
RW-sx spins 0, rounds 0, OS waits 0
Spin rounds per wait: 29.93 RW-shared, 29.52 RW-excl, 0.00 RW-sx
------------
TRANSACTIONS
------------
Trx id counter 299140
Purge done for trx's n:o < 299140 undo n:o < 0 state: running
History list length 1
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421693473079560, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 421693473075344, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 421693473087992, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 421693473083776, 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
14785 OS file reads, 40956 OS file writes, 24827 OS fsyncs
0.68 reads/s, 16384 avg bytes/read, 5.41 writes/s, 2.80 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 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)
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)
12.37 hash searches/s, 26.76 non-hash searches/s
---
LOG
---
Log sequence number 169606021
Log flushed up to 169606001
Pages flushed up to 169577235
Last checkpoint at 169577235
0 pending log flushes, 0 pending chkp writes
13307 log i/o's done, 1.95 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 90280
Buffer pool size 1002
Free buffers 742
Database pages 256
Old database pages 0
Modified db pages 58
Percent of dirty pages(LRU & free pages): 5.806
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 14744, created 374, written 23018
0.68 reads/s, 0.02 creates/s, 3.15 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[157]: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=8924, Main thread ID=140217302370048, state: sleeping
Number of rows inserted 230, updated 5666, deleted 0, read 65257256
0.00 inserts/s, 1.37 updates/s, 0.00 deletes/s, 12.07 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 10742
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================