OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Migration Service

V4.3.1Enterprise Edition

  • OMS Documentation
  • OMS Introduction
    • Overview of OMS
    • Terms
    • OMS HA
    • Principles of Store
    • Principles of Full-Import and Incr-Sync
    • Data verification principles
    • Architecture
      • Overview
      • Hierarchical functional system
      • Basic components
    • OMS Oracle full migration design and impact
    • Limitations
  • Quick Start
    • Data migration process
    • Data synchronization process
  • Deploy OMS
    • Deployment types
    • System and network requirements
    • Memory and disk requirements
    • Environment preparations
    • Deploy OMS on a single node
    • Deploy OMS on multiple nodes in a single region
    • Deploy OMS on multiple nodes in multiple regions
    • Scale out
    • Scale down deployment
    • Check the deployment
    • Deploy a time-series database (Optional)
  • OMS console
    • Log in to the OMS console
    • Overview
    • User center
      • Configure user information
      • Change your login password
      • Log out
  • Data migration
    • Overview
    • Migrate data from a MySQL database to a MySQL-compatible tenant of OceanBase Database
    • Migrate data from a MySQL-compatible tenant of OceanBase Database to a MySQL database
    • Migrate data from an Oracle database to the MySQL compatible mode of OceanBase Database
    • Migrate data from the Oracle compatible mode of OceanBase Database to an Oracle database
    • Migrate data from an Oracle database to the Oracle compatible mode of OceanBase Database
    • Migrate data from a DB2 LUW database to an Oracle-compatible tenant of OceanBase Database
    • Migrate data from an Oracle-compatible tenant of OceanBase Database to a DB2 LUW database
    • Migrate data from a DB2 LUW database to a MySQL-compatible tenant of OceanBase Database
    • Migrate data from a MySQL-compatible tenant of OceanBase Database to a DB2 LUW database
    • Migrate data between OceanBase databases of the same tenant type
    • Configure a bidirectional synchronization task
    • Migrate data from a TiDB database to a MySQL-compatible tenant of OceanBase Database
    • Migrate data from a PostgreSQL database to the Oracle compatible mode of OceanBase Database
    • Migrate data from a PostgreSQL database to the MySQL compatible mode of OceanBase Database
    • Migrate data from a PolarDB-X 1.0 database to a MySQL-compatible tenant of OceanBase Database
    • Migrate incremental data from an Oracle-compatible tenant of OceanBase Database to a MySQL database
    • Manage data migration tasks
      • View details of a data migration task
      • Rename a data migration task
      • View and modify migration objects
      • Use tags to Manage data migration tasks
      • Perform batch operations on data migration tasks
      • Download and import settings of migration objects
      • View and modify migration parameters
      • Download a conflict log file
      • Start and pause a data migration task
      • End and delete a data migration task
    • Supported DDL operations and limits for synchronization
      • Synchronize DDL operations from a MySQL database to a MySQL-compatible tenant of OceanBase Database
        • Overview of DDL synchronization from MySQL to OceanBase Database's MySQL compatible mode
        • CREATE TABLE
          • Create a table
          • Create a column
          • Create indexes or constraints
          • Create partitions
        • Data type conversion
        • ALTER TABLE
          • Modify tables
          • Operations on columns
          • Operations on constraints and indexes
          • Partition operations
        • TRUNCATE TABLE
        • RENAME TABLE
        • DROP TABLE
        • CREATE INDEX
        • DROP INDEX
        • DDL incompatibilities between a MySQL database and a MySQL-compatible tenant of OceanBase Database
          • Overview
          • Incompatibilities of the CREATE TABLE statement
            • Incompatibilities of CREATE TABLE
            • Column types that are supported to create indexes or constraints
          • Incompatibilities of the ALTER TABLE statement
            • Incompatibilities of ALTER TABLE
            • Change the type of a constrained column
            • Change the type of an unconstrained column
            • Change the length of a constrained column
            • Change the length of an unconstrained column
            • Delete a constrained column
          • Incompatibilities of DROP INDEX operations
      • Synchronize DDL operations from the MySQL compatible mode of OceanBase Database to a MySQL database
      • DDL operations for synchronizing data from an Oracle database to an Oracle-compatible tenant of OceanBase Database
        • Overview of DDL synchronization from Oracle to OceanBase Database Oracle compatible mode
        • CREATE TABLE
          • Overview for CREATE TABLE
          • Create a relational table
            • Create a relational table
            • Define columns of a relational table
          • Virtual columns
          • Regular columns
          • Create partitions
            • Overview for creating partitions
            • Partitioning
            • Subpartitioning
            • Composite partitioning
            • User-defined partitioning
            • Subpartition templates
          • Constraints
            • Overview
            • Inline constraints
            • Out-of-line constraints
        • CREATE INDEX
          • Overview
          • Oracle compatible mode
        • ALTER TABLE
          • Overview
          • Modify, drop, and add table attributes
          • Column attribute management
            • Modify, drop, and add column attributes
            • Rename a column
            • Add columns and column attributes
            • Modify column attributes
            • Drop columns
          • Modify, drop, and add constraints
          • Partition management
            • Modify, drop, and add partitions
            • Drop a partition
            • Drop a subpartition
            • Add partitions and subpartitions
            • Modify partitions
            • Drop partition data
        • DROP TABLE
        • RENAME OBJECT
        • TRUNCATE TABLE
        • DROP INDEX
        • DDL incompatibilities between an Oracle database and an Oracle-compatible tenant of OceanBase Database
          • Overview
          • Incompatibilities of CREATE TABLE
          • Incompatibilities in table modification operations
            • Incompatibilities of ALTER TABLE
            • Change the type of a constrained column
            • Change the type of an unconstrained column
            • Change the length of a constrained column
            • Change the length of an unconstrained column
      • Synchronize DDL operations from the Oracle compatible mode of OceanBase Database to an Oracle database
      • Synchronize DDL operations from a DB2 LUW database to an Oracle-compatible tenant of OceanBase Database
      • Synchronize DDL operations from the Oracle compatible mode of OceanBase Database to a DB2 LUW database
      • Synchronize DDL operations from a DB2 LUW database to a MySQL-compatible tenant of OceanBase Database
      • Synchronize DDL operations from the MySQL compatible mode of OceanBase Database to a DB2 LUW database
      • Synchronize DDL operations between MySQL-compatible tenants of OceanBase Database
      • DDL synchronization between Oracle-compatible tenants of OceanBase Database
      • DDL operations for synchronizing data from a PostgreSQL database to the MySQL compatible mode of OceanBase Database
      • DDL synchronization from PostgreSQL to OceanBase Database in Oracle compatible mode
  • Data synchronization
    • Overview
    • Synchronize data from OceanBase Database to a Kafka instance
    • Synchronize data from OceanBase Database to a RocketMQ instance
    • Synchronize data from OceanBase Database to a DataHub instance
    • Synchronize data from an ODP logical table to a physical table in a MySQL-compatible tenant of OceanBase Database
    • Synchronize data from an ODP logical table to a DataHub instance
    • Synchronize data from an IDB logical table to a MySQL-compatible tenant of OceanBase Database
    • Synchronize data from an IDB logical table to a DataHub instance
    • Synchronize data from a MySQL database to a DataHub instance
    • Synchronize data from an Oracle database to a DataHub instance
    • Manage data synchronization tasks
      • View details of a data synchronization task
      • Change the name of a data synchronization task
      • View and modify synchronization objects
      • Use tags to Manage data synchronization tasks
      • Perform batch operations on data synchronization tasks
      • Download and import the settings of synchronization objects
      • View and modify the parameter configurations of a data synchronization task
      • Start and pause a data synchronization task
      • End and delete a data synchronization task
  • Data validation
    • Overview
    • Create a data validation task
    • Manage data validation tasks
      • View details of a data validation task
      • Change the name of a data validation task
      • View and modify validation objects
      • View and modify validation parameters
      • Manage data validation tasks by using tags
      • Import validation objects
      • Start, stop, and resume a data validation task
      • Clone a data validation task
      • Delete a data validation task
  • Create and manage data sources
    • Create data sources
      • Create an OceanBase data source
        • Create a physical OceanBase data source
        • Create an ODP data source
        • Create an IDB data source
        • Create a public cloud OceanBase data source
        • Create a standalone OceanBase data source
      • Create a MySQL data source
      • Create an Oracle data source
      • Create a TiDB data source
      • Create a Kafka data source
      • Create a RocketMQ data source
      • Create a DataHub data source
      • Create a DB2 LUW data source
      • Create a PostgreSQL data source
      • Create a PolarDB-X 1.0 data source
    • Manage data sources
      • View data source information
      • Copy a data source
      • Edit a data source
      • Delete a data source
    • Create a database user
    • User privileges
    • Enable binlogs for the MySQL database
    • Minimum privileges required when an Oracle database serves as the source
  • OPS & Monitoring
    • O&M overview
    • Go to the overview page
    • Server
      • View server information
      • Update the quota
      • View server logs
      • Manage resource groups
    • Components
      • Store
        • Add a Store component
        • View details of a Store component
        • Update the configurations of a Store component
        • Start and pause a Store component
        • Delete a Store component
      • Incr-Sync
        • View details of an Incr-Sync component
        • Start and pause an Incr-Sync component
        • Migrate an Incr-Sync component
        • Update the configurations of an Incr-Sync component
        • Batch O&M
        • Delete an Incr-Sync component
      • Full-Import
        • View details of a Full-Import component
        • Pause a Full-Import component
        • Rerun and resume a Full-Import component
        • Update the configurations of a Full-Import component
        • Delete a Full-Import component
      • Full-Verification
        • View details of a Full-Verification component
        • Pause a Full-Verification component
        • Rerun and resume a Full-Verification component
        • Update the configurations of a Full-Verification component
      • Incr-Verification
        • View details of the Incr-Verification component
        • Pause an Incr-Verification component
        • Rerun and resume an Incr-Verification component
        • Update an Incr-Verification component
      • Row-Verification
        • View details of a Row-Verification component
    • O&M Task
      • View O&M tasks
      • Skip a task or subtask
      • Retry a task or subtask
    • Parameter Template
      • Overview
      • Task Template
        • Create a task template
        • View and edit task templates
        • Copy and export a task template
        • Delete a task template
      • Component Template
        • Create a component template
        • View and edit component templates
        • Copy and export a component template
        • Delete a component template
      • Component parameters
        • Store component parameters
        • Incr-Sync component parameters
        • Full-Import component parameters
        • Full-Verification component parameters
        • Incr-Verification component parameters
        • Parameters of the Row-Verification component
        • CM component parameters
        • Supervisor component parameters
  • System management
    • Permission Management
      • Overview
      • Manage users
      • Manage departments
    • Alert center
      • View task alerts
      • View system alerts
      • Manage alert settings
    • Associate with OCP
    • System parameters
      • Modify system parameters
      • Modify HA configurations
      • oblogproxy parameters
    • Manage access keys
    • Operation audit
  • Troubleshooting Guide
    • Manage OMS services
    • OMS logs
    • Component O&M
      • O&M operations for the Supervisor component
      • CLI-based O&M for the Connector component
      • O&M operations for the Store component
    • Component tuning
      • Incr-Sync/Full-Import tuning
      • Oracle store tuning
    • Set throttling
    • Store performance diagnostics
  • Reference Guide
    • Features
      • Configure DDL/DML synchronization
      • DDL synchronization scope
      • Rename databases and tables
      • Use SQL conditions to filter data
      • Set the incremental synchronization start timestamp
      • Configure matching rules for migration or synchronization objects
      • Configure matching rules for validation objects
      • Wildcard patterns supported for matching rules
      • Hidden column mechanisms
      • Instructions on schema migration
      • Create and update a heartbeat table
      • Change a topic
      • Column filtering
      • Data formats
    • API Reference
      • Overview
      • CreateProject
      • StartProject
      • StopProject
      • ResumeProject
      • ReleaseProject
      • DeleteProject
      • ListProjects
      • DescribeProject
      • DescribeProjectSteps
      • DescribeProjectStepMetric
      • DescribeProjectProgress
      • DescribeProjectComponents
      • ListProjectFullVerifyResult
      • StartProjectsByLabel
      • StopProjectsByLabel
      • CreateMysqlDataSource
      • CreateOceanBaseDataSource
      • CreateOceanBaseODPDataSource
      • CreatePolarDBDataSource
      • ListDataSource
      • CreateLabel
      • ListAllLabels
      • DeleteDataSource
      • CreateProjectModifyRecords
      • ListProjectModifyRecords
      • StopProjectModifyRecords
      • RetryProjectModifyRecords
      • CancelProjectModifyRecord
      • SubmitPreCheck
      • GetPreCheckResult
      • UpdateProjectConfig
      • Download schema conversion information
      • DownloadConflictData
      • ListConflictData
      • ResetIncrStartTimestamp
      • AdvanceProject
      • DescribeRegions
    • Alert Reference
      • oms_host_down
      • oms_host_down_migrate_resource
      • oms_host_threshold
      • oms_migration_failed
      • oms_migration_delay
      • oms_sync_failed
      • oms_sync_status_inconsistent
      • oms_sync_delay
    • SSO
      • Integrate the OIDC protocol to OMS to implement SSO
      • Integrate the SAML 2.0 protocol to OMS to implement SSO
      • Access Microsoft Entra ID using OMS SAML 2.0
    • OMS error codes
    • SQL statements for querying table objects
    • Create a trigger
    • Change the log level for a PostgreSQL database instance
    • Online DDL tools
    • Supplemental logging in Oracle databases
  • Upgrade Guide
    • Overview
    • Upgrade OMS in single-node deployment mode
    • Upgrade OMS in multi-node deployment mode
    • FAQ
  • FAQ
    • General O&M
      • How do I modify the resource quotas of an OMS container?
      • How do I troubleshoot the OMS server down issue?
      • Deploy InfluxDB for OMS
      • Increase the disk space of the OMS host
    • Task diagnostics
      • How do I troubleshoot common problems with Oracle Store?
      • How do I perform performance tuning for Oracle Store?
      • What do I do when Oracle Store reports an error at the isUpdatePK stack?
      • What do I do when a store does not have data of the timestamp requested by the downstream?
      • What do I do when OceanBase Store failed to access an OceanBase cluster through RPC?
      • How do I use LogMiner to pull data from an Oracle database?
    • OPS & monitoring
      • What are the alert rules?
    • Data synchronization
      • FAQ about synchronization to a message queue
        • What are the strategies for ensuring the message order in incremental data synchronization to Kafka
    • Data migration
      • User privileges
        • What privileges do I need to grant to a user during data migration to or from an Oracle database?
      • Full migration
        • How do I query the ID of a checker?
        • How do I query log files of the Checker component of OMS?
        • How do I query the verification result files of the Checker component of OMS?
        • What do I do if the target table does not exist?
        • What can I do when the full migration failed due to LOB fields?
        • What do I do if garbled characters cannot be written into OceanBase Database V3.1.2?
      • Incremental synchronization
        • How do I skip DDL statements?
        • How do I migrate an Oracle database object whose name exceeds 30 bytes in length?
        • How do I update whitelists and blacklists?
        • What are the application scope and limits of ETL?
    • Installation and deployment
      • How do I upgrade Store?
  • Release Note
    • Release Note
      • Version number rules
      • V4.3
        • OMS V4.3.1
        • OMS V4.3.0
      • V4.2
        • OMS V4.2.5
        • OMS V4.2.4
        • OMS V4.2.3
        • OMS V4.2.2
        • OMS V4.2.1
        • OMS V4.2.0
      • V4.1
        • OMS V4.1.0
      • V4.0
        • OMS V4.0.2
        • OMS V4.0.1
      • V3.4
        • OMS V3.4.0
      • V3.3
        • OMS V3.3.1
        • OMS V3.3.0
      • V3.2
        • OMS V3.2.2
        • OMS V3.2.1
      • V3.1
        • OMS V3.1.0
      • V2.1
        • OMS V2.1.2
        • OMS V2.1.0

