Billing Overview

Last updated: 2021-08-04 10:06:59
    Note:

    This product now supports dynamic pricing query and cost estimation. You can use the Price Calculator to estimate fees.

    Billing Modes

    TencentDB for MySQL now offers the monthly subscription billing mode. Pay-as-you-go pricing remains unchanged.

    TencentDB for MySQL supports separate billing for memory and disks to provide users with more flexible options.

    Instance price formula: Instance price = Memory fee + Storage fee

    Advanced Features

    Backup capacity

    Backup capacity does not support monthly subscription. Please see pay-as-you-go pricing.

    Instance renewal management

    Batch renewal, auto-renewal, collective expiry date, do-not-renew flag can be found in the Renewal Management page.

    Instance upgrade cost formula

    Suppose an instance expires in T days, and the monthly prepaid fee difference between the target configuration and the current configuration is C, then the total upgrade cost will be: T/30 x C.

    Assume that you have an instance with 1 core, 1000 MB memory, and 100 GB disk (prepaid fee: 24.511 USD/month) and it will expire in 15 days. If you need to upgrade it to 1 core, 1000 MB memory, and 200 GB disk (prepaid fee: 34.653 USD/month), then the total upgrade cost will be: 15/30 x (34.653 - 24.511)=5.071 USD.

    Exceeding instance disk capacity limit

    To ensure business continuity, upgrade your instance specifications or purchase additional disk capacity in time before disk capacity is used up.

    When the size of the data stored on an instance exceeds its capacity limit, the instance will be locked and become read-only. You will not be able to write data to it. You will need to expand its capacity or delete some database tables in the console to unlock it.

    To avoid a database from triggering the lock status repeatedly, a locked instance will be unlocked and allowed for reads and writes only when its remaining available capacity accounts for more than 20% of its total capacity or is over 50 GB.

    Traffic synchronization fee for disaster recovery instances

    Data synchronization for disaster recovery instances in TencentDB for MySQL is currently free of charge.

    We will notify users when this feature is commercialized.

    Pay-as-You-Go

    The pay-as-you-go tiered pricing model is based on usage duration.

    Usage Duration Tiered Pricing
    0 hours < duration ≤ 96 hours Tier 1 rate applies
    96 hours < duration ≤ 360 hours Tier 2 rate applies
    Duration > 360 hours Tier 3 rate applies

    Instance price

    Billing formula

    Total fees = memory fees + storage capacity fees + backup capacity fees + traffic fees (currently free)

    Billable items

    Billable Item Notes
    Memory fees
    The instance specification selected on the purchase page is pay-as-you-go and supports tiered pricing. For detailed prices, please see Product Pricing.
    Storage capacity fees The disk capacity selected on the purchase page is pay-as-you-go. For detailed prices, please see Product Pricing.
    The storage capacity stores data files, shared tablespaces, error logs, redo logs, undo logs, data dictionaries, and binlogs that are necessary for TencentDB for MySQL.
    Backup capacity fees TencentDB for MySQL offers a certain amount of backup capacity free of charge based on the region, which is equivalent to the sum of storage capacity of all two-node and three-node instances (including source instances) in your region.
    For more information on the fees for excessive backup capacity, please see Backup Space Billing.
    Traffic fees Public network traffic fees (currently free of charge).

    Pay-as-you-go price

    High-availability edition
    Region Memory (USD/GB/Hour) Disk (USD/GB/Hour)
    Tier 1 Tier 2 Tier 3
    Guangzhou 0.0500 0.0400 0.0300 0.0005
    Qingyuan 0.0500 0.0400 0.0300 0.0005
    Shanghai 0.0500 0.0400 0.0300 0.0005
    Beijing 0.0500 0.0400 0.0300 0.0005
    Chengdu 0.0500 0.0400 0.0300 0.0005
    Chongqing 0.0500 0.0400 0.0300 0.0005
    Hong Kong (China) 0.0688 0.0516 0.0344 0.0002
    Taipei (China) 0.0688 0.0516 0.0344 0.0002
    Singapore 0.0705 0.0528 0.0352 0.0002
    Bangkok 0.0556 0.0417 0.0278 0.0002
    Mumbai 0.0556 0.0417 0.0278 0.0002
    Seoul 0.0556 0.0417 0.0278 0.0002
    Tokyo 0.0556 0.0417 0.0278 0.0003
    Silicon Valley 0.0550 0.0413 0.0275 0.0002
    Virginia 0.0444 0.0333 0.0222 0.0002
    Toronto 0.0265 0.0199 0.0133 0.0006
    Frankfurt 0.0550 0.0413 0.0275 0.0003
    Moscow 0.0556 0.0417 0.0278 0.0003
    Read-only instances
    Region Memory (USD/GB/Hour) Disk (USD/GB/Hour)
    Tier 1 Tier 2 Tier 3
    Guangzhou 0.0250 0.0200 0.0150 0.0003
    Qingyuan 0.0250 0.0200 0.0150 0.0003
    Shanghai 0.0250 0.0200 0.0150 0.0003
    Beijing 0.0250 0.0200 0.0150 0.0003
    Chengdu 0.0250 0.0200 0.0150 0.0003
    Chongqing 0.0250 0.0200 0.0150 0.0003
    Hong Kong (China) 0.0344 0.0258 0.0172 0.0001
    Taipei (China) 0.0344 0.0258 0.0172 0.0001
    Singapore 0.0352 0.0264 0.0176 0.0001
    Bangkok 0.0278 0.0208 0.0139 0.0001
    Mumbai 0.0278 0.0208 0.0139 0.0001
    Seoul 0.0278 0.0208 0.0139 0.0001
    Tokyo 0.0278 0.0208 0.0139 0.0002
    Silicon Valley 0.0275 0.0206 0.0138 0.0001
    Virginia 0.0222 0.0167 0.0111 0.0001
    Toronto 0.0133 0.0099 0.0066 0.0003
    Frankfurt 0.0275 0.0206 0.0138 0.0001
    Moscow 0.0278 0.0208 0.0139 0.0002

    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.

    Monthly subscription

    Suppose that:

    • You purchase a monthly-subscribed high-availability 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 high-availability 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 fees + storage capacity fees + backup capacity fees

    Memory fees and storage capacity fees

    Calculation formula:
    Memory fees + storage capacity fees = 2 x 114.93 USD/month + (500 GB + 200 GB) x 0.1014 USD/GB/month x 1 month = 300.84 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.000127 USD/GB/hour

    Pay-as-you-go

    Suppose you purchase a pay-as-you-go TencentDB for MySQL instance with 4 cores, 8,000 MB memory, and 500 GB disk space in the Guangzhou region for 400 hours.
    Tier 1 fees: (0.0250 USD/GB/hour * 8 GB + 500 GB * 0.0003) * 96 hours = 33.6 USD
    Tier 2 fees: (0.0200 USD/GB/hour * 8 GB + 500 GB * 0.0003) * 264 hours = 81.84 USD
    Tier 3 fees: (0.0150 USD/GB/hour * 8 GB + 500 GB * 0.0003) * 40 hours = 10.8 USD
    Instance fees = Tier 1 fees + Tier 2 fees + Tier 3 fees = 126.24 USD

    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.