• showengineinnodbstatus的解读


    如何查看innodb的相关信息
    ----------------------
    BUFFER POOL AND MEMORY
    ----------------------
    Total memory allocated 52873396224; in additional pool allocated 0
    Dictionary memory allocated 720082
    Buffer pool size 3145728
    Free buffers 1033599
    Database pages 1902184
    Old database pages 702010
    Modified db pages 398
    Pending reads 0
    Pending writes: LRU 0, flush list 0, single page 0
    Pages made young 49894, not young 0
    0.00 /s, 0.00 non-youngs/s
    Pages read 139848, created 1762336, written 255420958
    0.00 reads/s, 1.00 creates/s, 181.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: 1902184, unzip_LRU len: 0
    I/O sum[0]:cur[64], unzip sum[0]:cur[0]
    Total memory allocated 393216; in additional pool allocated 0
    INNODB分配的内存总量为52873396224字节,也就是49GB 额外内存池没有占用多余的空间
    Dictionary memory allocated 720082
    数据字典内存分配了720082字节
    Buffer pool size 3145728
    这是buffer pool数据页的数量 一共有3145728个(总内存是3145728*16/1024/1024/1024=4915200.25)
    Free buffers 1033599
    空闲页的数量 (1033599*16/1024=16149)
    Database pages 1902184
    Old list内的数据页数
    Modified db pages 398
    被修改的页数 ,脏页
    Pending writes: LRU 0, flush list 0, single page 0
    刷新页的数量,可以分为 LRU FLUSH single
    Pages read 139848, created 1762336, written 255420958
    页面的读取,创建,和刷新次数
    Buffer pool hit rate 1000 / 1000
    缓冲池命中率,命中率越高越好。这里的命中率是100%
    Pending reads 0
    正在读取的页的数量
    -------------------------------
  • 相关阅读:
    c++ 指定目录下的文件遍历
    c++ 实现键盘钩子
    c++ 用模板类实现顺序储存的线性表
    c++ 递归算法实现排列组合
    matlab 基础知识
    QT 给工程添加图片
    QT5.9 QString和字符串转换的乱码问题
    【内核】——进程3,内核同步
    Java多线程——Thread的native底层实现
    【内核】——文件和文件系统的内部结构4 系统调用的实现
  • 原文地址:https://www.cnblogs.com/lbg-database/p/10109938.html
Copyright © 2020-2023  润新知