Monitor database performance

Redis Cloud

Redis Cloud provides a variety of metrics to help you monitor database performance. You can view graphs of performance data at any time and receive emails when performance crosses defined thresholds.

View database metrics

The Metrics tab of the View Database screen provides a series of graphs showing performance data for your database.

The Metrics tab of the View Database screen.

Performance data provides insight into how your database is being used and how well it is performing.

The interval scrollbar controls the time period displayed in the graphs.

The Metrics tab of the View Database screen.

Promote metric graphs

The Metrics screen shows two primary graphs and a collection of smaller ones. You can promote any smaller graph to a primary position.

When you use the mouse to point to a smaller graph, three things appear:

  • A promotion icon pointing left
  • A promotion icon pointing right
  • A summary panel showing the minimum, average, maximum, and most recent values displayed in the graph.
Promoting graphs to primary positions

Use the promotion icons to promote the smaller graph to one of the primary positions. The left icon promotes the smaller graph to the left position and the right icon promotes the smaller graph to the right position.

Metric definitions

Several metric graphs are available:

Metric Description
Ops/sec The number of overall operations per sec for all Redis commands
Reads/sec The number of read operations per second
Writes/sec The number of write operations per second
Other cmds/sec The number of other Redis commands per second
Latency Latency per operation, in milliseconds
Reads latency Latency per read operation, in milliseconds
Writes latency Latency per write operation, in milliseconds
Other latency Latency of other commands, in milliseconds
Used memory Amount of memory used by the database
Total keys Total number of keys in the database
Connections Total number of connections to the endpoint
Evicted objects/sec Number of objects evicted from the database per second.
Expired objects/sec Number of expired objects per second. An expired object is an object with expired TTL that was deleted from the database.
Hit ratio Percent of operations on existing keys out of the total number database operations

For more detailed analysis, consider using Redis Insight or Prometheus and Grafana.

Configure alerts

Depending on your subscription plan, you can enable alerts for several metrics for a given database.

To do so, go to the Configuration tab of the database and then locate the Alerts section.

Setting name Description Default Value Accepted Range
Dataset size has reached Sends an alert when the dataset size reaches or exceeds the defined percentage of the memory limit. (Pro only) 80% 1-100%
Total size of datasets under this plan reached Sends an alert when the total size of all datasets in the plan reaches or exceeds the defined percentage of the plan limit. (Essentials only) 80% 1-100%
Throughput is higher than Sends an alert when throughput is over the defined limit in operations per second (ops/sec). (Paid Essentials or Pro only) 1000 ops/sec 1-10000000 ops/sec
Throughput is lower than Sends an alert when throughput is under the defined limit in operations per second (ops/sec). (Paid Essentials or Pro only) 10 ops/sec 1-10000000 ops/sec
Latency is higher than Sends an alert when the latency is over the defined limit in milliseconds (msec). (Paid Essentials or Pro only) 10 msec 1-10000 msec
Number of connections Sends an alert when the number of connections exceeds the defined percentage of the plan limit. (Essentials only) 80% 1-100%
Replica Of - database unable to sync with source Sends an alert when the target database cannot sync with the source database after the defined number of seconds. (Pro only) 1 second 0-1 seconds
Replica Of - sync lag is higher than Sends an alert if lag between the source and target databases exceeds the defined number of seconds. (Pro only) 600 seconds 1-86400 seconds

Alert settings are specific to each database. Make sure you've configured alerts for all desired databases.

Change alert recipients

Any member of the account team can receive alert emails.

To update alert settings for one or more team members, select Access Management from the Redis Cloud console menu and then select the Team tab. For details, see Access management.

If you subscribe to Redis Cloud through a Platform-as-a-Service (PaaS) provider (such as Heroku), you will need to review your provider's documentation for help managing your team.

Continue learning with Redis University

See the Redis Cloud monitoring overview course to learn more.

RATE THIS PAGE
Back to top ↑