Download PDF

OMS Documentation Overview of OMS Terms OMS HA Principles of Store Principles of Full-Import and Incr-Sync Data verification principles Overview Hierarchical functional system Basic components OMS Oracle full migration design and impact Limitations Data migration process Data synchronization process Deployment types System and network requirements Memory and disk requirements Environment preparations Deploy OMS on a single node Deploy OMS on multiple nodes in a single region Deploy OMS on multiple nodes in multiple regions Scale out Scale down deployment Check the deployment Deploy a time-series database (Optional) Log in to the OMS console Overview Configure user information Change your login password Log out Overview Migrate data from a MySQL database to a MySQL-compatible tenant of OceanBase Database Migrate data from a MySQL-compatible tenant of OceanBase Database to a MySQL database Migrate data from an Oracle database to the MySQL compatible mode of OceanBase Database Migrate data from the Oracle compatible mode of OceanBase Database to an Oracle database Migrate data from an Oracle database to the Oracle compatible mode of OceanBase Database Migrate data from a DB2 LUW database to an Oracle-compatible tenant of OceanBase Database Migrate data from an Oracle-compatible tenant of OceanBase Database to a DB2 LUW database Migrate data from a DB2 LUW database to a MySQL-compatible tenant of OceanBase Database Migrate data from a MySQL-compatible tenant of OceanBase Database to a DB2 LUW database Migrate data between OceanBase databases of the same tenant type Configure a bidirectional synchronization task Migrate data from a TiDB database to a MySQL-compatible tenant of OceanBase Database Migrate data from a PostgreSQL database to the Oracle compatible mode of OceanBase Database Migrate data from a PostgreSQL database to the MySQL compatible mode of OceanBase Database Migrate data from a PolarDB-X 1.0 database to a MySQL-compatible tenant of OceanBase Database Migrate incremental data from an Oracle-compatible tenant of OceanBase Database to a MySQL database View details of a data migration task Rename a data migration task View and modify migration objects Use tags to Manage data migration tasks Perform batch operations on data migration tasks Download and import settings of migration objects View and modify migration parameters Download a conflict log file Start and pause a data migration task End and delete a data migration task Synchronize DDL operations from the MySQL compatible mode of OceanBase Database to a MySQL database Synchronize DDL operations from the Oracle compatible mode of OceanBase Database to an Oracle database Synchronize DDL operations from a DB2 LUW database to an Oracle-compatible tenant of OceanBase Database Synchronize DDL operations from the Oracle compatible mode of OceanBase Database to a DB2 LUW database Synchronize DDL operations from a DB2 LUW database to a MySQL-compatible tenant of OceanBase Database Synchronize DDL operations from the MySQL compatible mode of OceanBase Database to a DB2 LUW database Synchronize DDL operations between MySQL-compatible tenants of OceanBase Database DDL synchronization between Oracle-compatible tenants of OceanBase Database DDL operations for synchronizing data from a PostgreSQL database to the MySQL compatible mode of OceanBase Database DDL synchronization from PostgreSQL to OceanBase Database in Oracle compatible mode Overview Synchronize data from OceanBase Database to a Kafka instance Synchronize data from OceanBase Database to a RocketMQ instance Synchronize data from OceanBase Database to a DataHub instance Synchronize data from an ODP logical table to a physical table in a MySQL-compatible tenant of OceanBase Database Synchronize data from an ODP logical table to a DataHub instance Synchronize data from an IDB logical table to a MySQL-compatible tenant of OceanBase Database Synchronize data from an IDB logical table to a DataHub instance Synchronize data from a MySQL database to a DataHub instance Synchronize data from an Oracle database to a DataHub instance View details of a data synchronization task Change the name of a data synchronization task View and modify synchronization objects Use tags to Manage data synchronization tasks Perform batch operations on data synchronization tasks Download and import the settings of synchronization objects View and modify the parameter configurations of a data synchronization task Start and pause a data synchronization task End and delete a data synchronization task Overview Create a data validation task View details of a data validation task Change the name of a data validation task View and modify validation objects View and modify validation parameters Manage data validation tasks by using tags Import validation objects Start, stop, and resume a data validation task Clone a data validation task Delete a data validation task Create a MySQL data source Create an Oracle data source Create a TiDB data source
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogLive DemosTraining & Certification
Company
About OceanBaseTrust CenterLegalPartnerContact Us
Follow Us

