0 votes
1 view
in AWS by (19.2k points)

When I run the command redis-cli INFO, one of the returned values indicates the avg_ttl. I'm unsure what unit of time this is represented in?


# Keyspace


1 Answer

0 votes
by (44.6k points)

What do these commands return:

  • the TTL - seconds
  • PTTL - milliseconds
  • avg_ttl - milliseconds

Also, note that the average value avg_ttl is an estimate using the random check of keys

Welcome to Intellipaat Community. Get your technical queries answered by top developers !