OBJECT FREQ
Syntax
OBJECT FREQ key
- Available since:
- 4.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@keyspace
,@read
,@slow
,
This command returns the logarithmic access frequency counter of a Redis object stored at <key>
.
The command is only available when the maxmemory-policy
configuration directive is set to one of the LFU policies.
Return
The counter's value.