存储引擎
InnoDB
Supports transactions, row-level locking, foreign keys and encryption for tables
[
变量
|
缓冲池
|
InnoDB 状态
]
=====================================
2025-04-05 05:14:06 0x373c INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 8 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 34592 srv_active, 0 srv_shutdown, 1552497 srv_idle
srv_master_thread log flush and writes: 1587069
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 69413
OS WAIT ARRAY INFO: signal count 69072
RW-shared spins 39314, rounds 1179312, OS waits 39309
RW-excl spins 11, rounds 304, OS waits 10
RW-sx spins 0, rounds 0, OS waits 0
Spin rounds per wait: 30.00 RW-shared, 27.64 RW-excl, 0.00 RW-sx
------------
TRANSACTIONS
------------
Trx id counter 2647900
Purge done for trx's n:o < 2647900 undo n:o < 0 state: running but idle
History list length 2
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 283465068740752, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283465068753256, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
---TRANSACTION 283465068749088, not started
0 lock struct(s), heap size 1128, 0 row lock(s)
--------
FILE I/O
--------
I/O thread 0 state: native aio handle (insert buffer thread)
I/O thread 1 state: native aio handle (log thread)
I/O thread 2 state: native aio handle (read thread)
I/O thread 3 state: native aio handle (read thread)
I/O thread 4 state: native aio handle (read thread)
I/O thread 5 state: native aio handle (read thread)
I/O thread 6 state: native aio handle (write thread)
I/O thread 7 state: native aio handle (write thread)
I/O thread 8 state: native aio handle (write thread)
I/O thread 9 state: native aio handle (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
50789 OS file reads, 372226 OS file writes, 272077 OS fsyncs
2.00 reads/s, 16384 avg bytes/read, 1.50 writes/s, 1.12 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 0 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 1 buffer(s)
6.12 hash searches/s, 19.62 non-hash searches/s
---
LOG
---
Log sequence number 646271973
Log flushed up to 646271953
Pages flushed up to 646268564
Last checkpoint at 646266422
0 pending log flushes, 0 pending chkp writes
152989 log i/o's done, 0.75 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 33554432
Dictionary memory allocated 202824
Buffer pool size 1003
Free buffers 732
Database pages 267
Old database pages 0
Modified db pages 15
Percent of dirty pages(LRU & free pages): 1.500
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 50705, created 1861, written 176618
2.00 reads/s, 0.00 creates/s, 0.62 writes/s
Buffer pool hit rate 964 / 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: 267, unzip_LRU len: 0
I/O sum[2]:cur[19], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=5284, Main thread ID=7200, state: sleeping
Number of rows inserted 0, updated 34699, deleted 0, read 1019228
0.00 inserts/s, 0.62 updates/s, 0.00 deletes/s, 6.25 reads/s
Number of system rows inserted 0, updated 0, deleted 0, read 2140626
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================