CONFIG RESETSTAT

Available since 2.0.0.

Time complexity: O(1)

Resets the statistics reported by Redis using the INFO command.

These are the counters that are reset:

  • 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

*Return value

Simple string reply: always OK.