What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.

CONFIG RESETSTAT

Resets the server's statistics.

Usage
CONFIG RESETSTAT
Complexity
O(1)
Since
2.0.0
ACL Categories
@admin, @dangerous, @slow
Command flags
ADMIN, NOSCRIPT, LOADING, STALE

Resets the statistics reported by Valkey 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

Replies

RESP2

RESP3