Upgrading Instance Architecture

Last updated: 2020-08-18 11:13:08

    TencentDB for Redis supports standard architecture and cluster architecture. To help you process ever-growing business data, it allows you to upgrade from standard architecture to cluster architecture if the performance and capacity of standard architecture are insufficient.

    Upgrade Description

    • For Redis 4.0 or above, a standard architecture instance can be upgraded to a cluster architecture instance on the same version; for example, you can upgrade from Redis 4.0 Standard Architecture to Redis 4.0 Cluster Architecture.
    • Cross-version architecture upgrade is not supported; for example, you cannot upgrade from Redis 4.0 Standard Architecture to Redis 5.0 Cluster Architecture.
    • The architecture of Redis 2.8 cannot be upgraded.
    • Cluster architecture cannot be downgraded to standard architecture.
    • Architecture upgrade is not supported for pay-as-you-go instances.
    • After standard architecture is upgraded to cluster architecture, fees will be charged based on cluster architecture and thus get increased. For more information, please see Pricing.

    How Upgrade Works

    • Redis standard architecture can be directly upgraded to cluster architecture (single shard) within 3 minutes with no data migration required.
    • In Redis 4.0 or above, if standard architecture is upgraded to cluster architecture, only the runtime mode of the instance will change from having no slot limit to having a slot limit, but data migration will not be involved.

    Upgrade Preparations (Compatibility Check)

    To avoid business failures caused by compatibility problems during migration to cluster architecture, please check the compatibility before the upgrade:

    • Cluster architecture stores data in a distributed manner, and its biggest difference from standard architecture lies in whether a single command supports multikey access. For the cluster architecture, commands can be categorized into supported, partially supported, and unsupported. For the complete list of compatible commands, please see Command Compatibility.
    • For more information on how to check the compatibility, please see Check for Migration from Standard Architecture to Cluster Architecture.

    Upgrade Impact

    • Generally, upgrade can be completed in 3 minutes.
    • During the upgrade, existing connections will be closed momentarily; therefore, your business should have a reconnection mechanism.

    Upgrade Directions

    1. Log in to the TencentDB for Redis Console, select a region in the instance list, and click an instance name to enter the instance details page.
    2. On the instance details page, click Architecture Upgrade.
    3. In the pop-up dialog box, select the architecture and switch time, indicate your consent to the notice about compatibility risks, and click OK.
      Architecture upgrade supports Switch Now and Switch Maintenance Window options. You can modify the maintenance time in "Maintenance Window" on the instance details page.
    4. Make the payment and return to the instance list. After the status of the instance changes to "Running", the instance can be used normally.

    Was this page helpful?

    Was this page helpful?

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