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: The monitoring period is seven days. After seven days, the monitoring frequency is demoted to Every 60 Seconds.
  • Every 60 Seconds: The monitoring period is 30 days.
  • Every 300 Seconds: The monitoring period is 30 days.

The following table describes the supported monitoring frequencies.

RDS edition Every 5 Seconds Every 60 Seconds Every 300 Seconds
High-availability Edition or Enterprise Edition with a memory capacity less than 8 GB Not supported Supported free of charge Supported free of charge (This is the default configuration.)
High-availability Edition or 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 configuration.) Supported free of charge
Basic Edition Not supported Not supported Supported free of charge (This is the default configuration.)

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 an RDS instance uses the Every 5 Seconds monitoring frequency, you are charged an hourly rate of USD 0.012.

Procedure

  1. Log on to the ApsaraDB for RDS console.
  2. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where the target RDS instance resides.
    Select a region
  3. Find the target instance and click the instance ID.
  4. In the left-side navigation pane, click Monitoring and Alerts.
    Note For more information about the supported metrics, see View the resource and engine metrics of an ApsaraDB RDS for MySQL instance.
  5. Click the Monitoring tab.
  6. Click Set Monitoring Frequency.
  7. 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 ApsaraDB RDS for MySQL buy page.

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

Related operations

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