Recent Blogs

How to Export Redis Keys as CSV Using CLI

Often, you want to export data from redis as a csv. The redis-cli has a --csv flag, but it only works if you want to export a single key. But with a little bit of command line magic, you can export any number of keys as a CSV format.

This script will export the fields id, display name, reputation and location for all hashes starting with users:*

How to Set Expiry to Multiple Keys in Redis

Often, developers forget to set an expiry on keys, and redis begins to run out of memory. While you can set an expiry to newly generated keys, you still need a way to set an expiry to keys already sitting in memory.

How to Rename Multiple Keys in Redis

Redis does not offer a command to bulk rename keys in redis. But it is easy enough to create a script using redis-cli and some command line tools.

How to Rename Fields in Hash for Multiple Keys in Redis

Let’s say you want you started out naming fields with under_scores, and another team member used camelCase. Now your redis hashes are a mess, and you’d rather stick to one convention. You need a way to rename fields across all hashes.

Redis does not have a way to rename fields within a hash. But more importantly, there is no way to do it for all the hashes you have created.

How to Delete Keys Matching a Pattern in Redis

Redis does not offer a way to bulk delete keys. You can however use redis-cli and a little bit of command line magic to bulk delete keys without blocking redis.

How to analyze and optimize memory usage in Redis

Redis is an in-memory data store, which means that the entire dataset is stored in memory (RAM). While this is great for performance, when the size of the data starts growing, more and more RAM needs to be added to hold all that data. This can quickly become prohibitively expensive and before you know it, server costs start skyrocketing, leaving you worried about whether Redis can scale for you in a cost-effective way.

How to install RDBTools using AWS CloudFormation template?

RDBTools is a self-hosted administration tool for Redis, with a focus on reducing memory usage and improving application performance. This blog is a quick guide on how to install RDBTools using AWS CloudFormation template.

How to run memory analysis on AWS ElastiCache?

RDBTools is a Redis memory analysis tool which can analyze your AWS ElastiCache instance and generate custom recommendations for your Redis instance. This article is a quick guide on how to run memory analysis on AWS ElastiCache.

Heroku Redis - GUI and Memory Optimization

RDBTools is an administration GUI and memory analyzer for Redis. You can use RDBTools to optimize memory used by Heroku Redis and thereby reduce the cost.

Redis Memory Optimization Cheat Sheet

Is your Redis Server using too much memory? Here is a handy cheat-sheet to help you reduce memory.

Rdbtools at Redis Conf18

RedisConf is the premier Redis user conference where Redis contributors and expert users meet to make big announcements, share use cases, get hands-on training and master key concepts.