Billing Mode
TencentDB for MySQL offers the following billing mode::
|
Monthly subscription | Prepaid Billing refers to paying the fees at the time of creating a new instance. | It is suitable for long-term needs with relatively stable business volume. The cost is more moderate compared to the pay-as-you-go billing. The longer the purchase duration, the greater the discount. |
Pay-as-you-go | In this postpaid billing mode, you can apply for resources for on-demand use and will be charged based on the actual usage at the billing time. | It is suitable for instantaneously fluctuating businesses. In this mode, instances can be released immediately after the use to save costs. |
Instance Pricing
Billing formula
Total fees = memory and cpu fees + storage capacity fees + backup capacity fees + traffic fees (currently waived)
Billable items
|
memory and cpu fees | The cost of the instance specifications selected on the purchase page, which include memory and CPU, supports both subscription and pay-as-you-go tiered pricing. For pricing details, please see Product Pricing. The pay-as-you-go pricing adopts a three-tier system, where longer usage periods result in greater discounts: Tier 1 (T1) applies from 0 to 96 hours; Tier 2 (T2) from 96 to 360 hours; and Tier 3 (T3) for usage beyond 360 hours. |
storage capacity fees | The cost of the disk size selected on the purchase page supports both annual/monthly subscription and pay-as-you-go billing. For pricing details, please see Product Pricing. The storage space is utilized for storing essential data files for the operation of the cloud database MySQL, including shared tablespaces, error log files, REDO LOG, UNDO LOG, data dictionaries, and binlog, among others. |
backup capacity fees | TencentDB for MySQL offer complimentary backup storage quotas based on the region. The size of the free backup storage is equivalent to the sum of the storage spaces of all dual-node and triple-node instances (including primary and disaster recovery instances) within the specified region. For information on charges applicable to backup storage exceeding the free quota, please see Backup Space Billing. |
traffic fees | Public network traffic fees are currently waived. |
You may directly utilize the Pricing Calculator to view the composite pricing of the products you require, thereby estimating the cost of resources. To ensure the accuracy of the prices obtained, please log in to Tencent Cloud before proceeding to view them. Value-Added Service Pricing Overview
Database Audit Pricing
Database auditing facilitates the recording of access to the database and the execution of SQL statements, aiding organizations in risk management and enhancing data security levels. Charges for database auditing apply only after it has been activated. The pricing is detailed in the table below. For more comprehensive information, please see Database Audit Billing Overview. |
| Frequent Access Storage | Infrequent Access Storage |
China (including finance regions, Hong Kong, Macao, and Taiwan) | 0.00147059 | 0.00018382 |
Other countries and regions | 0.00220588 | 0.00027573 |
Database Proxy Pricing
The Database Proxy acts as a network proxy service situated between the cloud database service and application services, facilitating the proxying of all requests made by application services when accessing the database. This service operates on a pay-as-you-go basis, with the billing unit being CU. Pricing for the Database Proxy varies by region, as detailed in the table below. For more comprehensive information, you are encouraged to see Commercial Billing and Activity Description for Database Proxy. Note:
The term CU refers to the minimum billing specification of the database proxy (i.e. the price for a 2-core proxy specification with 4,000 MB memory). There are three specifications for the database proxy node: a 2-core one with 4,000 MB memory, a 4-core one with 8,000 MB memory, and an 8-core one with 16,000 MB memory. These correspond to 1 CU, 2 CU, and 4 CU respectively.
Region | Price (USD/CU/Hour) |
Shanghai, Nanjing, Chongqing, Chengdu, Guangzhou, Beijing | 0.06865672 |
Hong Kong (China) | 0.11492537 |
Jakarta, Virginia, Bangkok, Tokyo, Singapore, Seoul, Toronto, Frankfurt, Silicon Valley, São Paulo | 0.11791045 |
Shenzhen Finance, Beijing Finance, Shanghai Finance | 0.11641791 |
Note:
The regions displayed above represent all the regions where the current instance supports deployment. Some regions do not yet support the database proxy feature. The regions that do support it include Beijing, Shanghai, Guangzhou, Shanghai Finance, Beijing Finance, Chengdu, Chongqing, Nanjing, Hong Kong (China), Tokyo, Bangkok, Virginia, Silicon Valley, Seoul, and Singapore.
Billing Examples
Note:
The prices used in the following examples are for demonstration purposes only, which may vary depending on regions, campaigns, or policies. Please see the pricing page for actual prices.
Suppose that:
You purchase a monthly-subscribed Two-Node TencentDB for MySQL instance with 4 cores, 8,000 MB memory, and 500 GB disk space in the Guangzhou Zone 3 for 1 month.
You purchase a monthly-subscribed Two-Node TencentDB for MySQL instance with 4 cores, 8,000 MB memory, and 200 GB disk space in the Guangzhou Zone 4 for 1 month.
Total fees = memory and cpu fees + storage capacity fees + backup capacity fees
Memory and cpu fees
In the Guangzhou region, the monthly rate for an instance with 4 cores and 8000MB is 120 USD/month. Therefore, the cost for memory and cpu = 2 × 120 USD/month × 1 month = 240 USD.
Storage capacity fees
In the Guangzhou region, the monthly subscription rate for instance disks is 0.10588 USD/GB/month. Therefore, the cost for storage capacity = (500GB + 200GB) × 0.10588 USD/GB/month × 1 month = 74.116 USD.
Backup capacity fees
The high-availability TencentDB for MySQL instance in Guangzhou Zone 3 has 500 GB storage capacity per month, and the one in Guangzhou Zone 4 has 200 GB storage capacity per month, so you can have 700 GB backup capacity free of charge in the Guangzhou region every month.
Usage of backup capacity that exceeds the free tier are calculated on an hourly basis according to the following rule. For example, if your data backups reach 800 GB and log backups reach 100 GB, your total backup capacity usage in Guangzhou will exceed 700 GB, and your hourly billable backup capacity will be 200 GB (800 + 100 - 700 = 200).
Backup capacity fees (hourly) = 200 GB (usage of backup capacity that exceeds the free tier may change over time) x 0.000113 USD/GB/hour.
FAQs
Why are additional fees incurred for my monthly-subscribed instance?
Usage of backup capacity that exceeds the free tier will be charged. Please check whether your usage of backup capacity exceeds the free tier.
You can check the usage of backup capacity on the Database Backup page in the TencentDB for MySQL console. For more information about backup capacity pricing, please see Backup Space Billing. Will Tencent Cloud charge for pay-as-you-go instances if they are idle?
Yes. If you stop using pay-as-you-go resources, please terminate them as soon as possible to avoid further fees.
What files are stored in the storage capacity?
Data files: the space which your data takes up, including created tables and indexes.
System files (necessary for the database): shared tablespaces, error logs, redo logs, undo logs, and data dictionaries.
Binlogs: binlogs record all DDL and DML statements (except SELECT and SHOW statements) and are used to replicate and restore database data. The more data changes, the more binlogs. To reduce the space binlogs take up, they can be uploaded to COS.
Documentation
You can purchase TencentDB for MySQL instances through the console or API. For more information, please see Purchase Methods. TencentDB for MySQL sends alert messages to you before it expires and its resources are repossessed. For more information, please see Overdue Payment. You can return TencentDB for MySQL instances and request a refund. For more information, please see Refund. You can adjust TencentDB for MySQL instances to a higher or lower specification. For more information, please see Instance Adjustment Fee.