© OceanBase 2026. All rights reserved

Cloud Service AgreementPrivacy PolicySecurity
Contact Us
Document Feedback
  1. Documentation Center
  2. OceanBase Migration Service
  3. V4.3.1
iconOceanBase Migration Service
V 4.3.1Enterprise Edition
Enterprise Edition
  • V 4.3.2
  • V 4.3.1
  • V 4.3.0
  • V 4.2.5
  • V 4.2.4
  • V 4.2.3
  • V 4.0.2
  • V 3.4.0
Community Edition
  • V 4.2.12
  • V 4.2.11
  • V 4.2.10
  • V 4.2.9
  • V 4.2.8
  • V 4.2.7
  • V 4.2.6
  • V 4.2.5
  • V 4.2.4
  • V 4.2.3
  • V 4.2.1
  • V 4.2.0
  • V 4.0.0
  • V 3.3.1

View details of a data migration task

Last Updated:2025-10-09 03:34:24  Updated
share
What is on this page
Go to the details page
View basic information
View migration details
Schema migration
Full migration
Incremental Synchronization
Forward switchover
Reverse increment

folded

share

After a data migration task starts, you can view the task metrics on the details page of the task, such as the basic information, progress, and status of the task.

Go to the details page

  1. Log in to the OMS console.

  2. In the left-side navigation pane, click Data Migration.

  3. On the Data Migration page, click the name of the target task to go to the details page, where you can view its Basic Information and Migration Details.

    On the Data Migration page, you can search for the target data migration task based on tags, status, type, and keywords. The states of a data migration task include:

    • Not Started: indicates that the data migration task has not started. You can click Start in the Actions column to start the task.

    • Running: The data migration task is in progress. The plan and current progress of data migration are displayed on the right side of the status.

    • Modifying : The data migration task is modifying the migration objects.

    • Integrating: The process of merging the data migration task of the modified migration object with the task of modifying the migration object.

    • Stopped: The data migration task is manually stopped. You can click Resume in the Actions column to resume the migration from the point where it was stopped.

    • Failed: The data migration task failed. The specific reason for the failure is displayed on the right side of the status. You can click the name of the data migration task to view the specific error message on the details page.

    • Completed: The data migration task has been successfully executed. OMS has migrated the specified data content to the target database in the migration mode you preset.

    • Releasing: The data migration task is being released. A data migration task in the Releasing state cannot be operated.

    • Released: The data migration task has been successfully released. After a task is released, OMS terminates the current migration and incremental synchronization tasks.

