tencent cloud

Feedback

Adjusting Database Proxy Configuration

Last updated: 2022-03-23 10:13:13

    You can adjust the specification and number of nodes of the database proxy in the console.

    Prerequisites

    You have enabled the database proxy.

    Notes

    When you adjust the configuration, if there is a pending update of the database proxy version, the version will be automatically upgraded during the adjustment.

    Impact Description

    Changing different configuration items has different impacts, some of which will not cause a momentary disconnection, while some will. The specific change items and their impacts are as detailed below:

    Proxy SpecificationNode QuantityProxy Kernel VersionLoad Balancing ModeImpact
    ChangedIncreasedUp to dateAutomaticThere will be a disconnection lasting seconds. Make sure that your business has a reconnection mechanism.
    Manual
    Out of dateAutomatic
    Manual
    ChangedDecreasedUp to dateAutomatic
    Manual
    Out of dateAutomatic
    Manual
    UnchangedDecreasedUp to dateAutomatic
    Manual
    Out of dateAutomatic
    Manual
    UnchangedIncreasedUp to dateAutomaticThere will be a disconnection lasting seconds. Make sure that your business has a reconnection mechanism.
    ManualThere will be no momentary disconnections.
    Out of dateAutomaticThere will be a disconnection lasting seconds. Make sure that your business has a reconnection mechanism.
    ManualThere will be no momentary disconnections.

    Directions

    1. Log in to the TencentDB for MySQL console, select the region at the top of the page, and click the ID of the target instance to enter the instance management page.
    2. On the instance management page, select the Database Proxy tab.
    3. On the Overview tab on the Database Proxy tab, click Adjust Configurations on the right.
    4. In the pop-up window, select the switch time and click OK.
      • Proxy Specification: Currently, you can select 2-core 4000 MB, 4-core 8000 MB, or 8-core 16000 MB.
      • Node Quantity: To ensure the high availability of proxy, purchase at least two proxy nodes.
      • Switch Time:
        • During maintenance time: The switch will be performed during the maintenance time, which can be modified on the instance details page.
        • Upon upgrade completion: The switch will be performed immediately after the upgrade is completed.
    5. In Basic Info on the Database Proxy tab, after the task status changes from Upgrading to Running, the configuration adjustment is completed.
      Note:

      • If you select Upon upgrade completion, after the configuration is adjusted, the system will automatically switch to the new configuration.
      • If you select During maintenance time, after the configuration is adjusted, the system will switch the configuration during the specified maintenance time period.
      • If you select During maintenance time but need to switch the configuration earlier due to your business requirements, after the configuration is adjusted, you can go to Database Proxy > Overview > Basic Info > Status/Task and click Complete Now after Waiting for switch (after upgrade).
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support