Database Autonomy Service (DAS) detects exceptions around the clock based on machine learning and fine-grained monitoring data. Compared with conventional threshold-based detection, DAS can detect exceptions in a database in a more timely manner. This topic describes how the exception detection feature works and how to use this feature.

Prerequisites

An ApsaraDB RDS for MySQL database or a PolarDB for MySQL database is connected to DAS.

Note For information about how to connect an Alibaba Cloud database to DAS, see Access an Alibaba Cloud Database instance.

Benefits

Item Conventional method DAS
Technology Rule or threshold-based AI-based
Monitored objects Metrics A variety of objects such as metrics, SQL statements, logs, locks, and operations and maintenance (O&M) events
Latency From 5 minutes to one or more days Quasi real-time
Detection method Fault-driven Exception-driven
Periodic detection No Automatic and periodic
Adaptability No Adaptive to different business features
Prediction No Yes

Procedure

Go to the autonomy center.

  • Go to the autonomy center in the ApsaraDB for RDS console

    1. Log on to the ApsaraDB for RDS console.
    2. In the left-side navigation pane, click Instances.
    3. On the Instances page, find the target instance and click its ID to go to the instance details page.
    4. In the left-side navigation pane, choose Database Autonomy Service (CloudDBA) > Diagnostics.
    5. On the page that appears, click the Autonomy Center tab.
  • Go to the autonomy center in the DAS console

    1. Log on to the DAS console.
    2. In the left-side navigation pane, click Instance Monitoring.
    3. On the Instance Monitoring page, find the target instance and click its ID to go to the instance details page.
    4. In the left-side navigation pane, click Autonomy Center.

In the autonomy center, you can query events that occurred within a specified time range, including exceptions, optimization suggestions, and auto scaling events.