(Redis + maxmemory-policy) How are hashes deleted - in whole or by keys?

The Help says that the keys are being deleted (“keys”).
Only it is not clear, in the case of hashes, what is meant by the key - the hash name (the whole hash is deleted) or the hash field (the hash fields are deleted).

This information is not available in the official manual:
https://redis.io/topics/lru-cache

Hi Vicreal,

It’s the key itself that’s deleted. The field/value parts that make up a hash are not part of the LRU. Does that help?

Kyle

1 Like

Okay, thanks for the clarification.