1-如何搜索过大的key
阿里云官方:
https://www.alibabacloud.com/help/zh/faq-detail/56949.htm
https://help.aliyun.com/knowledge_detail/56949.html
https://yq.aliyun.com/articles/719641
如何处理redis集群中big key和hot key
https://www.jianshu.com/p/58615a1e2cac
参考https://help.aliyun.com/document_detail/141763.html?spm=a2c4g.11186623.6.707.94a93115QZ6jxB,可以通过备份指定时间的数据(比如内存异常增长时间范围内的30min的数据,还没有验证是否可以选择到具体时间),然后把这段时间的备份数据下载下来进行大key的分析。
另外,参考https://help.aliyun.com/document_detail/43887.html?spm=a2c4g.11186623.6.677.4d997981exiWSC ,可以加一些自定义的监控指标以便于定位和排查问题,指标可以有:已过期的key总数、因内存满而淘汰的key总数、每秒淘汰key的个数等, 这个可以验证缓存满后Redis删除内容的策略是否生效
redis4.0还提供了还手动操作进行缓存分析找出大key https://help.aliyun.com/document_detail/102093.htm
做有积累的事~~

浙公网安备 33010602011771号