Redis参考手册
服务器 | Server
config resetstat
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
.
服务器 | Server相关
Redis 是一个开源的使用 ANSI C 语言编写、遵守 BSD 协议、支持网络、可基于内存亦可持久化的日志型、Key-Value 数据库,并提供多种语言的 API。 它通常被称为数据结构服务器,因为值( value )可以是 字符串( String ), 哈希(Map),列表(list),集合( sets ) 和 有序集合( sorted sets )等类型。
主页 | https://redis.io/ |
源码 | https://github.com/antirez/redis |
发布版本 | 4.0.2 |