View basic information

The Basic Information section displays the basic information about the current data migration task.

Parameter Description
ID The unique ID of the data migration task.
Migration Type The type of the current migration task.
Alert Level The alert level of the current task. OMS supports the following alert levels: No Protection, High Protection, Medium Protection, and Low Protection. For more information, see Alert settings.
Created By The creator of the current data migration task.
Created At The creation time of the current data migration task.
Connection Details Click View Details to view the connection information of the source and target of the current data migration task.

You can perform the following operations:

  • Configure a validation task

    Click Configure Validation Task in the upper-right corner of the page. You can use the source, target, and migration objects of the current migration task to quickly create a data validation task. For more information, see Create a data validation task.

  • View migration objects

    Click View Objects in the upper-right corner of the page to view the list of migration objects for the current data migration task. You can also modify the migration objects during the execution of the data migration task. For more information, see View and modify migration objects.

  • View component monitoring metrics

    Click View Component Monitoring in the upper-right corner of the page to view information about components such as Store, Incr-Sync, Full-Import, and Full-Verification. You can also perform the following operations:

    • Start a component: Click Start next to the target component that is not running. In the dialog box that appears, click OK.

    • Stop a component: Click Stop next to the target component that is running. In the dialog box that appears, click OK.

    • Update a component: Click Update next to the target component. On the Update Configuration page, modify the relevant configurations and click Update.

      Notice

      Update involves a restart. Proceed with caution.

    • View logs: Click View Logs next to the target component. The View Logs page displays the logs generated in the most recent run. You can search for logs, Download, and Copy logs.

  • View or modify parameter configurations

    Data migration tasks in the Running, Modifying, Integrating, Completed, Ending, and Ended state support viewing parameter configurations. Data migration tasks in the Not Started, Stopped, and Failed state support modifying parameter configurations. For more information, see View and modify migration parameters.

    The specific parameters that support modification depend on the type of the data migration task and the phase in which the task is running. Different phases support modifying different parameters.

  • Download object configuration information

    OMS allows you to download the configurations of a data migration task in a batch import format. For more information, see Download and import migration object configurations.

  • Download conflict log files

    During full migration, incremental synchronization, or reverse increment of a data migration task, if conflicts are found, OMS allows you to download conflict log files. For more information, see Download conflict logs.

