After you activate public cloud database resources, you can perform online migration and transformation of database schemas.
Background information
ADAM online transformation and migration supports migrating from on-premises databases to Alibaba Cloud databases.
The following on-premises source database types and versions are supported:
Oracle
10g
11g
12C or later
Teradata
Version 13
Version 14
Version 15
DB2_LUW
The following target Alibaba Cloud database types and versions are supported:
PolarDB for Oracle
PolarDB for PostgreSQL
PolarDB-X 1.0 (schema-level migration only)
ApsaraDB RDS for MySQL
Version 5.6
Version 5.7
Version 8.0
ApsaraDB RDS for PostgreSQL
Version 10.0
Version 11.0
Version 12.0
AnalyticDB for PostgreSQL
Version 4.3
Prerequisites
Before you perform online transformation and migration, confirm the account permissions:
If you are using a primary account, skip this step.
If you are using a RAM user under a primary account:
Log on to the Database Transformation and Migration page by using the primary account.
Authorize the RAM user. The RAM user automatically inherits the authorization information.
Overview of online transformation and migration steps
Generate a cloud migration plan: Generate the schema migration data plan to be performed on the target database based on the database assessment results.
Precheck: Check the account permissions, plug-ins, and version of the target database to ensure smooth migration.
Source database plan verification: Compare the cloud migration plan with the current status of the source database, and identify which objects are added, changed, or deleted. This helps you update the latest cloud migration plan for migration to the target database. This step is optional. To use this feature, connect the source database to the ADAM network so that the ADAM server can access the source database for comparison and verification. If you skip this step, the cloud migration plan may not reflect the latest data. To resolve this issue, perform another database collection and assessment.
Schema migration/correction: Migrate as many planned objects as possible to the target database. ADAM automatically assesses and verifies incompatible objects and provides solutions for objects that cannot be automatically transformed. You can perform corrections based on the error information and retry the migration.
(Optional) Incremental source database comparison: If your database schema has changed slightly or significantly compared with the previously collected schema, you can use incremental source database comparison to discover the DDL that you added or changed. This helps you migrate these changes and additions.
Data migration: Use Alibaba Cloud DTS to migrate data.