All Products
Search
Document Center

Database Autonomy Service:Enable and manage DAS Cost-efficient Edition and DAS Enterprise Edition

最終更新日:Aug 06, 2024

Database Autonomy Service (DAS) Cost-efficient Edition and DAS Enterprise Edition provides powerful database O&M features. This helps you effectively identify and resolve database issues, improves database performance and efficiency, and significantly reduces operational costs. This topic describes how to enable and manage DAS Cost-efficient Edition and DAS Enterprise Edition.

Prerequisites

The AliyunHDMFullAccess policy is attached to the Resource Access Management (RAM) user that is used to purchase DAS Cost-efficient Edition and DAS Enterprise Edition if you access DAS as a RAM user. You can contact the owner of the Alibaba Cloud account to attach the AliyunHDMFullAccess policy to the RAM user. For more information, see Grant permissions to a RAM user.

Supported databases and regions

For more information, see the Supported databases and regions section of the "Editions and supported features" topic.

Enable DAS Cost-efficient Edition and DAS Enterprise Edition

Enable DAS Cost-efficient Edition

Step 1: Purchase a resource plan of DAS Cost-efficient Edition

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Version Management.

  3. On the Edition Management page, click the Cost-efficient Edition Instance tab.

  4. On the Cost-efficient Edition Instance tab, click Purchase DAS Cost-efficient Edition.

  5. On the buy page that appears, purchase a resource plan of DAS Cost-efficient Edition based on your business requirements.

    Important

    For more information about the billing of DAS Cost-efficient Edition, see Billing details.

  6. Read and select the terms of service and complete the payment.

Step 2: Enable DAS Cost-efficient Edition for a database instance

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Version Management.

  3. On the Edition Management page, click the Cost-efficient Edition Instance tab.

  4. Find the resource plan that you purchase and click Associate Instance in the Actions column. In the dialog box that appears, select the database instances for which you want to enable DAS Cost-efficient Edition and click the p2022022201 icon.

  5. Click OK.

Enable DAS Enterprise Edition

Important
  • If you want to enable DAS Enterprise Edition for a database instance, you can enable only DAS Enterprise Edition of the latest version that is supported by the database instance. The latest version provides a more flexible billing method that reduces your costs. We recommend that you use DAS Enterprise Edition of the latest version.

  • You cannot enable DAS Enterprise Edition V0 in the DAS console.

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Version Management.

  3. On the Edition Management page, click the Basic Edition Instance tab.

  4. Find the database instance that you want to manage and click Enable Enterprise Edition in the Actions column.

  5. In the Set SQL Storage Duration panel, enable the features of DAS Enterprise Edition and configure the data storage duration.

    If the database instance supports only DAS Enterprise Edition V1, you must increase the quota of available instances for DAS Enterprise Edition V1 on the Unified Billing tab of the Enterprise Edition Instance before you enable DAS Enterprise Edition V1 for the database instance on the Basic Edition Instance tab.

  6. Click Submit.

Manage DAS Cost-efficient Edition and DAS Enterprise Edition

Manage DAS Cost-efficient Edition

You can enable DAS Cost-efficient Edition for your database instances, upgrade, downgrade, or renew DAS Cost-efficient Edition, or unsubscribe from DAS Cost-efficient Edition.

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Version Management.

  3. On the Edition Management page, click the Cost-efficient Edition Instance tab.

  4. Manage DAS Cost-efficient Edition based on your business requirements.

    • Add Instance:

      1. Click Associate Instance in the Actions column.

      2. In the dialog box that appears, select the database instances for which you want to enable DAS Cost-efficient Edition and click the p2022022201 icon.Instance ID/instance alias

      3. Click OK.

        Note

        It takes 3 minutes to enable DAS Cost-efficient Edition for the selected database instances.

    • Renew: Click Renew in the Actions column to extend the subscription duration of DAS Cost-efficient Edition.

    • Unsubscribe: Click Unsubscribe in the Actions column to unsubscribe from DAS Cost-efficient Edition for your Alibaba Cloud account.

      Important

      When you unsubscribe from DAS Cost-efficient Edition, DAS automatically disables DAS Cost-efficient Edition for all database instances within your Alibaba Cloud account and deletes the historical data. Proceed with caution. We recommend that you manually disable DAS Cost-efficient Edition for all database instances before you unsubscribe from DAS Cost-efficient Edition. This prevents data loss. For more information, see Disable DAS Cost-efficient Edition and DAS Enterprise Edition.

    • Manage DAS Cost-efficient Edition for a specific database instance:

      Find the database instance that you want to manage and click Disable Cost-efficient Edition in the Actions column.

Manage DAS Enterprise Edition V3