View migration details

The Migration Details section displays the status, progress, start time, completion time, and total duration of all subtasks.

Schema migration

The schema migration task migrates data object definitions, such as tables, indexes, constraints, comments, and views, from the source database to the target database. Temporary tables are automatically filtered. If the source database is not an OceanBase database, the data types and SQL syntaxes are automatically converted and assembled based on the syntax definitions for the target OceanBase tenant type, and then replicated to the target database. If an object with the same name exists in the target database, the object is skipped by default. You must ensure that the schemas of the source and target tables are consistent.

If your data migration task enters the forward switchover step, the OMS instance automatically drops hidden columns and unique indexes based on the type of your data migration task. For more information, see Description of data migration service hidden column mechanism.

You can view the overall status, start time, end time, and total duration of the schema migration, as well as the migration progress of the target objects on the Schema Migration page. If your data migration task migrates data from an Oracle database to the Oracle compatible mode of an OceanBase database, you can also view whether to proceed to the next phase after the schema migration is complete, on the right side of the progress bar.

You can also perform the following operations on the target objects:

  • View the creation syntax: You can click View in the Actions column of the target object to view the creation syntax of a database, table, or index.

    If the syntax is fully compatible, the DDL syntax executed on the OBServer node is displayed. If the syntax is not fully compatible, the converted creation syntax is displayed.

  • Modify the creation syntax and retry: You can check the failed DDL statements and errors, modify the definition of a failed DDL conversion result, and migrate it to the target database again.

  • Retry or retry all failed objects: For a failed schema migration task, you can retry the conversion individually or click Retry All Failed Objects in the upper-right corner of the corresponding tab.

  • Skip or batch skip: For a failed schema migration task, you can skip the conversion of the failed objects individually or select the objects that need to be skipped, and click Batch Skip in the upper-right corner. When you skip an object, its index is also skipped.

  • Remove or batch remove: For a failed schema migration task, you can remove the failed objects individually or select the objects that need to be removed, and click Batch Remove in the upper-right corner. When you remove an object, its index is also removed.

  • View details: For a failed schema migration task, you can view the DDL statements and error information executed on the OBServer node.

  • After the schema migration is complete, you can download the conversion information of completed or converted tables as a CSV file.

    1. Click the ... in the upper-right corner of the tab and select Download Schema Conversion Information.

    2. In the Download Schema Conversion Information dialog box, select Conversion Information Only or Complete DDL of Target and Conversion Information.

    1. Click Download.

