Heterogeneous data migration refers to the process of migrating data from external data sources, such as relational databases like MySQL, Oracle, and PostgreSQL, or various NoSQL databases, to OceanBase Database. This type of migration requires addressing issues such as data format conversion, schema adaptation, and cross-platform compatibility.
Migration scenarios
Heterogeneous data migration is primarily applicable in the following scenarios:
- Database upgrade or replacement: Migrating the existing database system to OceanBase Database to achieve better performance, scalability, or cost-effectiveness.
- Data integration: Integrating data from multiple database systems into a unified OceanBase Database platform.
- Architecture upgrade: Migrating traditional databases to a distributed database architecture.
In these scenarios, the following considerations are crucial:
- Schema and data type mapping: Precisely defining the data structures and type mapping rules between the source and target (OceanBase Database), such as converting MySQL's
DATETIMEto OceanBase'sTIMESTAMP. - Performance optimization: Implementing efficient migration strategies for large-scale data, such as parallel processing, shard migration, and batch loading, to minimize the migration window.
- Data consistency verification: Ensuring data integrity and accuracy after migration through methods like hash verification, sampling comparison, or full comparison.
Related migration documents
OceanBase Database provides heterogeneous data migration solutions. You can view the migration operation documents based on the source database type:
Migrate data from other databases to OceanBase Database
Migrate data from a MySQL database
- Use OMS to migrate data from a MySQL database to a MySQL compatible tenant of OceanBase Database
- Use MyDumper to migrate data from a MySQL database to OceanBase Database
- Use DBCAT to migrate table schemas from a MySQL database to OceanBase Database
- Use DataX to migrate data from a MySQL database to OceanBase Database
- Use CloudCanal to migrate data from a MySQL database to OceanBase Database
- Use Canal to migrate data from a MySQL database to OceanBase Database
- Use Flink CDC to migrate data from a MySQL database to OceanBase Database
- Use ChunJun to migrate data from a MySQL database to OceanBase Database
Migrate data from an Oracle database
- Migrate data from an Oracle database to a MySQL compatible mode OceanBase tenant by using OMS
- Migrate data from an Oracle database to an Oracle compatible mode OceanBase tenant by using OMS
- Migrate data from an Oracle database to OceanBase Database by using DBCAT
- Migrate data from an Oracle database to OceanBase Database by using DataX
Migrate data from a PostgreSQL database
Migrate data from a DB2 LUW database
- Migrate data from a DB2 LUW database to a MySQL compatible mode OceanBase tenant by using OMS
- Migrate data from a DB2 LUW database to an Oracle compatible mode OceanBase tenant by using OMS
- Migrate table schemas from a DB2 LUW database to OceanBase Database by using DBCAT
Migrate data from a TiDB database
- Use OMS to migrate data from a TiDB database to an OceanBase database (MySQL compatible mode tenant)
Migrate data from OceanBase Database to another database
Migrate data to a MySQL database
- Use OMS to migrate data from an OceanBase Database tenant in MySQL compatible mode to a MySQL database
- Use OMS to migrate incremental data from an OceanBase Database tenant in Oracle compatible mode to a MySQL database
- Use DBCAT to migrate the schema of OceanBase Database to a MySQL database
- Use DataX to migrate data from OceanBase Database to a MySQL database
- Use Canal to migrate data from OceanBase Database to a MySQL database
- Use CloudCanal to migrate data from OceanBase Database to a MySQL database
- Use Flink CDC to migrate data from OceanBase Database to a MySQL database
- Use ChunJun to migrate data from OceanBase Database to a MySQL database
Migrate to an Oracle database
- Use OMS to migrate data from an OceanBase Database (Oracle compatible mode) tenant to an Oracle database
- Use DBCAT to migrate table structures from an Oracle database to an OceanBase Database
- Use DataX to migrate data from an OceanBase Database to an Oracle database
