View a markdown version of this page

Monitoring Amazon RDS metrics with Amazon CloudWatch - Amazon Relational Database Service

Monitoring Amazon RDS metrics with Amazon CloudWatch

Amazon CloudWatch is a metrics repository. The repository collects and processes raw data from Amazon RDS into readable, near real-time metrics. For a complete list of Amazon RDS metrics sent to CloudWatch, see Metrics reference for Amazon RDS.

To analyze and troubleshoot the performance of your databases at scale, use CloudWatch Database Insights.

Overview of Amazon RDS and Amazon CloudWatch

By default, Amazon RDS automatically sends metric data to CloudWatch in 1-minute periods. For example, the CPUUtilization metric records the percentage of CPU utilization for a DB instance over time. Data points with a period of 60 seconds (1 minute) are available for 15 days. This means that you can access historical information and see how your web application or service is performing.

For information about monitoring database load in CloudWatch, see Monitoring Amazon RDS databases with CloudWatch Database Insights.

As shown in the following diagram, you can set up alarms for your CloudWatch metrics. For example, you might create an alarm that signals when the CPU utilization for an instance is over 70%. You can configure Amazon Simple Notification Service to email you when the threshold is passed.

RDS metrics in AWS CloudWatch.

Amazon RDS publishes the following types of metrics to Amazon CloudWatch:

For more information about CloudWatch, see What is Amazon CloudWatch? in the Amazon CloudWatch User Guide. For more information about CloudWatch metrics retention, see Metrics retention.