All Products
Search
Document Center

AnalyticDB:Billable items of Enterprise Edition and Basic Edition

Last Updated:Mar 20, 2025

This topic describes the billable items and billing rules of AnalyticDB for MySQL Enterprise Edition and Basic Edition clusters.

Bill composition

The following figure shows the bill composition of AnalyticDB for MySQL Enterprise Edition and Basic Edition clusters.

image

Billable items and billing rules

The following table describes how the fees for each billable item are calculated in Enterprise Edition and Basic Edition clusters.

Category

Billable item

Billing method

Description

Reserved resource fee

Reserved resources

Pay-as-you-go

Subscription

Note

ACU-hour plans can be used to offset the reserved resources of pay-as-you-go clusters. For more information, see ACU-hour plans.

Billing scope:

  • You are billed for reserved resources when you create a cluster.

  • You are billed for changed reserved resources when you scale up a cluster.

Billing unit:

The resources are bundled into units and sold as AnalyticDB compute units (ACUs). Each ACU of reserved resources is approximately equal to 1 core and 8 GB memory.

Fee calculation:

Reserved resource fee = Unit price per ACU × Single-node specifications of reserved resources × Number of reserved resource nodes × Usage duration

Elastic resource fee

ACU elastic resources

Pay-as-you-go

Note

Only ACU-hour plans can be used to offset ACU elastic resources. For more information, see ACU-hour plans.

Billing scope:

  • Scheduled scaling: When you use a scaling plan to scale resources, you are billed for the consumed elastic resources after the scaling is executed.

  • Auto scaling:

    • When you use an interactive resource group that has the multi-cluster feature enabled to run jobs, you are billed for the compute cluster resources consumed in addition to reserved resources.

    • When you use a job resource group to run jobs, you are billed for the elastic resources consumed in addition to reserved resources.

Billing unit:

The resources are bundled into units and sold as ACUs. Each ACU of elastic resources is approximately equal to 1 core and 4 GB memory.

Fee calculation:

ACU elastic resource fee = Unit price of ACU elastic resources × Amount of used ACU elastic resources × Usage duration

Viewing information:

You can log on to the AnalyticDB for MySQL console and go to the Resource Management page to view the amount of used elastic resources. For more information, see View monitoring information about resource groups.

Spot instance resources

Pay-as-you-go

Billing scope:

After you enable the spot instance feature for a job resource group, you are billed for the idle Spark executor resources in the AnalyticDB for MySQL resource pool that are used by the Spark jobs that run in the resource group. The price of spot instance resources is lower than the price of ACU elastic resources.

Important

Spot instance resources can be used for auto scaling scenarios, but not scheduled scaling scenarios.

Billing unit:

The resources are bundled into units and sold as ACUs. Each ACU of elastic resources is approximately equal to 1 core and 4 GB memory.

Fee calculation:

Spot instance resource fee = Unit price of spot instance resources × Number of ACUs × Usage duration

Viewing information:

You can log on to the AnalyticDB for MySQL console and go to the Resource Management page to view the amount of used spot instance resources. For more information, see the "View the information about computing resources of a resource group" section of the View monitoring information about resource groups topic.

Remote build data

Pay-as-you-go

Billing scope:

After you enable the compaction service, you are billed for the data that is remotely built by the XUANWU_V2 engine in the independent resource pool of the compaction service.

Billing unit:

The billing unit is GB.

Fee calculation:

Remote build data fee = Unit price of remote build data × Amount of remote build data

Data storage fee

  • Hot data storage

  • Cold data storage

Pay-as-you-go

Note

Storage plans can be used to offset the costs of storage. For more information, see Storage plans.

Billing scope:

You are billed for data storage based on the actual storage usage.

Fee calculation:

Data storage fee = Hot data storage fee + Cold data storage fee

  • Hot data storage fee of Enterprise Edition = Unit price of hot data storage × Data amount × Usage duration × 2

    Note

    Enterprise Edition uses a multi-replica storage architecture. This way, the hot data storage fee of Enterprise Edition must be calculated by doubling the pay-as-you-go price.

  • Hot data storage fee of Basic Edition = Unit price of hot data storage × Data amount × Usage duration

  • Cold data storage fee = Unit price of cold data storage × Data amount × Usage duration

Viewing information:

You can log on to the AnalyticDB for MySQL console and go to the Monitoring Information page to view the amount of storage used for hot data and cold data. For more information, see View monitoring information of AnalyticDB for MySQL.

Cache storage fee

Disk cache size

Pay-as-you-go

Billing scope:

After you enable the disk cache feature, cloud disks are used to cache the data of XUANWU_V2 engine tables from Object Storage Service (OSS) to Enterprise SSDs (ESSDs). You are billed for the disk cache size that you specify when you enable the disk cache feature.

Billing unit:

