Why Does Memory Usage Decrease After Big Key Analysis Is Performed on Redis?
Big key analysis only queries keys that occupy a large space and does not delete the keys. Due to the lazy free deletion mechanism, keys are not deleted immediately upon expiration, unless they are accessed or identified. During a big key analysis, all keys are traversed, and the expired keys will be identified and then deleted. As a result, memory usage decreases after a big key analysis is completed.
For details about how expired keys are deleted and how to scan for expired keys, see Scanning Expired Keys.
Big/Hot Key Analysis FAQs
- What Are Big Keys and Hot Keys?
- What Is the Impact of Big Keys or Hot Keys?
- How Do I Avoid Big Keys and Hot Keys?
- How Do I Detect Big Keys and Hot Keys in Advance?
- How Does DCS Delete Expired Keys?
- How Long Are Keys Stored? How Do I Set Key Expiration?
- Why Does Memory Usage Decrease After Big Key Analysis Is Performed on Redis?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more