This topic describes how to set the monitoring frequency of an ApsaraDB RDS for MySQL instance.

Background information

ApsaraDB RDS for MySQL provides the following three monitoring frequencies:

  • Every 5 seconds
  • Every 60 seconds
  • Every 300 seconds
Note ApsaraDB RDS allows you to query the monitoring data from the most recent 30 days. You may not be able to query the monitoring data over a time range of more than 30 days.

The following table describes the supported monitoring frequencies.

Instance configuration Every 5 seconds Every 60 Seconds Every 300 Seconds
RDS High-availability Edition or RDS Enterprise Edition with a memory capacity less than 8 GB Not supported Supported free of charge Supported free of charge (This is the default monitoring frequency.)
RDS High-availability Edition or RDS Enterprise Edition with a memory capacity greater than or equal to 8 GB Supported with fees required Supported free of charge (This is the default monitoring frequency.) Supported free of charge
RDS Basic Edition Not supported Not supported Supported free of charge (This is the default monitoring frequency.)
Note If your RDS instance uses standard SSDs or enhanced SSDs (ESSDs), the monitoring frequency is fixed at once every 60 seconds. Changes to the monitoring frequency do not take effect.

For more information about how to set the monitoring frequency of an RDS instance that runs another database engine, see the following topics:

Billing

The monitoring frequencies that are supported with fees required are charged at an hourly rate based on the pay-as-you-go billing method. For example, if your RDS instance uses the Every 5 Seconds monitoring frequency, you are charged an hourly rate of USD 0.012.

Procedure

  1. Access RDS Instances, select a region at the top, and then click the ID of the target RDS instance.
  2. In the left-side navigation pane, click Monitoring and Alerts.
  3. Click the Standard monitoring tab.
  4. Click Set Monitoring Frequency.
  5. In the Set Monitoring Frequency dialog box, select a monitoring frequency and click OK.
    Note The Every 60 Seconds and Every 300 Seconds monitoring frequencies are supported free of charge. However, the Every 5 Seconds monitoring frequency charges you additional fees. For more information, visit the "Billing" section of this topic.

    If your RDS instance does not support the Every 5 Seconds monitoring frequency, a message appears in the Set Monitoring Frequency dialog box.

Related API operations

Operation Description
Query the monitoring frequency of an ApsaraDB RDS instance Queries the monitoring frequency of an ApsaraDB RDS instance.