首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

config resetstat

代码语言:javascript
复制
CONFIG RESETSTAT

自2.0.0起可用。

时间复杂度: O(1)

使用 INFO 命令重置由 Redis 报告的统计信息。

这些是重置的计数器:

  • Keyspace hits
  • Keyspace misses
  • Number of commands processed
  • Number of connections received
  • Number of expired keys
  • Number of rejected connections
  • Latest fork(2) time
  • The aof_delayed_fsync counter

返回值

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com