This topic describes the billable items and billing rules for AnalyticDB for MySQL Enterprise Edition and Basic Edition clusters.
Bill composition
The cost components for Enterprise Edition and Basic Edition clusters are as follows:
Billable items and billing rules
The following describes how fees for each billable item are calculated for 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 scenario:
Billing unit: The resources are bundled into units and sold as 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 scenario:
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: Elastic resource fee = Unit price of ACU elastic resources × Amount of used ACU elastic resources × Usage duration Querying usage: You can view elastic resource usage on the Resource Management page of the AnalyticDB for MySQL console. 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, Spark jobs that use the resource group will use idle Spark Executor resources in the AnalyticDB for MySQL resource pool. The price of spot instance resources is lower than the price of ACU elastic resources. Important Spot instance resources can be used for on-demand 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 Query Usage: You can go to the Resource Management page in the AnalyticDB for MySQL console to view spot instance resource usage. For more information, see View the computing resource usage of resource groups. | |
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 | |
AI Node Fees | AI node | Subscription | Billing scenario: Enable AI nodes when you create a cluster. Fee calculation: AI node fee = Unit price of AI node specifications × Number of nodes × Usage duration |
Data storage fee |
| Pay-as-you-go Note Storage plans can be used to offset the costs of storage. For more information, see Storage Plans. | Billing scope: The space consumed by data stored during cluster operation. Billing unit: The billing unit is GB. Fee calculation: Data storage fee = Hot data storage fee + Cold data storage fee
Querying usage: You can view the amount of cold data and hot data on the Monitoring & Alerting page of the AnalyticDB for MySQL console. For more information, see View monitoring information of AnalyticDB for MySQL. |
ADB lake storage - Standard | Pay-as-you-go | Billing scope: After you enable the lake storage feature, you are billed for the lake storage space occupied by the data stored in the cluster. Billing unit: The billing unit is GB. Fee calculation: ADB lake storage fee = Unit price of ADB lake storage × Data storage amount × Usage duration Query usage: You can view the amount of lake storage data in the Lake Storage page of the AnalyticDB for MySQL console. | |
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 OSS to ESSD cloud disks. 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 fee = Unit price of disk cache × Disk cache size × Usage duration |
Lake storage query acceleration | 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 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 storage | 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 Query usage: 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 View backup sets. |
Request Count Fee | ADB lake storage-PUT request (Standard) | Pay-as-you-go | Billing scenarios: After you enable the data lake storage feature, you are billed for the number of PUT API requests to OSS per hour. Billing unit: The billing unit is 10,000 requests. Fee calculation: AnalyticDB data lake storage - PUT request fee = Unit price of AnalyticDB data lake storage - PUT requests × Number of requests |
ADB lake storage-GET request (Standard) | Billing scope: After you enable lake storage, you are billed for the number of GET API requests to OSS per hour. Billing unit: The billing unit is 10,000 requests. Fee calculation: AnalyticDB lake storage GET request fee = Unit price of AnalyticDB lake storage GET requests × Number of requests |
Billing examples
The following billing examples are for reference only. To obtain actual prices for individual resources, see the service console or buy page.
Enterprise Edition
Example 1
You purchase a subscription Enterprise Edition cluster in the China (Hangzhou) region. The cluster has 3 reserved resource nodes, with single-node reserved resource specifications of 8 ACUs. The subscription period is 3 months.
Total reserved resource fees 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 single-node reserved resource specifications of 8 ACUs.
Data storage: The cluster stores 100 GB of hot data and 260 GB of cold data.
The following table describes the expense details.
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 hourly fees = 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 single-node reserved resource specifications of 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 hourly fees = USD 1.1076 + USD 0.066 + USD 0.00728 = USD 1.18088.
Basic Edition
Example 1
In the China (Hangzhou) region, you purchase a subscription Basic Edition cluster with single-node reserved resource specifications of 8 ACUs, 1 reserved resource node, and a subscription duration of 3 months.
Total reserved resource fees 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 single-node reserved resource specifications of 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 hourly fees = USD 0.3692 + USD 0.022 + USD 0.00728 = USD 0.39848.
References