Updated on 2024-07-15 GMT+08:00

Best Practices Summary

This document describes how to use Data Replication Service (DRS) to quickly migrate or synchronize databases in typical application scenarios.

Table 1 DRS best practices

Function

Source DB Type

Destination DB

Cases

Real-Time Migration

MySQL databases on other clouds

Huawei Cloud RDS for MySQL instances

Migrating MySQL Databases from Other Clouds to RDS for MySQL

Huawei Cloud GaussDB(for MySQL) instances

From Other Cloud MySQL to GaussDB(for MySQL)

MongoDB databases on other clouds

Huawei Cloud DDS instances

From Other Cloud MongoDB to DDS

On-premises MySQL databases

Huawei Cloud RDS for MySQL instances

From ECS-hosted MySQL to RDS for MySQL

MySQL databases on ECSs

Huawei Cloud GaussDB(for MySQL) instances

From ECS-hosted MySQL to GaussDB(for MySQL)

MongoDB databases on ECSs

Huawei Cloud DDS instances

From ECS-hosted MongoDB to DDS

On-premises MySQL databases

Huawei Cloud RDS for MySQL instances

From On-Premises MySQL to RDS for MySQL

On-premises MongoDB databases

Huawei Cloud DDS instances

From On-Premises MongoDB to DDS

RDS for MySQL instances

Distributed Database Middleware (DDM) instances

From RDS for MySQL to DDM

MySQL schema and logic table

Distributed Database Middleware (DDM) instances

From MySQL Schema and Logic Table to DDM

Backup Migration

On-premises Microsoft SQL Server databases

Huawei Cloud RDS for SQL Server instances

Migrating Microsoft SQL Server Backup Data to RDS SQL Server DB Instance

Real-Time Synchronization

PostgreSQL databases on other clouds

Huawei Cloud RDS for PostgreSQL instances

From Other Cloud PostgreSQL to RDS for PostgreSQL

PostgreSQL databases on ECSs

From ECS-hosted PostgreSQL to RDS for PostgreSQL

On-premises PostgreSQL databases

From On-Premises PostgreSQL to RDS for PostgreSQL

On-premises MySQL databases

Huawei Cloud distributed GaussDB instances

From On-premises MySQL to GaussDB Distributed

On-premises Oracle databases

Huawei Cloud distributed GaussDB instances

From On-premises Oracle to GaussDB Distributed

Huawei Cloud primary/standby GaussDB instances

From On-premises Oracle to GaussDB Primary/Standby

Distributed Database Middleware (DDM) instances

From On-Premises Oracle to DDM

Huawei Cloud RDS for MySQL instances

DMS for Kafka

From RDS for MySQL to Kafka

GaussDB Distributed

DMS for Kafka

From GaussDB Distributed to Kafka

GaussDB Primary/Standby

DMS for Kafka

From GaussDB Primary/Standby to Kafka

Real-Time Disaster Recovery

Huawei Cloud RDS for MySQL instances

Huawei Cloud RDS for MySQL instances

Configuring Remote Single-Active DR for an RDS for MySQL Instance Using DRS