gamenet / redis-memory-analyzer

Redis memory profiler to find the RAM bottlenecks throw scaning key space in real time and aggregate RAM usage statistic by patterns.
MIT License
772 stars 80 forks source link

Add "--max-key-depth" argument to help manage large amounts of key nesting #46

Open mbafford opened 5 years ago

mbafford commented 5 years ago

Help when redis namespace is filled with a lot of multiple-level nested keys.

Instead of:

PREFIX:a:b:c PREFIX:d:e:f PREFIX:z:y:x

You can limit to 1:

PREFIX:*

Limit to 2:

PREFIX:a: PREFIX:d: PREFIX:z:*