CONFIG RESETSTAT

Syntax
CONFIG RESETSTAT
Available since:
2.0.0
Time complexity:
O(1)
ACL categories:
@admin, @slow, @dangerous,

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

RESP2/RESP3 Reply

Simple string reply: OK.
Rate this page