Adjusting Database Instance Specification

Last updated: 2020-09-09 17:52:05

    Overview

    TencentDB for MySQL supports quick adjustment of instance specification and allows flexible scaling operations. You can elastically adjust the specifications of MySQL instances according to your actual business conditions (at the initial stage, at the rapid development stage, during peak hours, or during off-peak hours), so as to better meet your needs such as full utilization of resources and real-time cost optimization. For details on instance adjustment fees, please see Instance Adjustment Fee.

    Instance disk space description

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

      Note:

      You can view disk space on the instance details page in the MySQL Console, or receive disk alarms with the Alarming Feature.

    • 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 the 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 over 50 GB.

    Configuration Adjustment Rules

    • You can adjust the configuration of a TencentDB for MySQL instance and its associated instances only when they are in normal status (running) and are not executing any tasks.
    • You cannot cancel a configuration adjustment operation in progress.
    • The name, access IP, and access port of an instance will remain the same after configuration adjustment.
    • Data migration may be involved in configuration adjustment. During data migration, the TencentDB for MySQL instance can be accessed normally and the business will not be affected.
    • Instance switchover may be needed after configuration adjustment is completed (i.e., the MySQL instance may be disconnected for seconds). It is recommended that applications be configured with auto reconnection feature and that instance switchover be conducted during the instance maintenance period. For more information, see Setting Instance Maintenance Period.
    • During configuration adjustment, you should try to avoid such operations as modifying MySQL's global parameters and user password.

    Directions

    Adjusting the instance configuration in the console

    1. Log in to the MySQL Console, find the desired instance in the instance list, and select More > Adjust Configurations in the "Operation" column.
    2. In the pop-up dialog box, adjust the instance configurations, and click Submit.
      • Pay-as-you-go instance:

    Adjusting the instance configuration through the API

    You can upgrade the instance configuration using the UpgradeDBInstance API. For more information, see UpgradeDBInstance.

    Note:

    Downgrading the instance configuration through API is unavailable for the time being. You can do so in the console if needed.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help