Hi Team,

We are using redis in many AWS regions for production use with lots of data in redis with different key name (there are pattern in it like user:profile, user:details,..).

I want to understand the redis memory occupation of each of those key sets which is executed at times to expand the redis memory or plan some cleanup.

I can see that with command 'memory usage user:profile:anantha' I get memory of records under anantha but I want something line 'memory usage user:profile:*' to give the memory of all user profiles. This way I can easily understand the memory usage of my different key set in redis.

Is this supported or is this in future roadmap? Also what would be ideal solution you would suggest for this problem.

Comment From: sundb

@anasokan it's not supported. you can use KEYS and MEMORY USAGE in LUA to implement it.