存储引擎
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[
变量
|
缓冲池
|
InnoDB 状态
]
=====================================
2026-10-21 19:40:36 0x7f8c905a0700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 11 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 47097 srv_active, 0 srv_shutdown, 1836765 srv_idle
srv_master_thread log flush and writes: 1883369
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 90603
OS WAIT ARRAY INFO: signal count 90294
RW-shared spins 88439, rounds 2652523, OS waits 88403
RW-excl spins 308, rounds 9036, OS waits 299
RW-sx spins 6, rounds 180, OS waits 6
Spin rounds per wait: 29.99 RW-shared, 29.34 RW-excl, 30.00 RW-sx
------------
TRANSACTIONS
------------
Trx id counter 451850
Purge done for trx's n:o < 451850 undo n:o < 0 state: running
History list length 5
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421717715780088, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 421717715775872, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 421717715771656, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 421717715767440, 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
49601 OS file reads, 595701 OS file writes, 443219 OS fsyncs
2.55 reads/s, 16384 avg bytes/read, 7.91 writes/s, 4.45 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)
15.73 hash searches/s, 34.82 non-hash searches/s
---
LOG
---
Log sequence number 244779633
Log flushed up to 244779633
Pages flushed up to 244773102
Last checkpoint at 244769401
0 pending log flushes, 0 pending chkp writes
283342 log i/o's done, 2.73 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 90280
Buffer pool size 1003
Free buffers 737
Database pages 262
Old database pages 0
Modified db pages 24
Percent of dirty pages(LRU & free pages): 2.400
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 49560, created 1974, written 255457
2.55 reads/s, 0.36 creates/s, 4.55 writes/s
Buffer pool hit rate 981 / 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: 262, unzip_LRU len: 0
I/O sum[171]:cur[10], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=3613, Main thread ID=140241746781952, state: sleeping
Number of rows inserted 366, updated 52730, deleted 0, read 4264245
0.00 inserts/s, 1.82 updates/s, 0.00 deletes/s, 44.54 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 5061
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================