Homogeneous data migration refers to data migration between OceanBase Database clusters.
Migration scenarios
Homogeneous data migration is applicable to the following scenarios:
- Version upgrade: Migrate data from an OceanBase cluster of an earlier version to a cluster of a later version to obtain new features or improve performance.
- TP database to AP database migration: Migrate data from an OceanBase transactional (TP) database to an analytical (AP) database to support real-time analysis or business intelligence (BI) applications.
Since both the source and destination are OceanBase databases, no data format conversion is required. However, you must pay attention to the following aspects:
- Data consistency during migration: Ensure data consistency during migration by using transaction logs or snapshots.
- Downtime control: Select an appropriate migration method based on your RTO and RPO requirements to minimize or avoid business interruption.
- Version compatibility: When you migrate data between OceanBase Database clusters of different versions, you must be aware of the subtle differences in SQL syntax, system parameters, or internal implementations between the two versions.
Migration documentation
OceanBase Database provides various homogeneous data migration methods. You can view the migration operation documentation based on the types of the source and destination tenants.
MySQL-compatible tenant to MySQL-compatible tenant migration
- Migrate data between MySQL-compatible tenants in an OceanBase cluster by using OceanBase Data Transmission
- Migrate data from a MySQL-compatible tenant to another MySQL-compatible tenant in an OceanBase cluster by using OMS
- Create an active-active disaster recovery project for MySQL-compatible tenants in an OceanBase cluster by using OMS
MySQL-compatible tenant to Oracle-compatible tenant migration
Oracle-compatible tenant to Oracle-compatible tenant migration
- Migrate data between Oracle-compatible tenants in an OceanBase cluster by using OceanBase Data Transmission
- Migrate data from an Oracle-compatible tenant to another Oracle-compatible tenant in an OceanBase cluster by using OMS
- Create an active-active disaster recovery project for Oracle-compatible tenants in an OceanBase cluster by using OMS