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

Background information

Before May 15, 2018, ApsaraDB for RDS provided the following two monitoring frequencies:

  • Every 60 Seconds: The monitoring period is 30 days.
  • Every 300 Seconds: The monitoring period is 30 days.

As your database system expands, these two monitoring frequencies may not meet your business needs.

In response to customer needs, ApsaraDB for RDS now provides second-level monitoring to help O&M engineers obtain finer-grained monitoring data and locate complex database O&M problems.

Every 5 Seconds: The monitoring period is seven days. After the seventh day, 5-second monitoring is downgraded to 60-second monitoring.

The following table describes monitoring policies.

Instance specifications Every 5 Seconds Every 60 Seconds Every 300 Seconds
High-availability Edition with local SSDs or Enterprise Edition, with a memory capacity less than 8 GB Not supported Supported for free Enabled by default
High-availability Edition with local SSDs or Enterprise Edition, with a memory capacity greater than or equal to 8 GB Supported with charges Enabled by default Supported for free
High-availability Edition with standard SSDs or enhanced SSDs (ESSDs) Not supported Not supported Enabled by default
Basic Edition with MySQL 8.0 Not supported Not supported Enabled by default
Basic Edition with MySQL 5.7 Not supported Supported for free Enabled by default

Procedure

  1. Log on to the ApsaradB for RDS console.
  2. In the upper-left corner of the page, select the region where the target RDS instance resides.Select a region
  3. Find the target RDS instance and click its ID.
  4. In the left-side navigation pane, click Monitoring and Alerts.
    Note For more information about the metrics supported by ApsaraDB RDS for MySQL, see View resource and engine monitoring data.
  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. For this example, select Every 5 Seconds.
  8. In the Confirm Changes message, click Confirm.

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

FAQ

Related operations

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