config resetstat
CONFIG
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
返回值
Simple string reply: always OK
.