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 anomaly detection feature works and how to use this feature.

Prerequisites

DAS has accessed the database instance and the access status is Accessed. This feature can only be used to detect ApsaraDB RDS for MySQL and PolarDB for MySQL instances.

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

You can go to the Autonomy Center page in the following ways:

  • From the ApsaraDB RDS console

    1. Log on to the ApsaraDB RDS console.
    2. In the left-side navigation pane, click Instances.
    3. On the Instances page, find the instance and click its ID to go to the instance details page.
    4. In the left-side navigation pane, choose Autonomy Service > Diagnostics.
    5. On the page that appears, click the Autonomy Center tab.
  • From the DAS console

    1. Log on to the Database Autonomy Service console.
    2. In the left-side navigation pane, click Instance Monitoring.
    3. On the Instance Monitoring page, find the 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.