All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Change instance architecture

Last Updated:Mar 28, 2026

Tair (Redis OSS-compatible) lets you switch an instance between the standard (master-replica) and cluster architectures.

Limitations

Not all instance types support architecture changes. Review the table below before proceeding.

Instance typeStandard to clusterCluster to standard
Standard instance with read/write splitting enabledDisable read/write splitting firstDisable read/write splitting first
Child instance of a distributed instanceNot supportedNot supported
Tair (Enterprise Edition) SSD-based instanceNot supportedNot supported
Cluster instance in direct connection modeNot supported

Billing

Charges depend on your billing method:

  • Pay-as-you-go: Billed at the new specification rate immediately after the change.

  • Subscription: Charged or refunded the price difference depending on whether you upgrade or downgrade.

For details, see Configuration changes.

Change from standard (master-replica) to cluster

Before you begin

Review these impacts before starting the change.

  • Endpoints, accounts, passwords, and whitelists remain unchanged. No application code changes are required.

  • Data is typically preserved. In the rare event that the primary node fails during switchover, a small amount of unsynchronized data may be lost.

  • 1–2 transient disconnections, each under 30 seconds. Make sure your application has a reconnection mechanism.

  • Read-only state for about 1 minute. The instance enters read-only mode while the new instance syncs incremental data and DNS cache clears. High write-load instances may experience a longer read-only period.

  • Lua scripts may be lost. Back up your Lua scripts before proceeding. For details, see Special limits on cluster instances.

  • Additional command limitations apply. Some commands are not supported in cluster architecture. Evaluate the impact on your workload before changing. For details, see Command limitations for cluster instances.

  • Instance is upgraded to the latest minor version. Minor versions are forward-compatible, so no compatibility issues are expected.

Change the architecture

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region where your instance resides, then click the instance ID.

  2. In the upper-right corner, click Specification Adjustment, then:

    • For a subscription instance: select Specification Upgrade.

    • For a pay-as-you-go instance: select Specifications Upgrade/Downgrade.

  3. On the specification change page, select the target configuration, then click Buy Now. For the Switching Time parameter, choose one of the following options:

    OptionBehavior
    Switch Within Maintenance Window (recommended)The switchover runs during the maintenance window (off-peak hours). Before the switchover, go to Task Hub and click Modify Switchover Time to adjust the time if needed.
    Switch after Data MigrationThe switchover runs immediately after data migration completes.
  4. Complete the payment as prompted.

After you submit the request, the instance status changes to Adjusting configuration regardless of the switching time you selected. This status does not affect your running services — the system is preparing resources and syncing data in the background. Transient disconnections only occur at the moment of switchover.

After the change

  • Connection mode defaults to proxy mode. Monitor client connections on the proxy node monitoring page. The connection count on data nodes is displayed as 0.

  • Alert settings are disabled. Existing application groups in CloudMonitor may also be disabled. Reconfigure them to resume monitoring.

  • Data flashback is disabled. Reconfigure the feature to resume point-in-time recovery.

Change from cluster to standard (master-replica)

Before you begin

Review these impacts before starting the change.

  • Endpoints, accounts, passwords, and whitelists remain unchanged. No application code changes are required.

  • Data is typically preserved. In the rare event that the primary node fails during switchover, a small amount of unsynchronized data may be lost.

  • 1–2 transient disconnections, each under 30 seconds. Make sure your application has a reconnection mechanism.

  • Read-only state for about 1 minute. The instance enters read-only mode while the new instance syncs incremental data and DNS cache clears. High write-load instances may experience a longer read-only period.

  • Instance is upgraded to the latest minor version. Minor versions are forward-compatible, so no compatibility issues are expected.

Change the architecture

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region where your instance resides, then click the instance ID.

  2. In the upper-right corner, click Specification Adjustment, then:

    • For a subscription instance: select Specification Downgrade.

    • For a pay-as-you-go instance: select Specifications Upgrade/Downgrade.

  3. On the specification change page, select the target configuration, then click Buy Now. For the Switching Time parameter, choose one of the following options:

    OptionBehavior
    Switch During Maintenance Window (recommended)The switchover runs during the maintenance window (off-peak hours). Before the switchover, go to Task Hub and click Modify Switchover Time to adjust the time if needed.
    Switch after Data MigrationThe switchover runs immediately after data migration completes.
  4. Complete the payment as prompted.

After you submit the request, the instance status changes to Adjusting configuration regardless of the switching time you selected. This status does not affect your running services — the system is preparing resources and syncing data in the background. Transient disconnections only occur at the moment of switchover.

After the change

  • Alert settings are disabled. Existing application groups in CloudMonitor may also be disabled. Reconfigure them to resume monitoring.

  • Data flashback is disabled. Reconfigure the feature to resume point-in-time recovery.

FAQ

How long does an architecture change take?

The duration depends on network conditions, request volume, and data size, so it cannot be predicted in advance.

Track progress by clicking the image.png icon in the upper-right corner of the instance details page.

image.png

Do I need to pause read and write operations during a specification change?

No. However, because the instance may enter a read-only state for about 1 minute and experience 1–2 transient disconnections under 30 seconds each, we recommend that you perform the switchover during off-peak hours.

Is data automatically migrated to each shard when changing to cluster?

Yes. The system migrates the data automatically and distributes it evenly across all shards.

Does the number of databases change after an architecture change?

No. The default number of 256 databases does not change.

Are backup sets lost after a specification change?

No. Backup sets are preserved. However, when you reduce the number of shards for a classic cluster instance or change its architecture to standard, the mapping between historical backup sets and instance nodes changes.

To locate historical backup sets in this case, search by backup time or backup set ID. To restore data, download the backup set (RDB file), parse it, and import the data into the new instance.

Why are configurations not updated after the change?

This is usually caused by a metadata cache refresh delay. Wait a few minutes, then refresh the page.

What does the error "The direct custins can not trans to normal custins" mean?

This error occurs when you try to change the architecture of a classic cluster instance with a direct connection endpoint to the standard or read/write splitting architecture. This operation is not supported. To change the architecture, release the direct connection endpoint first, then retry.

Can I change a high-availability (dual-replica) instance to a single-replica instance?

No. Single-replica instances do not guarantee data reliability, so this conversion is not supported.

If you need a single-replica instance, purchase a separate high-availability instance and then use DTS to migrate its data to a single-replica instance. For details, see Migration between Tair (Redis OSS-compatible) instances.

Can I change the storage medium for a Tair (Enterprise Edition) instance?

No. Changing the storage medium between types (memory-optimized, persistent memory, and ESSD) is not supported.

Can I upgrade only the CPU performance of an instance?

CPU-only upgrades are not supported. To improve overall CPU performance, use one of the following approaches:

  • Change the architecture from standard to cluster or read/write splitting.

  • Add read-only nodes to a read/write splitting instance.

  • Add shards to a cluster instance.

For details, see How to upgrade the CPU specifications of an instance and Instance types and FAQ.

Can a classic instance be directly upgraded to a cloud-native instance?