You can modify the data storage duration for database instances for which DAS Enterprise Edition V3 is enabled. You can also enable or disable the features of DAS Enterprise Edition V3 for the database instances.

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Version Management.

  3. On the Edition Management page, click the Enterprise Edition Instance tab, and then click the Tiered Billing tab.

  4. Find the database instance that you want to manage and click Settings in the Actions column. In the panel that appears, configure the data storage duration and enable or disable the features of DAS Enterprise Edition V3.

Manage DAS Enterprise Edition V2

You can modify the data storage duration for database instances for which DAS Enterprise Edition V2 is enabled, or disable the SQL Explorer and Audit feature for these database instances.

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Version Management.

  3. On the Edition Management page, click the Enterprise Edition Instance tab, and then click the Unified Billing tab.

  4. Find the database instance that you want to manage and click Settings in the Actions column. In the dialog box that appears, you can set the data storage duration or disable the SQL Explorer and Audit feature based on your business requirements.

Manage DAS Enterprise Edition V1

You can enable DAS Enterprise Edition V1 for your database instances, upgrade, downgrade, or renew DAS Enterprise Edition V1, or unsubscribe from DAS Enterprise Edition V1. You can also modify the data storage duration for database instances for which DAS Enterprise Edition V1 is enabled, or disable DAS Enterprise Edition V1 for database instances.

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Version Management.

  3. On the Edition Management page, click the Enterprise Edition Instance tab, and then click the Unified Billing tab.

  4. Manage DAS Enterprise Edition V1 based on your business requirements.

    • Add Instance: Click Add Instance in the Actions column to enable DAS Enterprise Edition V1 for database instances.

    • Upgrade: Click Upgrade in the Actions column to increase the number of database instances for which DAS Enterprise Edition V1 can be enabled.

    • Downgrade: Click Downgrade in the Actions column to reduce the number of database instances for which DAS Enterprise Edition V1 can be enabled.

      Note

      The number of available database instances after a downgrade cannot be less than the number of database instances for which DAS Enterprise Edition V1 is enabled.

    • Renew: Click Renew in the Actions column to extend the subscription duration of DAS Enterprise Edition V1.

    • Unsubscribe: Click Unsubscribe in the Actions column to unsubscribe from DAS Enterprise Edition V1 for your Alibaba Cloud account. Before you unsubscribe from DAS Enterprise Edition V1, you must disable DAS Enterprise Edition V1 for all database instances within your Alibaba Cloud account. For more information, see Disable DAS Enterprise Edition.

    • Manage DAS Enterprise Edition V1 for a specific database instance:

      • Click Set Duration in the Actions column. In the panel that appears, disable the SQL Explorer and Audit feature to disable DAS Enterprise Edition V1 for the database instance.

        Note

        After you disable DAS Enterprise Edition V1 for a database instance, the SQL Explorer and Audit feature is disabled, and all data related to DAS Enterprise Edition V1 is deleted. For more information, see Disable DAS Cost-efficient Edition and DAS Enterprise Edition.

      • Click Settings in the Actions column to modify the Data Storage Duration of the database instance.

Manage DAS Enterprise Edition V0

You can modify the data storage duration for database instances for which DAS Enterprise Edition V0 is enabled, or disable the SQL Explorer and Audit feature for these database instances.

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Version Management.

  3. On the Edition Management page, click the Enterprise Edition Instance tab. Click the Unified Billing tab and then click the Audit tab.

  4. Find the database instance that you want to manage and click Settings in the Actions column. In the panel that appears, configure the data storage duration or disable the SQL Explorer and Audit feature based on your business requirements.

Related operations

Operation

Description

EnableDasPro

Enables DAS Enterprise Edition V1 for a database instance.

Note

If your database instance supports DAS Enterprise Edition V3, you cannot call this operation to enable DAS Enterprise Edition V1 for the database instance. In this case, call the ModifySqlLogConfig operation to enable DAS Enterprise Edition V3 for the database instance.

DisableDasPro

Disables DAS Enterprise Edition V1 for a database instance.

DescribeInstanceDasPro

Queries whether DAS Enterprise Edition V1 or DAS Enterprise Edition V2 is enabled for a database instance.

GetDasProServiceUsage

Queries the storage usage of a database instance for which DAS Enterprise Edition V1 or DAS Enterprise Edition V2 is enabled.

ModifySqlLogConfig

Enables or configures DAS Enterprise Edition for a database instance.

Note

By default, DAS Enterprise Edition of the latest version supported by the database instance is enabled.

DescribeSqlLogStatistic

Queries the data statistics of DAS Enterprise Edition.

DescribeSqlLogConfig

Queries the DAS Enterprise Edition configurations of a database instance.

DescribeSqlLogTasks

Queries the offline tasks of a database instance for which DAS Enterprise Edition is enabled.

DescribeSqlLogTask

Queries the details of an offline task of a database instance for which DAS Enterprise Edition is enabled.