This topic describes the billable items and billing rules of AnalyticDB for MySQL Data Lakehouse Edition clusters.
Bill composition
The following figure shows the bill composition of AnalyticDB for MySQL Data Lakehouse Edition clusters.
Billable items and billing rules
The following table describes how the fees for each billable item are calculated.
Category | Billable item | Billing method | Description |
Reserved resources1 |
| 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 or storage 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 is approximately equal to 1 core and 4 GB memory. Fee calculation: Reserved resource fee = Unit price per ACU × (Number of ACUs for reserved computing resources + Number of ACUs for reserved storage resources) × Usage duration |
Elastic resources2 | 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:
Billing unit: The resources are bundled into units and sold as ACUs. Each ACU is approximately equal to 1 core and 4 GB memory. Fee calculation: Elastic resource fee = Unit price of ACU elastic 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 elastic resources. For more information, see View monitoring information about resource groups. |
Spot instance resources | Pay-as-you-go Note The reserved computing resources that are not allocated to resource groups can be used to offset spot instance resources. | Billing scope: After you enable the spot instance feature, you are billed for the idle Spark executor resources that are used by Spark jobs 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 auto scaling scenarios, but not scheduled scaling scenarios. Billing unit: The resources are bundled into units and sold as ACUs. Each ACU 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 View monitoring information about resource groups. | |
Remote BUILD data | Pay-as-you-go | Billing scope: After you enable the compaction service, you are billed for the remote BUILD data that is used by XUANWU_V2 engine tables 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 | |
Storage3 |
| 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: Storage fee = Hot data storage fee + Cold data storage fee
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. |
Disk cache | Pay-as-you-go | Billing scope:
Billing unit: The billing unit is GB. Fee calculation: Disk cache fee = Unit price of disk cache × Disk cache size × Usage duration | |
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 latest backup sets of the cluster are retained free of charge. If the cluster contains multiple backup sets and the data backup storage of the cluster exceeds the free quota, you are charged for the excessive backup storage usage 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 × Data volume × 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 backup size. For more information, see the "View backup sets" section of the Manage backups topic. |
Reserved resources1 refer to the computing resources and storage resources that are reserved when you create a cluster.
Elastic resources2 refer to the resources that are billed based on the actual usage.
Storage3 refers to the billable item related to data cache and data storage.
Billing examples
The following billing examples are provided for reference only. See the service console or buy page to obtain the actual prices of individual resources.
Example 1
You purchase a subscription Data Lakehouse Edition cluster in the China (Hangzhou) region. The cluster has 32 ACUs of reserved computing resources and 24 ACUs of reserved storage resources. The subscription period is three months.
The following table describes the fees for individual resources.
Category | Billable item | Fee |
Reserved resources | Reserved computing resources | USD 21.54 per ACU-month × 32 ACUs × 3 months = USD 2,067.84 |
Reserved storage resources | USD 21.54 per ACU-month × 24 ACUs × 3 months = USD 1,550.88 |
Total fees for three months = USD 2,067.84 + USD 1,550.88 = USD 3,618.72
Example 2
You purchase a pay-as-you-go Data Lakehouse Edition cluster in the China (Hangzhou) region.
Reserved resources: The cluster has 32 ACUs of reserved computing resources and 24 ACUs of reserved storage resources.
Elastic resources: A job resource group that has 0 ACUs of reserved resources is created. The job resource group is used to run a Spark job of 2 cores and 4 GB memory (equivalent to 2 × 0.8 ACUs) for 1 hour.
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 computing resources | USD 0.04615 per ACU-hour × 32 ACUs × 1 hour = USD 1.4768 |
Reserved storage resources | USD 0.04615 per ACU-hour × 24 ACUs × 1 hour = USD 1.1076 | |
Elastic resources | ACU elastic resources | USD 0.04615 per ACU-hour × 2 × 0.8 ACUs × 1 hour = USD 0.07384 |
Storage | Hot data storage | USD 0.000425 per GB-hour × 100 GB × 1 hour = USD 0.0425 |
Cold data storage | USD 0.000028 per GB-hour × 260 GB × 1 hour = USD 0.00728 |
Total fees per hour = USD 1.4768 + USD 1.1076 + USD 0.07384 + USD 0.0425 + USD 0.00728 = USD 2.70802
References