Prepaid Billing
When calculating the amount, the banker billing mode is adopted, retaining 2 decimal places and rounding off. If the last digit is 5 and its previous digit is odd, it will be rounded up; if the previous digit is even, it will be rounded down. You can quickly get prices through the TSDB Price Calculator.
TSDB provides instant database services with data writing, storage, query and other capabilities in the form of APIs. Users do not need to purchase virtual machine instances but only needs to purchase the monthly write and query limits.
A proper estimation should be made on the number of written data points and query capabilities per month prior to the purchase. A small number of configurations, such as business growth, is recommended to purchase, and Automatic Upgrade can be performed later via the console.
Note: When the user purchase service of 10, 11, or 12 months, due to the preferential policy, 10-month-service is actually paid while the 1-year service is provided.
Billing Mode
Data One-year Free Data Storage Mode :
No. | Billing Items | Monthly Limit | Directory Price | Units | Instruction | Whether Required |
---|---|---|---|---|---|---|
1 | Write price | 1-100 million points | 2.00 | RMB/million points/month | The data is stored for free for one year, after which renewal fee will be charged every month in the form of Postpaid bills. | Required |
101-1,000 million points | 0.5 | RMB/million points/month | ||||
1,001-100,000 million points | 0.03 | Yuan/million points/month | ||||
2 | Inquiry fee | - | 0.004 | CNY/10k inquiry units/month |
1. Every time a query object scans 1,000 or less data points, it is counted as one query unit. 2. The first 100,000 query units of each database are free of charge. 3. The operation of the Console is billed based on the same rule. 4. Please refer to the bottom of this page for the interface generating query fees. |
Not necessary |
3 | Renewal fee | - | 0.015 | Yuan/hundred million points/month | The difference between the total number of database points and the number of points written in the past year is charged in the form of monthly Post-paid bills, and less than one month is counted as one month. | Not necessary |
4 | Long data format storage cost | - | 0.5 | CNY/GB/month |
1. This fee needs to be taken into account only for storing String/byte, etc. long data format. 2. The quota of written data points of long data format such as String/byte is also included in the billing item 1 "Write Fee". |
Not necessary |
Note :
- The original configuration of "free data storage for 5 years" cannot be newly purchased, but can be renewed and upgraded normally. If you want to upgrade the original "free data storage 5 years" database to "data free storage for 1 year" database, the total number of points already stored in the original database will be charged for renewal fee for one year after the upgrading configuration takes effect. Please submit a Ticket to apply for. If monthly write quota is less than 100 million points, no upgrade service will be provided.
- When calculating the amount, the banker billing mode is adopted, retaining 2 decimal places and rounding off. If the last digit is 5 and its previous digit is odd, it will be rounded up; if the previous digit is even, it will be rounded down.
Original Data Five-year Free Data Storage Mode:
S/N | Billing item | Monthly quota | Catalog price | Unit | Description | Required or not |
---|---|---|---|---|---|---|
1 | Write fee | 1-100 million points | 2.00 | Yuan/million points/month | The data is stored for free for five year, after which renewal fee will be charged every month in the form of Postpaid bills. | Required |
101-1,000 million points | 1.2 | Yuan/million points/month | ||||
1,001-100,000 million points | 0.5 | RMB/million points/month | ||||
2 | Query fee | - | 0.04 | RMB/ten thousand query units/month |
1. Each scanned 1,000 and below 1,000 data points by a query object are counted as 1 query unit. 2. Free for the first 100,000 query units per month in each database 3. Console operations are billed according to the same rules 4. The interface that generates the query fee is shown below at this page |
Not required |
3 | Renewal Fee | - | 0.015 | RMB/hundred million points/month | After the data point is stored for more than 5 years, it will be charged in the form of monthly Postpaid bills, and less than 1 month is counted as one month. | Not required |
4 | Long data format storage fee | - | 0.5 | RMB/GB/month |
1. The fee is only for storing long data format such as String/byte 2. The limit on writing of data points of long data format such as String/byte is also included in the "Write Price" in billing item 1 |
Not required |
Time Series Limit
Monthly Write Limit (Million Points/Month) | Time Series Limit(s) |
---|---|
1 | 1,000 |
2-10 | 10,000 |
11-100 | 100,000 |
101-1,000 | 1,000,000 |
1,001-10,000 | 10,000,000 |
A maximum of 10,000,000 time series in each database instance.
Purchase Guide
Scenario:
You need to monitor data of 1,000 devices, each with 10 monitoring points, and each monitoring point reports data every minute. Data of one monitoring point requires to be stored in string type at a length of 100B. You make 100 queries per day in the console, each query covers 1,000 data points, the number of queries that the business system calls query interface API is 100 queries per minute, and each query covers 1,000 data points.
Usage:
- The number of data points to be reported each month is 60*24*30*10*1000 = 4320000
- The number of time series is 10*1000 = 10000
- The number of queries is 100*30+100*60*24*30 = 4330000
- Storage space for long data format is 100B*60*24*30*1000 = 4.32 GB
Purchase:
- Write limit is 432 million/month with RMB 598.4
- Query limit is 4.33 million/month with RMB 1.692
- Storage space for long data format is 4.32 GB/month with RMB 2.5
Monthly fee paid is:
- 598.4 + 16.92 + 2.5 = 617.82 (CNY)
Billing Query Interface
Interface | Method | API | Instruction |
---|---|---|---|
Query data point | GET | /v1/datapoint?query={json} | Query data point and query a parameter in query parameters, including console calls |
Query data point | PUT | /v1/datapoint?query | Query data point and query a parameter in body, including console calls |
SQL query data point | GET | /v1/row?sql={statement} | Query time series data by using ANSI SQL, including console calls and API/SDK calls |
Preprocessing | Console Call | Console Call | Data points processed based on preprocessing rules |
For detailed interface, see API Documentation For system limitation, see Documentation
Note:
1.Scanned counts of data points (consumedCount) are billed, and the value of ceiling consumedCount/1000 is the query unit of this query;
2.If there is a limit parameter, the return points for each time series is limited to limit. The scanned counts of data points (consumedCount) by the system are related to both the limit parameter and the number of time series, and the scanned counts (consumedCount) can be reduced by reducing the number of time series and setting the limit parameter
3.Query fee is not required if there is an internal error of the system
4.Time-out queries are also counted as query units. Properly construct query statements to prevent timeouts. The return time below is used as a reference, but not as an SLA guarantee.
If the query request is within 100 time series,
a) return time is between 200ms to 300ms for 10,000 scanned counts of data points
b) return time is between 2000ms to 3000ms for 100,000 scanned counts of data points
c) return time is within 20s for 1,000,000 scanned counts of data points
Upgrade Configuration
Users who have business growth requirements may follow the following operating steps to upgrade, and the Billing Mode of the upgrade fee is the same as that of the prepaid fee:
- Select Product Service > Time Series Database TSDB > Product Name, and enter the database details page.
- Click Basic Information > Configuration Information > Upgrade Configuration, to upgrade and configure the console.