Updated on 2023-12-28 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.

Enabling Monitoring by Seconds

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

Disabling Monitoring by Seconds

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