Basic information
OceanBase Migration Service (OMS) is a service provided by OceanBase Database to support data interaction between homogeneous or heterogeneous data sources and OceanBase Database. It has the capability to migrate existing data online and synchronize incremental data in real time.
OMS provides a visual centralized management and control platform. You only need to perform simple configurations to migrate data in real time. OMS is designed to help you achieve real-time data migration and synchronization from homogeneous or heterogeneous databases to OceanBase with low risk, low cost, and high efficiency.
Product features
OMS supports data migration and data synchronization features:
Data migration: Data migration is a one-time task. Task resources can be released after the migration is completed. You can use the data migration feature to migrate data between homogeneous or heterogeneous data sources. It is suitable for business scenarios such as database upgrade, cross-instance data migration, database splitting, and expansion.
A data migration task is the basic unit of the OMS data migration feature. When creating a migration task, the maximum migration scope you can specify is at the database level, and the minimum migration scope is at the table level. For details about the task types and migration types supported by data migration, see the documentation in the Data migration module.
Data synchronization: Data synchronization is a continuous action. After a task is created, it will continuously synchronize data to maintain data consistency between the source and target, enabling real-time data flow for critical business operations. You can use the data synchronization feature to achieve real-time data synchronization between data sources. It is suitable for various business scenarios such as multi-active data distribution across regions, remote disaster recovery, data aggregation, and real-time data warehousing. For details, see the documentation in the Data synchronization module.
Supported links
Data migration
OMS supports data migration between the following data sources and OceanBase Database:
Data Source |
Target |
Schema Migration |
Full Migration |
Incremental DML |
Incremental DDL |
Reverse Incremental |
|---|---|---|---|---|---|---|
| MySQL | OceanBase MySQL Mode | Yes | Yes | Yes | Yes | Yes |
| Oracle | OceanBase MySQL Mode | Yes | Yes | Yes | No | Yes |
| Oracle | OceanBase Oracle Mode | Yes | Yes | Yes | Yes | Yes |
| TiDB | OceanBase MySQL Mode | Yes | Yes | Yes | No | Yes |
| PostgreSQL | OceanBase MySQL Mode | Yes | Yes | Yes | Yes | Yes |
| PostgreSQL | OceanBase Oracle Mode | Yes | Yes | Yes | Yes | Yes |
| DB2 LUW | OceanBase MySQL Mode | Yes | Yes | Yes | Yes | Yes |
| DB2 LUW | OceanBase Oracle Mode | Yes | Yes | Yes | Yes | Yes |
| OceanBase MySQL Mode | OceanBase MySQL Mode | Yes | Yes | Yes | Yes | Yes |
| OceanBase Oracle Mode | OceanBase Oracle Mode | Yes | Yes | Yes | Yes | Yes |
| OceanBase Oracle Mode | Oracle | Yes | Yes | Yes | Yes | Yes |
| OceanBase Oracle Mode | MySQL | No | No | Yes | No | No |
| OceanBase MySQL Mode | MySQL | Yes | Yes | Yes | Yes | Yes |
| OceanBase Oracle Mode | DB2 LUW | Yes | Yes | Yes | Yes | Yes |
| OceanBase MySQL Mode | DB2 LUW | Yes | Yes | Yes | Yes | Yes |
| DRDS | OceanBase MySQL Mode | No | Yes | Yes | No | No |
| OBSharding | OceanBase MySQL Mode | Yes | Yes | Yes | No | No |
| Milvus | OceanBase MySQL Mode | Yes | Yes | Yes | No | Yes |
| SQL Server | OceanBase MySQL Mode | Yes | Yes | Yes | Yes | Yes |
| SQL Server | OceanBase Oracle Mode | Yes | Yes | Yes | Yes | Yes |
| Elasticsearch | OceanBase MySQL Mode | Yes | Yes | Yes | No | Yes |
Note
For the incremental DDL scope supported by each migration type, see the corresponding migration type documentation in Data Migration > Supported Scope and Limitations of DDL Synchronization.
Data synchronization
OMS supports real-time data synchronization between the following data sources, message queues, and OceanBase Database:
data source |
destination |
Schema Synchronization |
Full Synchronization |
Incremental DML |
Incremental DDL |
|---|---|---|---|---|---|
| OceanBase MySQL Mode | Kafka | Supported | Supported | Supported | Supported |
| OceanBase MySQL Mode | RocketMQ | N/A | Supported | Supported | Not supported |
| OceanBase MySQL Mode | DataHub(Tuple) | Supported | Supported | Supported | Not supported |
| OceanBase MySQL Mode | DataHub(Blob) | Supported | Supported | Supported | Supported |
| OceanBase Oracle Mode | Kafka | Supported | Supported | Supported | Supported |
| OceanBase Oracle Mode | RocketMQ | N/A | Supported | Supported | Not supported |
| OceanBase Oracle Mode | DataHub(Tuple) | Supported | Supported | Supported | Not supported |
| OceanBase Oracle Mode | DataHub(Blob) | Supported | Supported | Supported | Supported |
| Oracle | DataHub(Tuple) | Supported | Not supported | Supported | Not supported |
| Oracle | DataHub(Blob) | Supported | Not supported | Supported | Not supported |
| MySQL | DataHub(Tuple) | Supported | Not supported | Supported | Not supported |
| MySQL | DataHub(Blob) | Supported | Not supported | Supported | Not supported |
| ODP | OceanBase MySQL Mode | N/A | Supported | Supported | Supported |
| ODP | DataHub(Tuple) | Supported | Supported | Supported | Not supported |
| ODP | DataHub(Blob) | Supported | Supported | Supported | Supported |
| IDB | OceanBase MySQL Mode | N/A | Supported | Supported | Supported |
| IDB | DataHub(Tuple) | Supported | Supported | Supported | Not supported |
| IDB | DataHub(Blob) | Supported | Supported | Supported | Supported |
| OBSharding | Kafka | N/A | Supported | Supported | Supported |
Note
To learn the detailed operation steps for each scenario, see Overview of Data Migration and Overview of Data Synchronization.
Features and benefits
Supports multiple data sources
OMS supports real-time data transmission between various data sources, such as MySQL and Kafka, and OceanBase Database. The specific features may vary depending on the type of source database and the type of downstream destination.
Online migration without service interruption, imperceptible to business applications
You can seamlessly migrate data to OceanBase Database through OMS without any service interruption. After an application switches to OceanBase Database, all changed data in OceanBase Database is synchronously replicated to the source database in real time before the switchover.
OMS reduces the risk of business migration and helps enterprise users build a high-availability and highly reliable data architecture.
High-performance, secure, and reliable data migration
OMS can achieve near-real-time replication with second-level latency for large volumes of data between heterogeneous IT infrastructures. Therefore, OMS can be applied in multiple scenarios, including data migration, cross-city and cross-region data disaster recovery, emergency systems, real-time data synchronization, disaster recovery, database upgrade, and migration.
OMS can run data migration and data synchronization tasks imperceptibly and uninterruptedly to business applications, while ensuring data integrity and transaction consistency. Full migration performance can reach 100 MB/s and 200,000 TPS, and data synchronization performance can reach 50,000 RPS. Meanwhile, OMS provides a high-availability deployment architecture solution to offer stable and reliable transmission tasks for data migration and real-time synchronization.
One-stop interaction
Supports full lifecycle management of data migration. You can create, configure, and monitor data migration tasks through the management console interface, featuring simple and convenient interaction.
Real-time data synchronization to decouple businesses
OMS supports real-time data synchronization between OceanBase Database in its two compatibility modes and self-managed Kafka or RocketMQ. It can be applied in business scenarios such as real-time data warehouse construction, data query, and report distribution.
Multiple data verifications
Provides various data consistency verification methods to more comprehensively, time-efficiently, and efficiently ensure data quality. It also displays differential data and provides quick correction pathways.
Helps you migrate to OceanBase easily
Fully adapts to the features of various OceanBase Database versions, intelligently processes the collection and conversion of database objects, and supports migration without service interruption at the source.
Application scenarios
Database migration without service interruption
In traditional database migration solutions, to ensure the stability of migration tasks and data consistency, data migration is typically performed by stopping the database. During the downtime, data writes to the source database must be temporarily halted. After migration is complete and data consistency is confirmed, the business database is switched over.
The duration of downtime migration depends on the volume of business data and network conditions. In cases of heavy business load, database downtime migration may take several days, significantly impacting business operations.
OMS' service-interrupted data migration feature allows the source database to continue providing services during migration, minimizing the impact on business operations. After completing schema migration, full data migration, and incremental data migration, all full and incremental data from the source database has been synchronized to the target database in real time. Once data verification passes, business operations can switch from the source to the target.
Real-time data synchronization
OMS's data synchronization feature supports real-time synchronization of incremental data from databases like OceanBase to self-managed message queues such as Kafka or RocketMQ. This enhances message processing capabilities and expands the comprehensive application of businesses in big data fields such as monitoring data aggregation, stream data processing, and online and offline analytics.
OMS supports real-time data synchronization between data sources such as OceanBase physical tables and self-managed Kafka. This can be used in various business scenarios, including cloud BI, real-time data warehouse construction, data query, and report distribution.
High availability, flexible deployment
The components that support the high availability feature on a single node include Store, Incr-Sync, and Incr-Verification. When a failure occurs in any of these components, the affected process is restarted.
Disaster recovery at the IDC level is supported.
In the event of a server downtime, all components on the local server are migrated to an appropriate server.
If a server's resource metrics are abnormal, some components are load-balanced.
If the Store fails, it is restarted if the server resources are sufficient. If the server resources are insufficient, load balancing is performed or redundant Stores are deleted.
If the Incr-Sync fails, the affected process is restarted.
Disaster recovery at the regional data center level is supported.
OMS supports separate deployment for incremental log reading and incremental synchronous writing. By using optimization techniques such as parallel transmission over multiple Transmission Control Protocol (TCP) connections, data compression, and data encryption, it overcomes challenges like long distances, poor network conditions, and data security requirements. Cross-region scheduling is not currently supported.