Database Autonomy Service (DAS) provides two paid service tiers for database O&M: DAS Audit Log (NoSQL-compatible), which captures full SQL logs and enables indexed query analysis, and Alibaba Cloud Managed Services (formerly Economy Edition), which adds automated O&M capabilities. This topic explains how to activate, configure, and manage both services.
Prerequisites
Before you begin, ensure that you have:
-
An Alibaba Cloud account with at least one database instance in the DAS console
-
(For RAM users) The AliyunHDMFullAccess access policy attached to your Resource Access Management (RAM) user by your Alibaba Cloud account administrator. See Grant permissions to a RAM user
Supported databases and regions
For the databases and regions supported by each DAS edition, see Product editions.
Manage Audit Log and Alibaba Cloud Managed Services (formerly Economy Edition)
-
Enterprise Edition V0, V1, and V2 no longer accept new operations, and Enterprise Edition V1 no longer accepts quota increases. If you are on Enterprise Edition V1 or V2 with a storage duration of up to 30 days, you can migrate to Enterprise Edition V3 at no cost. See Migrate from Enterprise Edition V1 or V2 to Enterprise Edition V3. Billing continues under your current edition until migration completes, then switches to the V3 billing model.
-
After DAS Economy Edition is upgraded to Alibaba Cloud Managed Services, DAS Economy Edition will be gradually phased out. To continue using the service, enable Alibaba Cloud Managed Services. To stop Economy Edition charges, unsubscribe on the Service Management tab of the Instance List page.
Manage Audit Log
DAS Audit Log records SQL activity for a database instance. You can activate two services per instance:
-
SQL Logs: Captures full SQL logs. Required to enable any audit capability.
-
Log Indexing: Indexes captured logs for fast querying and analysis.
Both services let you set a storage duration. Audit Log is activated per instance and can be reconfigured or disabled at any time.
Activate Audit Log
Activating Audit Log starts capturing SQL activity for the instance. Disabling SQL Logs after activation requires you to acknowledge the associated risks.
-
Log on to the DAS console.
-
In the left navigation pane, choose Resource Management > Instances.
-
On the Cloud Instances tab, find the target instance.
-
In the Audit Log Service column for that instance, click Activate.
-
In the Full Logs panel, under Activate Service, select the services to activate. For SQL Logs and Log Indexing, you can also set the storage duration.
-
Click Submit, then click OK.
View audit log data
In the Audit Log Service column for the instance, click View to open the SQL Explorer and Audit feature.
Change Audit Log configuration
-
In the Audit Log Service column for the target instance, click Change Configuration.
-
Modify the features or storage duration. To disable a service, clear its checkbox.
-
Click Submit.
To disable SQL Logs, select or enter a reason and acknowledge the associated risks before submitting.
Manage Alibaba Cloud Managed Services
Alibaba Cloud Managed Services is a subscription-based tier that adds automated database O&M capabilities. You activate it per instance and choose the subscription duration.
Activate Alibaba Cloud Managed Services
-
Log on to the DAS console.
-
In the left navigation pane, choose Resource Management > Instances.
-
On the Cloud Instances tab, find the target instance.
-
In the Managed Services column for that instance, click Activate.
-
In the Activate Managed Services panel, select the subscription duration.
-
Enable or disable auto-renewal as needed.
-
Click Activate, then click OK.
Renew Alibaba Cloud Managed Services
In the Managed Services column for the target instance, click Renew and complete the steps. For details, see Renewal management.
Shut down Alibaba Cloud Managed Services
To disable Alibaba Cloud Managed Services and request a refund, submit a ticket: in the upper-right corner of the DAS console, choose Ticket > Submit Ticket.
In the upper-right corner of the DAS console, choose to disable DAS Enterprise Edition and request a refund via a ticket.
FAQ
Will I still be charged after unsubscribing from DAS Enterprise Edition or Alibaba Cloud Managed Services?
No, you will not.
How do I downgrade from DAS Enterprise Edition to Alibaba Cloud Managed Services or DAS Basic Edition?
You cannot downgrade Enterprise Edition directly to Alibaba Cloud Managed Services. First unsubscribe from Enterprise Edition, then activate Alibaba Cloud Managed Services separately.
To drop to the free tier, unsubscribe from Enterprise Edition. Your service automatically falls back to DAS Basic Edition, which provides basic database autonomy features at no cost. Read the unsubscribe precautions before proceeding.
How do I confirm that a service has been disabled or unsubscribed?
-
Log on to the DAS console.
-
In the left navigation pane, choose Resource Management > Instances.
-
On the Cloud Instances tab, check the Alibaba Cloud Managed Services and Audit Log Service columns for the instance. If both show Not Enabled, the services have been successfully disabled.
API reference
| API | Description |
|---|---|
| DisableDasPro | Disables DAS Enterprise Edition V1 for a specified database instance |
| DescribeInstanceDasPro | Checks whether DAS Enterprise Edition V1 or V2 is enabled for a specified database instance |
| GetDasProServiceUsage | Queries storage usage for DAS Enterprise Edition V1 or V2 of a database instance |
| ModifySqlLogConfig | Activates or configures DAS Enterprise Edition for a database instance. By default, the latest supported version is activated |
| DescribeSqlLogStatistic | Queries performance statistics for DAS Enterprise Edition |
| DescribeSqlLogConfig | Queries DAS Enterprise Edition configuration for a database instance |
| DescribeSqlLogTasks | Queries offline tasks for DAS Enterprise Edition of a database instance |
| DescribeSqlLogTask | Queries details of an offline task for DAS Enterprise Edition |