CONFIG RESETSTAT
Syntax
CONFIG RESETSTAT
- Available since:
- Redis Open Source 2.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@admin,@slow,@dangerous, - Compatibility:
- Redis Enterprise and Redis Cloud compatibility
Resets the statistics reported by Redis using the INFO and LATENCY HISTOGRAM commands.
The following is a non-exhaustive list of values that are reset:
- Keyspace hits and misses
- Number of expired keys
- Command and error statistics
- Connections received, rejected and evicted
- Persistence statistics
- Active defragmentation statistics
Redis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ❌ Standard |
❌ Standard |
Return information
Simple string reply:
OK.