Full migration

Full migration involves migrating existing data from tables in the source database to corresponding tables in the target database. On the Full Migration page, you can filter objects by source and target databases, or select View Objects with Errors to filter out objects that hinder the overall migration progress. You can also view related details on the Table Objects, Table Indexes, and Migration Performance tabs. The status of a full migration task changes to Completed only after the table objects and table indexes are migrated.

  • On the Table Objects tab, you can view the names, source and target databases, estimated data volume, migrated data volume, and status of tables.

  • On the Table Indexes tab, you can view the table objects, source and target databases, creation time, end time, time consumed, and status. You can also view the index creation syntax and remove unwanted indexes.

  • On the Migration Performance tab, you can view graphs of Source RPS, Target RPS, Source migration traffic, Target migration traffic, Average Read Time at Source, Average Slicing Time at Source, and Average Write Time at Target to identify performance-related issues, if any.

You can combine full migration with incremental synchronization to ensure data consistency between the source and target databases. If any objects fail to be migrated during full migration, the causes of the failure are displayed.

Notice

  • If you do not select Schema Migration for Migration Type, OMS migrates the fields in the source and target tables that match each other and does not check whether the schemas are consistent.

  • After full migration is completed and the subsequent step is started, you cannot click Retest next to the target Full-Verification component on the page displayed after you choose OPS & Monitoring > Component > Full-Verification.

Incremental Synchronization

During incremental synchronization, the data that has changed in the source database, including new data, modified data, and deleted data, is synchronized to the corresponding table in the target database. Before full migration starts, OMS starts the incremental pull module to pull incremental updates from the source instance, parses and packages the incremental updates, and stores them in OMS. After full migration is completed, OMS starts the incremental data replay module to obtain incremental data from the incremental data pull module. The incremental data is filtered, mapped, and converted, and then synchronized to the target instance.

If an exception occurs in Incr-Sync, for example, if a DDL statement executed in the source database causes the data migration task to fail, the failed DDL statement is displayed on the page, along with a Skip button. In this case, you can click Skip in the dialog box and confirm the operation.

Notice

Be cautious when you perform this operation, as it may cause the schemas in the source and target databases to be inconsistent.

