Help Center/ Relational Database Service_RDS for SQL Server/ Best Practices/ Suggestions on RDS for SQL Server Metric Alarm Configurations
Updated on 2026-11-10 GMT+08:00

Suggestions on RDS for SQL Server Metric Alarm Configurations

You can set alarm rules on Cloud Eye to customize the monitored objects and notification policies and keep track of the instance status. This topic describes how to configure RDS for SQL Server metric alarm rules.

Creating a Metric Alarm Rule

  1. Log in to the Cloud Eye console.
  2. Click in the upper left corner and select a region.
  3. Choose Alarm Management > Rule Settings.
  4. Click Create Alarm Rule in the upper right corner.
  5. On the displayed page, configure required parameters.

    Figure 1 Configuring alarm rule information
    Table 1 Alarm rule information

    Parameter

    Description

    Name

    Alarm rule name. The system generates a random name, which you can modify.

    Description

    Description about the rule.

    Alarm Type

    Select Metric.

    Cloud Product

    Select Relational Database Service - Microsoft SQL Server Instances.

    Resource Level

    Cloud product is recommended.

    Monitoring Scope

    • All resources: An alarm will be triggered if any resource of the current cloud product meets the alarm policy. To exclude resources that do not require monitoring, click Select Resources to Exclude.
    • Resource groups: An alarm will be triggered if any resource in the selected resource group meets the alarm policy.
    • Specific resources: Click Select Specific Resources to select resources.

    Method

    • Associate template: After an associated template is modified, the policies contained in this alarm rule to be created will be modified accordingly.

      You are advised to select an existing template. The existing template already contains four common alarm metrics: CPU usage, storage space usage, memory usage, and database connections in use.

    • Configure manually: Configure alarm policies manually.

    Template

    If you select Associate template for Method, you need to select a template.

    You can select a default alarm template or create a custom template.

    Alarm Policy

    If you select Configure manually for Method, you need to configure alarm policies.

    Whether to trigger an alarm depends on whether the metric data in consecutive periods reaches the threshold. For example, Cloud Eye triggers an alarm every 5 minutes if the average CPU usage of the monitored object is 80% or more for three consecutive 5-minute periods.

    NOTE:

    A maximum of 50 alarm policies can be added to an alarm rule. If any one of these alarm policies is met, an alarm is triggered.

    Alarm Severity

    The alarm severity can be Critical, Major, Minor, or Warning.

    Figure 2 Configuring alarm notification
    Table 2 Alarm notification

    Parameter

    Description

    Alarm Notifications

    Controls whether users are notified when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS request.

    Notification Recipient

    You can select a notification group or topic subscription as required.

    Notification Group

    Notification group that alarm notifications will be sent to.

    Recipient

    Object the alarm notification is to be sent to. You can select the account contact or a topic.

    • The account contact is the mobile phone number and email address of the registered account.
    • A topic is used to publish messages and subscribe to notifications.

    Notification Window

    Cloud Eye sends notifications only within the notification window specified in the alarm rule.

    If Notification Window is set to 08:00-20:00, Cloud Eye sends notifications only within 08:00-20:00.

    Trigger Condition

    Condition for triggering an alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both.

    Enterprise Project

    Enterprise project that the alarm rule belongs to. Only users with the enterprise project permissions can view and manage the alarm rule.

    Tag

    A tag is a key–value pair. Tags identify cloud resources so that you can easily categorize and search for your resources.

  6. Click Create. The alarm rule is created.

    For details about how to configure alarm parameters, see Creating an Alarm Rule in the Cloud Eye User Guide.

Metric Alarm Configuration Suggestions

Table 3 Suggestions on RDS for SQL Server metric alarm configurations

Metric ID

Name

Metric Description

Threshold in Best Practices

Alarm Severity in Best Practices

Handling Suggestion

rds001_cpu_util

CPU Usage

CPU usage of the monitored object

Raw data > 80% for three consecutive times

Major

  1. Rectify the fault by referring to High CPU Usage of RDS for SQL Server Instances
  2. If the high load persists, upgrade the instance specifications. For details, see Changing a DB Instance Class.

rds039_disk_util

Storage Space Usage

Storage space usage of the monitored object

Raw data > 80% for three consecutive times

Major

  1. Create a job for periodically shrinking the database. For details, see Shrinking the Database Periodically.
  2. Manually shrink data files and log files in the database to release space. For details, see Shrinking an RDS for SQL Server Database.
  3. If the instance specifications do not meet the demand for data growth, scale up the storage. For details, see Scaling Up Storage Space.

rds049_disk_read_throughput

Disk Read Throughput

Number of bytes read from the disk per second

Ultra-high I/O or cloud SSD: Raw data > 300 MB for three consecutive times

Extreme SSD: Raw data > 900 MB for three consecutive times

Major

If the disk read throughput is fully loaded for a long time, check whether indexes need to be rebuilt. For details, see Creating a Job for Scheduled Instance Maintenance.

mssql_worker_threads_usage_rate

Usage of Worker Threads

Ratio of the total worker threads to the value of Max Worker Threads.

Raw data > 90% for three consecutive periods

Major

If there are too many worker threads, check the instance load and upgrade the instance specifications. For details, see Changing a DB Instance Class.

rds077_replication_delay

Replication Delay

Delay for replication between primary and standby DB instances. The replication delay of RDS for SQL Server DB instances is at the database level because data is synchronized on each database. The instance-level replication delay refers to the maximum replication delay of the databases (the delay 0s for single-node DB instances).

Raw data ≥ 600s for three consecutive periods

Major

If the replay load on the standby node is heavy or the replication is abnormal, upgrade the instance specifications. For details, see Changing a DB Instance Class.