Frequently Asked Questions

General

What is Rdbtools?

RDBTool is a browser based management interface for Redis. It lets you do the following -

  • View real time metrics from redis
  • Analyze memory used by redis by keys or key patterns, by expiry, by data types or or the internal encoding
  • Filter keys by number of elements or by memory, and identify top keys
  • Profile redis to list keys or commands redis is executing
  • Create tabular views from your redis keys and export data in different formats
  • Perform CRUD operations using the web based CLI
  • View and modify redis configuration
  • View list of clients and kill specific clients


What problem does Rdbtools solve?

Rdbtools lets you reduce memory used by redis, which usually translates to a proportional cost reduction. It also helps you identify common latency issues, and perform routine administrative tasks on your redis server.


How does Rdbtools compare with the open source redis-rdb-tools?

We open sourced redis-rdb-tools in 2012 as a way to analyze the RDB file, and will continue to support the open source version. The open source version is meant to be a library and command line utility. It is a fundamental building block for the paid version of Rdbtools. The paid version has a convenient web based interface, and provides recommendations, aggregation and filtering capabilities.


What versions of Redis does Rdbtools support?

Currently, Rdbtools supports single node redis instances. Redis Cluster support is experimental, but not all features work. If you wish to use Rdbtools for Redis Cluster, send us an email at support@rdbtools.com and we can try to accommodate your use case.


Do you support Redislabs Enterprise Version?

Yes, we support Redislabs enterprise version.


What cloud providers do you support?

We support AWS Elasticache and Azure Redis Cache. That said, Rdbtools should work with any cloud provider as long as you deploy the docker container on a host that has network access to your cloud based redis server. Send us an email at support@rdbtools.com if you would like to use Rdbtools on a cloud provider that we haven’t listed.


Memory Analysis

How long does the memory analysis take?

This depends on how large your dataset and the host on which you are running your docker container. Empirically, expect 30s per GB of RAM analyzed.


What is the online mode of memory analysis?

In online mode, Rdbtools connects to your redis server, downloads the entire data set, and then analyzes it in a background process. To download the data set from redis server, one of two approaches is used. If the server allows it, we use the SYNC command to download a RDB file. If the server blocks SYNC, we use SCAN + DUMP in an loop.


What is the overhead of online memory analysis on redis server?

The overhead is mimimal. If SYNC command is supported, the overhead is the same as connecting a slave for a short duration. If SYNC command is disabled, we run the SCAN command followed by DUMP in a pipeline. Neither approach blocks your redis server.


What is offline mode of memory analysis?

In the offline mode, Rdbtools downloads a RDB file from a S3 bucket you specify. This RDB file is then analyzed in a background process.


What is the overhead of offline memory analysis on redis server?

Zero overhead, since we do not need to connect to your redis server


How is memory used by a key calculated?

We look at the internal structures redis needs to allocate to store the key and determine the memory consumption. We also account for allocator overheads, as well as differences between redis versions.


How accurate is the memory analysis?

The memory used by a key is based on heuristics, and is usually within 10% of the actual consumption.


What are key patterns?

Key pattern is a grouping of related keys, for example users:*. Rdbtools can show you total memory consumption by key pattern, and also the biggest keys within that key pattern.


How are key patterns generated?

We assume that you use colon as a separator. If you use a non-standard separator, you will have to add key patterns manually.


Connecting to Redis

How do I connect to redis-server running on localhost?

First, this will work only if you have Rdbtools running on your local computer. Depending on your docker version, you can use one of these host names instead of localhost - docker.for.mac.localhost, docker.for.win.localhost or host.docker.internal. If none of those host names work, find the ip address of your computer (usually starts with 192.x.x.x), and use that ip address instead of localhost.


How do I connect to AWS Elasticache?

You must install Rdbtools inside your VPC, either on an EC2 instance, or using ECS or Fargate. See EC2 Installation Instructions


License and Support

What are the memory limits on your license terms?

Our licensing works on the sum of used memory on the redis instances you have added to Rdbtools. So if your license allows 15GB, you can add 5 redis instances using 3 GB RAM, or 1 redis server using 15 GB.


How do you calculate used memory?

We run the info command and look at used_memory to determine the memory used by redis.


What do you mean by perpetual license?

Once you buy a license, you can use Rdbtools forever as long as you are within your usage limits. Additionally, you are eligible for software upgrades for 1 year from the date of purchase. After a year, you will no longer receive updates, but can continue to use the version of Rdbtools you last downloaded.


How do I get my license key?

Once you complete payment, you will receive an email with your license key.


Privacy and Security

Who has access to my redis servers?

We provide Rdbtools as a docker container that you install and run on your hardware or cloud account. We do not have any ability to connect to your installation of Rdbtools or look at data within your redis servers.


How can I secure my Rdbtools installation?

We recommend installing HTTPS, whitelisting IP addresses that have access to Rdbtools and/or making it available within your VPN/internal network. Additionally, choose a strong admin password.


What information do you collect about my installation?

We use google analytics so that we can understand how customers use the software. Per google analytics terms and conditions, we do not track any personally identifiable information.