查看MySQL 内存占用

OS:RHEL6.3
MySQL:5.7.19

[root@mysql02]# mysql -uroot -p****** -h127.1 -e"SHOW ENGINE INNODB STATUS\G" | sed -n -e '/BUFFER POOL AND MEMORY/,/INDIVIDUAL BUFFER POOL INFO/p'
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 2235564032
Dictionary memory allocated 284885444
Internal hash tables (constant factor + variable factor)
    Adaptive hash index 46726592 	(35404352 + 11322240)
    Page hash           277384 (buffer pool 0 only)
    Dictionary cache    293736532 	(8851088 + 284885444)
    File system         37865464 	(812272 + 37053192)
    Lock system         5329320 	(5313416 + 15904)
    Recovery system     0 	(0 + 0)
Buffer pool size   131056
Buffer pool size, bytes 2147221504
Free buffers       16000
Database pages     114367
Old database pages 42054
Modified db pages  38486
Pending reads      0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 10160, not young 1731282
0.00 youngs/s, 0.43 non-youngs/s
Pages read 211912, created 49544, written 30261
0.31 reads/s, 0.00 creates/s, 30.61 writes/s
Buffer pool hit rate 1000 / 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: 114367, unzip_LRU len: 0
I/O sum[13160]:cur[0], unzip sum[0]:cur[0]
----------------------
INDIVIDUAL BUFFER POOL INFO
posted @ 2020-05-11 18:02  Coye  阅读(1836)  评论(0编辑  收藏  举报