查看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 @   Coye  阅读(1841)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
点击右上角即可分享
微信分享提示