For a data migration task in the Running state, you can view its latency, current timestamp, or Kafka consumption timestamp, and incremental synchronization performance in the Incremental Synchronization section. The latency is displayed in the following format: X seconds (updated Y seconds ago). Normally, Y is less than 20.

If you have configured Obtain Incremental Data through Kafka for the Oracle data source, the latency of incremental synchronization from the Oracle database to the OceanBase Database Oracle compatible mode or the reverse increment from the OceanBase Database Oracle compatible mode to the Oracle database is displayed in the following format: Kafka message X seconds/Incremental data Y.

  • Kafka message latency refers to the latency between the timestamp when the incremental data is written to Kafka and the current time when the incremental data is read from Kafka and written to the target database.

  • Incremental data latency refers to the latency between the timestamp when the incremental data is generated in the source database and the current time when the incremental data is read from Kafka and written to the target database. Note that since the order of the messages delivered from OGG to Kafka are not guaranteed, the latency is for reference only.

For a data migration task in the Stopped or Failed state, you can enable the DDL/DML statistics collection feature to collect statistics on database operations performed after this feature is enabled. You can also view the specific information about incremental synchronization objects and the performance of incremental synchronization.

  • The Synchronization Object Statistics tab displays the table-level statistics about DML statements executed in the source and target databases. The numbers displayed in the Change Sum, Delete, Insert, and Update fields in the section above the Synchronization Object Statistics tab are the sums of the corresponding columns on this tab.

  • The Incremental Synchronization Performance tab displays the following content:

    • Latency: the latency in synchronizing incremental changes from the source database to the target database, in seconds.

    • Migration traffic: the traffic throughput of incremental changes synchronized from the source database to the target database, in Kbit/s.

    • Average execution time: the average execution time of an SQL statement, in ms.

    • Average commit time: the average commit time of a transaction, in ms.

    • RPS: the number of rows written to the target database per second.

    When you create a data migration task, we recommend that you specify the alert level and alert frequency to always keep track of the task status. OMS is in low-protection mode by default. You can change the alert level as needed. For more information, see Configure alerts.

    • If the latency of incremental synchronization in a data migration task exceeds the configured alert threshold and incremental synchronization is always in the running state, the system does not trigger an alert.

    • If the latency of incremental synchronization in a data migration task does not exceed the configured alert threshold, the state of incremental synchronization changes from running to monitoring. Once the state of incremental synchronization changes to monitoring, it will not change back to running even if the latency exceeds the alert threshold.

Forward switchover

Forward switchover (abstracted and standardized as the system cutover process) does not involve the switching of business application connections. Instead, it is a task flow that needs to be executed when you use OMS to migrate data during an application cutover. Make sure that the forward switchover is completed before you switch the business application connections to the target endpoint.

The forward switchover is an essential step in data migration. It ensures that the related work for data migration is completed, and allows you to start the reverse increment component as needed. The main tasks involved in the forward switchover are as follows:

  1. You need to confirm that the data migration is completed and wait for the synchronization latency to be leveled.

  2. OMS automatically adds the check constraints and foreign key constraints that were ignored during schema migration to the target endpoint if the target endpoint is an Oracle database, an Oracle-compatible tenant of OceanBase Database, or a DB2 LUW database.

  3. OMS automatically deletes the additional hidden columns and unique indexes that are used for migration.

    This operation is performed only for data migration tasks between an Oracle database and OceanBase Database or between two OceanBase Databases. For more information, see Data migration service hidden column mechanism.

  4. You need to manually migrate database objects such as triggers, functions, and stored procedures from the source endpoint to the target endpoint, as OMS does not support these objects.

  5. If the data migration task involves reverse increment, you need to disable the triggers at the source endpoint and delete the foreign key constraints.

The following figure shows the steps of a forward switchover.

