In the autonomy center of Database Autonomy Service (DAS), you can query the events that occur within a specified time range. The events are categorized into abnormal events, optimization events, auto scaling events, and other events. DAS monitors the core metrics of a database instance to detect exceptions. If an exception is detected, DAS analyzes sessions, SQL statements, and the instance capacity to identify the cause. Then, DAS provides suggestions to optimize performance or mitigate the loss. You can authorize DAS to automatically optimize performance or mitigate the loss.
Prerequisites
- RDS MySQL
- MyBase MySQL
- RDS PostgreSQL
- PolarDB MySQL
- ApsaraDB for Redis
Overview
- Exception detection
DAS detects exceptions 24/7 based on machine learning and fine-grained monitoring data. This detection mechanism allows DAS to detect database exceptions faster than traditional alerting methods that are based on thresholds.
Item Traditional solution DAS Method Rule-based or threshold-based AI-based Monitored objects Metrics A wide range of objects, including metrics, SQL statements, logs, locks, and O&M events Low latency From 5 minutes to one or more days Quasi-real-time Detection driven by Faults Exceptions Periodic detection Not supported Automatic and periodic Adaptability Not supported Adaptive to services that have different characteristics Prediction Not supported Supported - Automatic SQL throttlingTraffic-related exceptions may occur in a database, such as cache penetration, abnormal resource consumption of SQL statements in a released application, or a spike in the traffic from a specific application. In these scenarios, the database can start to terminate sessions. To maintain database stability, you can use database O&M solutions. For example, you can restart the database instance or switch to a secondary instance. However, these solutions may not be effective. The autonomy center of DAS can automatically detect exceptions, identify the SQL statements that need to be throttled, and then perform throttling on the SQL statements.
- Exception snapshotsAfter DAS detects an exception in a database, DAS starts to check the database engine to identify the root cause. If no root cause is found, DAS creates a snapshot of the database for further analysis.
- SQL optimization
After you enable the autonomy center service, DAS automatically checks high-risk SQL statements and generates detailed analysis and optimization suggestions.
- We recommend that you enable the SQL Explorer feature. In this way, DAS can identify and optimize all high-risk SQL statements in your database instead of only slow SQL queries.
- To generate effective optimization suggestions for SQL statements, DAS samples and analyzes fields in the conditions of related SQL statements within the O&M time window of the database.
Procedure
- Log on to the DAS console.
- In the left-side navigation pane, click Instance Monitoring.
- On the page that appears, click the ID of the database instance that you want to manage. The instance details page appears.
- In the left-side navigation pane, click Autonomy Center.
- In the upper-right corner of the Autonomy Center page, click Autonomy Service Settings.
- On the Autonomous Function Settings tab of the Autonomous Function Management panel, enable the autonomy service and click OK.
FAQ

The specific database instance does not support the features of DAS autonomy center.