All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Overview

Last Updated:Mar 25, 2024

ApsaraDB for Redis provides multiple data migration solutions by using Data Transmission Service (DTS) to meet data migration requirements in diverse scenarios. The solutions include migrating data from self-managed Redis databases to ApsaraDB for Redis instances, migrating data between ApsaraDB for Redis instances, and migrating data from a third-party platform to Alibaba Cloud.

DTS

Alibaba Cloud DTS is a real-time data streaming service that integrates data migration, data subscription, and data synchronization into a single comprehensive service to ensure stable and secure data transmission. DTS supports full data migration and incremental data migration with minimal downtime. This ensures service availability.

Table 1. Availability of DTS to migrate data from or to a database

Tool

Supported source database

Supported destination database

Supported architecture

Supported migration type

DTS (recommended)

  • Self-managed Redis

    2.8, 3.0, 3.2, 4.0, 5.0, 6.0, or 7.0 databases

  • ApsaraDB for Redis Community Edition instances that run

    Redis 4.0, 5.0, 6.0, or 7.0

  • Enhanced Edition (Tair)

  • ApsaraDB for Redis Community Edition instances that run

    Redis 4.0, 5.0, 6.0, or 7.0

  • Enhanced Edition (Tair)

  • Full data migration

  • Incremental data migration

  • Cross-account data migration

Required permissions

The permissions that are required by DTS vary based on migration scenarios. Before you configure data migration, you must obtain the required permissions on the source and destination databases based on the migration scenarios. The following table describes the required permissions.

Note

For information about how to create an account for an ApsaraDB for Redis instance and grant the required permissions to the account, see Create and manage database accounts.

Tool

Migration scenario

Permission on the source database

Permission on the destination database

DTS (recommended)

  • Migrate data from a self-managed Redis database to an ApsaraDB for Redis instance

  • Migrate data between self-managed Redis databases

Permissions to run the SYNC or PSYNC command

Read and write permissions

Data migration solutions

Table 3. Migration solutions

Scenario

Tool

Solution

Migrate data from a self-managed Redis database to an ApsaraDB for Redis instance

DTS

Use DTS to migrate data from a self-managed Redis database to an ApsaraDB for Redis instance

Synchronize data from a Codis cluster hosted on an ECS instance to an ApsaraDB for Redis instance

Note

This solution uses the data synchronization feature of DTS to migrate data.

Synchronize data from a Twemproxy Redis cluster hosted on an ECS instance to an ApsaraDB for Redis instance

Note

This solution uses the data synchronization feature of DTS to migrate data.

Migrate data between ApsaraDB for Redis instances

DTS

Configure one-way data synchronization between ApsaraDB for Redis instances

Note

This solution uses the data synchronization feature of DTS to migrate data.