forward-switchover-en

  1. Start Forward Switchover

    This step confirms that you want to start the forward switchover. No related operations are performed in the background. Before you start the forward switchover, make sure that the data migration is completed and a business cutover is required. Then, click Start Forward Switchover to start the OMS forward switchover process.

    Notice

    Before you start the forward switchover, make sure that the source endpoint has stopped writing data.

  2. Precheck for forward switchover

    This step performs a precheck for the forward switchover. The following content is checked:

    • The synchronization latency between the source and target endpoints. The synchronization latency is considered acceptable if it is less than or equal to 15 seconds.

    • The write permission of the source endpoint account. If the data migration task involves reverse increment, the source endpoint account must have the write permission. This ensures that data can be normally written to the target endpoint during reverse increment.

    • The read permission of the target endpoint account. If the data migration task involves reverse increment, the target endpoint account must have the read permission. This ensures that data can be normally read from the target endpoint to the source endpoint during reverse increment.

    • The incremental log configuration of the target endpoint. If the data migration task involves reverse increment, make sure that the incremental log configuration of the target endpoint meets the requirements for extracting reverse increment logs.

    If the precheck is passed, OMS automatically proceeds to the next step. If the precheck fails, OMS displays the Retry and Skip options.

    Notice

    If you choose Skip, missing data in the target endpoint or failure of reverse increment may occur. Proceed with caution.

  3. Start the Store component of the target

    Note

    • This step is displayed only when the data migration task involves reverse increment.

    • If you have configured Obtain Incremental Data through Kafka for the Oracle data source, you do not need to start the Store component of the target for reverse increment in a data migration task from the Oracle compatible mode of OceanBase Database to an Oracle database.

    If the precheck for the forward switchover is passed, OMS automatically starts the incremental log pulling service for the target endpoint to obtain DML and DDL operations, parse and save the related log data, and prepare for reverse increment. This step is expected to take 3 to 5 minutes.

  4. Confirm the stop of writes at the source endpoint

    This step checks whether the source endpoint has stopped writing data. If the source endpoint has stopped writing data, click OK.

  5. Confirm the leveling of the synchronization checkpoint

    This step checks whether the synchronization checkpoint at the target endpoint has been leveled to the point at which data writing has stopped at the source endpoint. If the step is in the running or failed state and the synchronization checkpoint has not been leveled for a long time, you can click Skip.

    Notice

    If you choose Skip, the data at the source and target endpoints may be inconsistent. Proceed with caution.

  6. Stop forward synchronization

    This step stops the forward synchronization service. After the service is stopped, any database changes at the source endpoint will no longer be synchronized to the target endpoint for this task. If the service stop fails, OMS displays the Retry or Skip option.

    Notice

    The Skip option can be selected only when the background task of stopping the forward synchronization service is completed. Otherwise, unexpected writing of source data to the target endpoint may occur. Proceed with caution.

  7. Execute Database Object Processing

    This step processes objects that were ignored during data migration or are not supported by OMS.

    • Migrate database objects to the target endpoint: You need to manually migrate database objects such as triggers, functions, and stored procedures from the source endpoint to the target endpoint. If you have completed the migration, click Mark as Completed.

    • Disable the triggers and foreign key constraints at the source endpoint: You need to perform this operation only if the data migration task involves reverse increment. This ensures that data will not be affected by triggers or foreign key constraints during reverse increment, which could cause the synchronization of reverse increment to fail. You need to complete this operation manually. If you have completed the operation, click Mark as Completed.

    • Migrate objects that were ignored during schema migration to the target endpoint: You need to perform this operation only if the target endpoint is an Oracle database, an Oracle-compatible tenant of OceanBase Database, or a DB2 LUW database. This automatically adds the check constraints and foreign key constraints that were ignored during schema migration to the target endpoint. For other target endpoints, these objects are migrated by default during schema migration, without the need for additional operations.

    • Delete the hidden columns and unique indexes added by OMS: This operation is performed only for data migration tasks between an Oracle database and OceanBase Database or between two OceanBase Databases. It automatically deletes the hidden columns and unique indexes added by OMS to ensure data migration consistency at the target endpoint. This operation is automatically performed, and the time it takes depends on the amount of data at the target endpoint. During this step, OMS provides the Skip option. However, if you choose to skip this step, you will need to manually delete the hidden columns and unique indexes. Proceed with caution. For more information, see Data migration service hidden column mechanism.

  8. Start Reverse Increment

    Note

    This step is displayed only when the data migration task involves reverse increment.

    This step starts the incremental synchronization service at the target endpoint to synchronize incremental DML or DDL changes at the target endpoint to the source endpoint in real time. The incremental synchronization is configured in the same way as that in the Create Incremental Synchronization task. For more information about incremental DDL, see Incremental DDL operations supported for migration.

Reverse increment

For a data migration task in the Running state, you can view its latency, current timestamp, and performance of reverse increment in the Reverse Increment section. The latency is displayed in the following format: X seconds (updated Y seconds ago). Normally, Y is less than 20.

For a data migration task in the Stopped or Failed state, you can enable the DDL/DML statistics collection feature to collect statistics on database operations performed after this feature is enabled. You can also view the specific information about the objects and performance of reverse increment.

  • The Synchronization Object Statistics tab displays the statistics about table-level DML statements executed in the current data migration task. The numbers displayed in the Change Sum, Delete, Insert, and Update fields in the section above the Synchronization Object Statistics tab are the sums of the corresponding columns on this tab.

  • The Reverse Incremental Performance tab displays the following content:

    • Latency: the latency in synchronizing incremental data from the target database to the source database, in seconds.

    • Migration traffic: the traffic throughput of incremental data synchronization from the target database to the source database, in Kbit/s.

    • Average execution time: the average execution time of an SQL statement, in ms.

    • Average commit time: the average commit time of a transaction, in ms.

    • RPS: the number of rows written to the target database per second.

Previous topic

Migrate incremental data from an Oracle-compatible tenant of OceanBase Database to a MySQL database
Last

Next topic

Rename a data migration task
Next
What is on this page
Go to the details page
View basic information
View migration details
Schema migration
Full migration
Incremental Synchronization
Forward switchover
Reverse increment