Updated on 2023-11-27 GMT+08:00

Configuring Monitoring by Seconds

RDS for MySQL supports monitoring by seconds. You can set the monitoring interval to 1 second or 5 seconds to view the metric values.

Constraints

DB instances with fewer than four vCPUs do not support monitoring by seconds.

Billing

Table 1 Pay-per-use price

Specification Code

Price (USD/Hour)

rds.mysql.second.monitor

0.012

Enabling Monitoring by Seconds

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the target DB instance.
  5. In the navigation pane on the left, choose Advanced O&M.
  6. On the displayed page, click the Real-Time Monitoring tab and click next to Monitoring by Seconds.
  7. In the displayed dialog box, select a collection period and click Yes.

    After you enable this function, monitoring data will be reported again and will be displayed by the second, starting approximately 5 minutes after the function was enabled.

    Figure 1 Enabling Monitoring by Seconds

Disabling Monitoring by Seconds

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the target DB instance.
  5. In the navigation pane on the left, choose Advanced O&M.
  6. On the displayed page, click the Real-Time Monitoring tab and click next to Monitoring by Seconds.
  7. In the displayed dialog box, click Yes.

    After you disable this function, monitoring data will be reported again and will be displayed by the minute, starting approximately 5 minutes after the function was disabled.

    Figure 2 Disabling Monitoring by Seconds