Updated on 2024-09-24 GMT+08:00

Data Migration Schemes

You can migrate data from RDS for MySQL, self-managed MySQL, other cloud MySQL, and self-managed Oracle databases to GaussDB(for MySQL), or from one GaussDB(for MySQL) instance to another GaussDB(for MySQL) instance.

Migration Tools

Table 1 Migration tools

Tool

Introduction

Billing

Learn More

DRS (recommended)

Data Replication Service (DRS) provides real-time migration and synchronization of data between databases in various scenarios. It is easy to use and can complete a migration task in minutes. DRS facilitates data transfer between databases, helping you reduce DBA labor costs and hardware costs.

Pay-per-use

For details, see Billing.

What Is DRS?

mysqldump

mysqldump is a command-line tool that comes with MySQL. It is used to back up and restore MySQL databases.

Free of charge

What is mysqldump?

DAS

During data backup or migration, you can use data export of Data Admin Service (DAS) to obtain complete data information and import the data from a local PC or OBS bucket to the target data table.

Free of charge

What Is DAS?

Migration Schemes

Table 2 Migration schemes

Source Database

Migration Tool

Characteristic

Operation Guide

RDS for MySQL

DRS

  • Support for migration of all data, database-level data, or table-level data
  • Support for full and incremental data migration
  • Minimal downtime
  • Applicable to any data volume

From MySQL to GaussDB(for MySQL)

GaussDB(for MySQL)

mysqldump

  • Full data migration
  • Long downtime
  • Applicable to small amounts of data

Migrating Data to GaussDB(for MySQL) Using mysqldump

DAS

  • Full data migration
  • Long downtime
  • Applicable to moderate amounts of data

Migrating Data to GaussDB(for MySQL) Using the Export and Import Functions of DAS

  • On-premises MySQL databases
  • ECS-hosted MySQL databases

DRS

  • Support for migration of all data, database-level data, or table-level data
  • Support for full and incremental data migration
  • Minimal downtime
  • Applicable to any data volume

From ECS-hosted MySQL to GaussDB(for MySQL)

Other cloud MySQL databases

DRS

  • Support for migration of all data, database-level data, or table-level data
  • Support for full and incremental data migration
  • Minimal downtime
  • Applicable to any data volume

From Other Cloud MySQL to GaussDB(for MySQL)