这是一个 Go 语言实现的 Redis 内存分析工具:用于找出占用内存较多的 Key,将结果导出至 csv 文件。
示例代码
通过直接连接到 redis 来分析 key
通过 redis RDB 文件分析 key,但无法计算出 key 的大小
Demo
🔎 Analyzing memory of redis is to find the keys(prefix) which used a lot of memory, export the analysis result into csv file. — Read More
`单行代码`