Configuring Second-Level Monitoring

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

To apply for the second-level monitoring permissions, submit a service ticket by choosing Service Tickets > Create Service Ticket in the upper right corner of the management console.

Enabling Second-Level Monitoring

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management 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 Second-Level Monitoring.
  7. In the displayed dialog box, select a collection period and click Yes.

    The second-level monitoring function will be automatically disabled for DB instances with fewer than 4 vCPUs. 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 second-level monitoring

Disabling Second-Level Monitoring

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management 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 Second-Level Monitoring.
  7. In the displayed dialog box, click Yes.

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

    Figure 2 Disabling second-level monitoring

Modifying Collection Period

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management 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 Modify Collection Period next to Second-Level Monitoring.
  7. In the displayed dialog box, select a collection period and click Yes.

    Figure 3 Modifying the collection period