Billing for Storage Resources
Billing Modes
DLI's internal storage resources are utilized for storing databases and DLI tables. The available billing modes are as follows:
- Pay-per-use: It is a postpaid mode, which you can use to purchase data storage. Storage uses are billed based on the amount of data stored in DLI, in GB. You will be billed by calendar hour since the queue is created. Storage fee = Unit price x Data volume (in GB) x Number of hours. Storage resources are settled hourly, with hours calculated on the hour.
- Yearly/Monthly: DLI enables you to purchase a yearly/monthly storage package. Storage uses are billed based on the amount of data stored in DLI, in GB. You are advised to combine yearly/monthly with pay-per-use when purchasing a storage package.
If you purchase a storage package, the quota included in the package is preferentially deducted when you use resources. If you exceed the package limit, you will be billed on a pay-per-use basis. The included quota will reset every hour. See Yearly/Monthly Billing for more information on yearly/monthly billing.
Application Scenarios
DLI's internal storage resources are utilized for storing databases and DLI tables.
- Tables stored in DLI are of the MANAGED type.
- You can check the storage capacity of DLI table data on the Data Management > Databases and Tables page.
Constraints and Limitations
- You can use storage resources directly without the need to create them or be limited by quota constraints.
- Billing information for data storage can only be viewed on the Bills page. For details, see Bills.
- Storage uses are billed based on the amount of table data stored in DLI, in GB.
- Note that DLI typically compresses the original file size to 1/5 when estimating storage costs. DLI storage is billed based on the size of compressed data.
- When data is stored on OBS, any charges for storage resource usage will be billed by OBS, not DLI.
Billing Rules
Type |
Description |
---|---|
Storage resource |
Storage fee = Unit price x Data volume (in GB) x Number of hours Storage uses are billed based on the amount of data stored in DLI, in GB. |
Billing Usage Period
Pay-per-use DLI data storage is billed hourly (UTC+08:00).
The billing starts when the DLI table is created and ends when the DLI table is deleted.
Creating a storage resource takes some time. For a pay-per-use storage resource, billing starts once the DLI table is successfully created, not when the creation process begins. You can choose Data Management > Databases and Tables to view the time when the DLI table is successfully created.
Billing Examples
The prices are just examples. The actual prices are those displayed on DLI Pricing Details.
- The first billing cycle runs from 09:00:00 to 10:00:00. In this billing cycle, the billing duration is one hour.
- The second billing cycle runs from 10:00:00 to 11:00:00. In this billing cycle, the billing duration is also one hour.
You need to pay for both billing cycles. Table 2 lists the billing formulas.
Resource Type |
Billing Formula |
Unit Price |
---|---|---|
Compute resource |
Computing fee = Unit price x Number of CUs x Number of hours |
For details, see DLI Pricing Details. |
Storage resource |
Storage fee = Unit price x Data volume (in GB) x Number of hours |
For details, see DLI Pricing Details. |
Resource Type |
Billing Details |
Total |
---|---|---|
Compute resource |
0.057 USD/hour; purchased CUs: 16 CUs; accumulated billing duration: 2 hours |
1.82 USD |
Storage resource |
0.023 USD/month/GB, that is, [0.023/(30 x 24)] USD/hour/GB Actual storage: 1 TB = 1,000 GB; accumulated billing duration: 2 hours |
0.06 USD |
Total fee: 1.88 USD
Impact of Arrears
Figure 1 shows the statuses a pay-per-use DLI queue can have throughout its lifecycle. Once you purchase a DLI queue, it will be considered valid during the billing cycle as long as it operates normally. However, if your account exceeds the expenditure quota, the queue will gradually enter the grace period and retention period.
Arrears Reminder
The system deducts fees from your account balance for pay-per-use resources at the end of each billing cycle. You will be notified by email, SMS, or internal messages when your account exceeds the expenditure quota.
Impact of Arrears
Your resources enter the grace period and you cannot submit jobs in DLI, including SQL, Spark, and Flink jobs. You will need to pay for the fees incurred during the grace period, which you can see on the Billing & Costs > Billing Center > Overview page of the Huawei Cloud console.
If you do not bring your account balance current before the grace period expires, your resources will enter the retention period and become frozen. You cannot perform any operations on the pay-per-use resources during this period.
If you do not bring your account balance current before the retention period ends, your resource will be released and the data cannot be restored.
For details about expenditure quotas, see Expenditure Quota.
Combination of Pay-per-Use and Yearly/Monthly
DLI allows you to use yearly/monthly and pay-per-use together.
If you purchase a storage package, the quota included in the package is preferentially deducted when you use storage resources. If you exceed the package limit, you will be billed on a pay-per-use basis. The included quota will reset every hour.
For details about how to use a package, see Yearly/Monthly Billing.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.