Tair (Redis OSS-compatible) provides multiple data synchronization solutions by using Data Transmission Service (DTS) to cater to diverse scenarios such as data synchronization to the cloud, active geo-redundancy, disaster recovery, and data analytics.
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 synchronize data from or to a database
Tool | Supported source database | Supported destination database | Supported architecture | Supported synchronization topology |
DTS (recommended) |
|
|
|
Required permissions
The permissions that are required by DTS vary based on synchronization scenarios. Before you configure data synchronization, you must obtain the required permissions on the source and destination databases based on the synchronization scenarios. The following table describes the required permissions.
For information about how to create an account for a Tair (Redis OSS-compatible) instance and grant the required permissions to the account, see Create and manage database accounts.
Table 2. Required permissions
Tool | Synchronization scenario | Permission on the source database | Permission on the destination database |
DTS (recommended) |
| Read permissions | Read and write permissions |
| Permissions to run the SYNC or PSYNC command | Read and write permissions |
Data synchronization solutions
The configuration methods for different scenarios are similar. The following table describes the solutions for common data synchronization scenarios. If your synchronization scenario is not included in the following table, you can view the topics about similar scenarios and configure the required permissions.
Scenario | Tool | Solution |
Synchronize data from a self-managed database to a Tair (Redis OSS-compatible) instance | DTS | |
Synchronization between Tair (Redis OSS-compatible) instances | DTS | |
Configure two-way data synchronization between Tair instances | ||