The billing unit is GB.

Fee calculation:

Disk cache storage fee = Unit price of disk cache storage × Disk cache size × Usage duration

Lake cache size

Pay-as-you-go

Billing scope:

After you enable the lake cache feature and specify the cache size, OSS objects that are frequently accessed are cached in the cache space. You are billed for the lake cache size that you specify when you enable the lake cache feature.

Billing unit:

The billing unit is GB.

Fee calculation:

Lake cache storage fee = Unit price of lake cache storage × Lake cache size × Usage duration

Backup storage fee

Data backup size

Pay-as-you-go

Billing scope:

After you create an AnalyticDB for MySQL cluster, the data backup feature is automatically enabled for the cluster. The most recent data backup set of the cluster is retained free of charge. If a cluster contains multiple data backup sets, you are charged for the data backup sets other than the most recent one based on the pay-as-you-go billing method.

Billing unit:

The billing unit is GB.

Fee calculation:

Data backup storage fee = Unit price of data backup storage × (Total backup set size - Free backup set size) × Usage duration

Viewing information:

You can log on to the AnalyticDB for MySQL console and go to the Backup and Restoration page to view the total backup set size and the free backup set size. For more information, see the "View backup sets" section of the Manage backups topic.

Billing examples

Important

The following billing examples are provided for reference only. See the service console or buy page to obtain the actual prices of individual resources.

Enterprise Edition

Example 1

You purchase a subscription Enterprise Edition cluster in the China (Hangzhou) region. The cluster has 3 reserved resource nodes, with the single-node specifications of reserved resources being 8 ACUs. The subscription period is 3 months.

Total fees of reserved resources for 3 months = USD 21.54 per ACU-month × 8 ACUs × 3 nodes × 3 months = USD 1,550.88

Example 2

You purchase a pay-as-you-go, single-zone Enterprise Edition cluster in the China (Hangzhou) region.

  • Reserved resources: The cluster has 3 reserved resource nodes, with the single-node specifications of reserved resources being 8 ACUs.

  • Data storage: The cluster stores 100 GB of hot data and 260 GB of cold data.

The following table describes the fees for individual resources.

Category

Billable item

Fee

Reserved resources

Reserved resources

USD 0.04615 per ACU-hour × 8 ACUs × 3 nodes × 1 hour = USD 1.1076

Data storage

Hot data storage

USD 0.00022 per GB-hour × 100 GB × 1 hour × 2= USD 0.044

Cold data storage

USD 0.000028 per GB-hour × 260 GB × 1 hour = USD 0.00728

Total fees per hour = USD 1.1076 + USD 0.044 + USD 0.00728 = USD 1.15888

Example 3

You purchase a pay-as-you-go, multi-zone Enterprise Edition cluster in the China (Hangzhou) region.

  • Reserved resources: The cluster has 3 reserved resource nodes, with the single-node specifications of reserved resources being 8 ACUs.

  • Data storage: The cluster stores 100 GB of hot data and 260 GB of cold data.

The following table describes the fees for individual resources.

Category

Billable item

Fee

Reserved resources

Reserved resources

USD 0.04615 per ACU-hour × 8 ACUs × 3 nodes × 1 hour = USD 1.1076

Data storage

Hot data storage

USD 0.00033 per GB-hour × 100 GB × 1 hour × 2= USD 0.066

Cold data storage

USD 0.000028 per GB-hour × 260 GB × 1 hour = USD 0.00728

Total fees per hour = USD 1.1076 + USD 0.066 + USD 0.00728 = USD 1.18088

Basic Edition

Example 1

You purchase a subscription Basic Edition cluster in the China (Hangzhou) region. The cluster has 1 reserved resource node, with the single-node specifications of reserved resources being 8 ACUs. The subscription period is 3 months.

Total fees of reserved resources for 3 months = USD 21.54 per ACU-month × 8 ACUs × 1 node × 3 months = USD 516.96

Example 2

You purchase a pay-as-you-go Basic Edition cluster in the China (Hangzhou) region.

  • Reserved resources: The cluster has 1 reserved resource node, with the single-node specifications of reserved resources being 8 ACUs.

  • Data storage: The cluster stores 100 GB of hot data and 260 GB of cold data.

The following table describes the fees for individual resources.

Category

Billable item

Fee

Reserved resources

Reserved resources

USD 0.04615 per ACU-hour × 8 ACUs × 1 node × 1 hour = USD 0.3692

Data storage

Hot data storage

USD 0.00022 per GB-hour × 100 GB × 1 hour = USD 0.022

Cold data storage

USD 0.000028 per GB-hour × 260 GB × 1 hour = USD 0.00728

Total fees per hour = USD 0.3692 + USD 0.022 + USD 0.00728 = USD 0.39848

References

Pricing for Enterprise Edition and Basic Edition