tencent cloud

Feedback

Adjusting Deployed Node

Last updated: 2024-01-11 15:28:37
    This document describes how to adjust deployed nodes in the TencentDB for MariaDB console. You can add replica nodes to enjoy cross-region replica support, reduce the execution pressure, and increase the read speed. You can also remove unnecessary replica nodes to reduce the redundant performance costs during idle hours.
    Note:
    You can still use the old instance as usual during the adjustment.
    The name, access IP, and access port of an instance will remain the same after the adjustment; however, the SQL passthrough ID (Setid) will change.
    When the adjustment is completed, the database will be disconnected for several seconds. We recommend that you implement an automatic reconnection feature in your program.
    During the adjustment, try avoiding operations such as modifying global parameters, instance name, or user password of the database.

    Adjusting the node deployment region

    1. Log in to the TencentDB for MariaDB console and click the target instance ID in the instance list to enter the instance details page.
    2. In Availability Info > Deployment Mode on the Instance Details page, click Change Deployment Mode.
    3. On the Change Deployment Mode page, select the target deployment mode, and select the regions of the primary and replica nodes in the drop-down lists.
    Note:
    Target Deployment Mode: You can select Single-AZ or Multi-AZ. In single-AZ mode, the region of replica nodes must be the same as that of the primary node. In multi-AZ mode, replica nodes can be in any regions.

    Adding/Removing replica nodes

    1. Log in to the TencentDB for MariaDB console and click the target instance ID in the instance list to enter the instance details page.
    2. In Availability Info > Deployment Mode on the Instance Details page, click Change Deployment Mode.
    3. On the Change Deployment Mode page, click Add Replica Node to add up to five replica nodes.
    Note:
    Delete: Click it to remove existing replica nodes. If there is only one replica node, it cannot be removed.
    Scheduled switch: You can choose to switch the database to its new configuration at a specified time, which is usually during off-peak hours and must be within 72 hours.
    Generally, the switch time has a deviation of about 15 minutes, as there may be high amounts of write requests to large transactions, which will affect the data sync progress. In this case, the system will first guarantee sync between the new and old instances instead of performing the scheduled switch.
    To ensure a successful switch, you can select the option for retry upon failure, and the system will try switching again two hours after a switch failure.
    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