w3resource

Redis Server: CONFIG RESETSTAT

CONFIG RESETSTAT

Redis CONFIG RESETSTAT command is used to reset the statistics reported by Redis using the INFO command. Following counters can be reset by using this command:

  • 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

Syntax:

CONFIG RESETSTAT

Available since

2.0.0.

Return Value

String reply, always OK.

Return Value Type

String

Previous: CONFIG SET
Next: DBSIZE



Follow us on Facebook and Twitter for latest update.