Shows redis database size by prefixes
$ python3 redis-dbsize.py
14807177 keys found
100%
posts_show 188.8Kb
post_comments 310.1Kb
post_main_image 413.7Kb
user_seen_recently 910.0b
mediasalt 139.7Kb
posts_visit 2.5Kb
image_size 1.8Mb
_nokey 2.2Mb
images_queue 21.0b
PHPREDIS_SESSION 3.0Gb