mysql key reads 参数,为什么MySQL状态key_reads,key_reads_request的值为零?

I have some confusion about my mysql status.

mysql> show status like '%key%';

+------------------------+-------+

| Variable_name | Value |

+------------------------+-------+

| Com_assign_to_keycache | 0 |

| Com_preload_keys | 0 |

| Com_show_keys | 0 |

| Handler_read_key | 2 |

| Key_blocks_not_flushed | 0 |

| Key_blocks_unused | 13396 |

| Key_blocks_used | 0 |

| Key_read_requests | 0 |

| Key_reads | 0 |

| Key_write_requests | 0 |

| Key_writes | 0 |

but,there have large (more then 1 billion each day) insert,update and query on the server,but why the status's value is 0.The server has run nearly 3 days.(Uptime:2 days 18 hours 54 min 19 sec).I did not flush the server's status.

Some db config engine = innodb,key_buffer = 16M, innodb_buffer_pool_size = 2147483648.

Thanks for any information.

解决方案

Perhaps you're using InnoDB tables ?

Those Key_XXX server status values are for MyISAM tables.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值