Hands-on task
Who ate Redis's memory
Redis memory keeps growing, and you need to find the culprit. The database has about fifteen hundred keys of different types.
Find the key that takes the most memory (in bytes, not by element count) and write its name to /root/bigkey.txt.
- redis
- --bigkeys
- --memkeys
- MEMORY USAGE
- memory diagnostics