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.2.8Community Edition

  • OMS Documentation
  • What's New
  • OMS Community Edition Introduction
    • What is OMS Community Edition?
    • Terms
    • OMS Community Edition HA
    • Architecture
      • Hierarchical functional system
      • Overview
      • Basic components
    • Limitations
  • Quick Start
    • Data migration process
    • Data synchronization process
  • Deploy OMS Community Edition
    • Prepare the environment
    • Memory and disk requirements
    • Deployment modes
    • Check the deployment
    • Scale out OMS Community Edition
    • Integrate the OIDC protocol into OMS Community Edition to implement SSO
    • Deploy OMS Community Edition on multiple nodes in multiple regions
    • System and network requirements
    • Deploy OMS Community Edition on multiple nodes in a single region
    • Deploy OMS Community Edition on a single node
    • Deploy a time-series database (Optional)
  • OMS Community Edition console
    • Overview
    • Log on to the console of OMS Community Edition
    • User center
      • Change your logon password
      • Log off
      • Configure user information
  • Data migration
    • Migrate incremental data from OBKV to HBase
    • Migrate data from a PostgreSQL database to OceanBase Database Community Edition
    • Overview
    • Migrate data from a Redis database to an OBKV-Redis database
    • Migrate data from HBase to OBKV
    • Migrate data from a Milvus database to OceanBase Database Community Edition
    • Migrate data from a Hive database to OceanBase Database Community Edition
    • Migrate data in active-active disaster recovery scenarios
    • Migrate data from a TiDB database to OceanBase Database Community Edition
    • Migrate data from a Qdrant database to OceanBase Database Community Edition
    • Migrate data between tenants of OceanBase Database Community Edition
    • Migrate data from a MySQL database to OceanBase Database Community Edition
    • Supported DDL operations in incremental migration and limits
      • Supported DDL operations in incremental migration between MySQL-compatible tenants of OceanBase Database
      • DDL synchronization from MySQL database to OceanBase Community Edition
        • TRUNCATE TABLE
        • RENAME TABLE
        • Data type conversion
        • DROP TABLE
        • Overview of DDL synchronization from a MySQL database to a MySQL-compatible tenant of OceanBase Database
        • DROP INDEX
        • CREATE INDEX
        • DDL incompatibilities between MySQL database and OceanBase Community Edition
          • Overview
          • Incompatibilities of DROP INDEX operations
          • Incompatibilities of the ALTER TABLE statement
            • Delete a constrained column
            • Incompatibilities of ALTER TABLE
            • Change the length of a constrained column
            • Change the type of a constrained column
            • Change the length of an unconstrained column
            • Change the type of an unconstrained column
          • Incompatibilities of the CREATE TABLE statement
            • Incompatibilities of CREATE TABLE
            • Column types that are supported to create indexes or constraints
        • ALTER TABLE
          • Modify a table
          • Operations on columns
          • Operations on partitions
          • Operations on constraints and indexes
        • CREATE TABLE
          • Create partitions
          • Create an index or a constraint
          • Create a column
          • Create a table
    • Manage data migration tasks
      • Start and pause a data migration task
      • Manage computing platforms
      • Use tags to manage data migration tasks
      • Download and import settings of migration objects
      • View and modify migration objects
      • Change the name of a data migration task
      • Release and delete a data migration task
      • View details of a data migration task
      • Perform batch operations on data migration tasks
    • Features
      • Rename a database table
      • Schema migration mechanisms
      • Create and update a heartbeat table
      • Direct load
      • Configure matching rules for migration objects
      • DML filtering
      • DDL synchronization
      • Schema migration operations
      • Use SQL conditions to filter data
      • Wildcard rules
      • Set an incremental synchronization timestamp
  • Data synchronization
    • Data synchronization overview
    • Create a task to synchronize data from OceanBase Database Community Edition to a Kafka instance
    • Create a task to synchronize data from OceanBase Database Community Edition to a RocketMQ instance
    • Manage data synchronization tasks
      • View details of a data synchronization task
      • Download and import the settings of synchronization objects
      • View and modify synchronization objects
      • Release and delete a data synchronization task
      • Start and pause a data synchronization task
      • Perform batch operations on data synchronization tasks
      • Change the name of a data synchronization task
      • Use tags to manage data synchronization tasks
    • Features
      • DML filtering
      • DDL synchronization
      • Configure matching rules for synchronization objects
      • Rename a topic
      • Use SQL conditions to filter data
      • Column filtering
      • Data formats
  • Create and manage data sources
    • Create data sources
      • Create a Milvus data source
      • Create a RocketMQ data source
      • Create a TiDB data source
      • Create a PostgreSQL data source
      • Create an HBase data source
      • Create a Kafka data source
      • Create a Qdrant data source
      • Create an OceanBase-CE data source
      • Create a Hive data source
      • Create a Redis data source
      • Create a MySQL data source
    • Manage data sources
      • Cache system views
      • Copy a data source
      • Delete a data source
      • Edit a data source
      • View data source information
    • Create a database user
    • User privileges
    • Enable binlogs for the MySQL database
  • OPS & Monitoring
    • Go to the overview page
    • O&M overview
    • Components
      • Store
        • Create a store
        • Start and pause a store
        • Update the configurations of a store
        • Delete a store
        • View details of a store
      • Incr-Sync
        • Update the configurations of an Incr-Sync component
        • View details of an Incr-Sync component
        • Migrate an Incr-Sync component
        • Delete an Incr-Sync component
        • Start and pause an Incr-Sync component
        • Batch O&M
      • Full-Import
        • Rerun and resume a Full-Import component
        • Pause a Full-Import component
        • Delete a Full-Import component
        • View details of a Full-Import component
        • Update the configurations of a Full-Import component
      • Full-Verification
        • View details of a Full-Verification component
        • Delete a Full-Verification component
        • Rerun and resume a Full-Verification component
        • Update the configurations of a Full-Verification component
        • Pause a Full-Verification component
      • Component parameters
        • Parameters of the CM component
        • Parameters of the Full-Verification component
        • Condition
        • Coordinator
        • Parameters of the Supervisor component
        • Sink Plugin
          • HBaseSink
          • JDBC-Sink
          • DatahubSink
          • RocketMQSink
          • KafkaSink
          • HiveSink
          • Overview
        • Source Plugin
          • HBaseSource
          • DataFlowSource
          • KafkaSource (TiDB)
          • StoreSource
          • Overview
          • LogProxySource
          • HiveSource
        • Store parameters
          • Parameters of a MySQL store
          • Parameters of an OceanBase store
    • Server
      • Update the quota
      • View server logs
      • View server information
    • O&M Task
      • Retry a task or subtask
      • Skip a task or subtask
      • View O&M tasks
  • System management
    • Associate with OCP
    • System parameters
      • Modify HA configurations
      • Modify system parameters
    • Permission Management
      • Manage departments
      • Manage users
      • Overview
    • Alert center
      • Manage alert settings
      • View system alerts
      • View task alerts
  • OMS Community Edition O&M
    • OMS logs
    • Set throttling
    • Manage OMS services
    • Component O&M
      • CLI-based O&M for the Connector component
      • O&M operations for the Supervisor component
      • O&M operations for the Store component
    • Component tuning
      • Incr-Sync or Full-Import tuning
  • Reference Guide
    • API Reference
      • StopProject
      • UpdateFullImport
      • Overview
      • ListFullVerifyCorrectionsResult
      • ListProjects
      • CreateMySQLMasterSlaveDataSource
      • DescribeProjectStepMetric
      • ListProjectFullVerifyResult
      • UpdateFullVerification
      • DeleteProject
      • ResumeProject
      • DescribeProject
      • CreateMysqlDataSource
      • CreateOceanBaseDataSource
      • CreateLabel
      • ListAllLabels
      • UpdateIncrSync
      • DescribeProjectSteps
      • ListDataSource
      • ListFullVerifyInconsistenciesResult
      • StartProjectsByLabel
      • ReleaseProject
      • StartProject
      • DescribeProjectProgress
      • StopProjectsByLabel
      • DescribeProjectComponents
      • CreateProject
      • UpdateStore
    • OMS error codes
    • Alert Reference
      • oms_host_down_migrate_resource
      • oms_sync_status_inconsistent
      • oms_host_threshold
      • oms_migration_delay
      • oms_host_down
      • oms_sync_delay
      • oms_migration_failed
      • oms_sync_failed
    • Telemetry parameters
  • Upgrade Guide
    • Overview
    • Upgrade OMS Community Edition in single-node deployment mode
    • Upgrade OMS Community Edition in multi-node deployment mode
    • FAQ
    • Upgrade the CDC library
  • FAQ
    • Installation and deployment
      • What do I do when the "Failed to fetch" error is reported?
      • Change port numbers for components
      • Switching between the primary and standby OMS MetaDBs
      • How do I upgrade CDC?
      • How do I upgrade Store?
    • Data synchronization
      • Performance troubleshooting and tuning for data synchronization from OceanBase Community Edition to Kafka
      • FAQ about synchronization to a message queue
        • What are the strategies for ensuring the message order in incremental data synchronization to Kafka
    • Data migration
      • Full migration
        • How do I query the ID of a checker?
        • How do I query log files of the Checker component of OMS?
        • What do I do if garbled characters cannot be written into OceanBase Database V3.1.2?
        • What can I do when the full migration failed due to LOB fields?
        • What do I do if the destination table does not exist?
        • How do I query the verification result files of the Checker component of OMS?
      • Incremental synchronization
        • How do I update whitelists and blacklists?
        • What are the application scope and limits of ETL?
        • How do I skip DDL statements?
    • General O&M
      • Clear files in the Store component
      • Deploy InfluxDB for OMS
      • Increase the disk space of the OMS host
      • How do I modify the resource quotas of an OMS container?
      • How do I troubleshoot the OMS server down issue?
    • Task diagnostics
      • 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?
    • OPS & monitoring
      • What are the alert rules?
    • Logon and password
      • What do I do if my logon password is locked?

Download PDF

OMS Documentation What's New What is OMS Community Edition? Terms OMS Community Edition HA Hierarchical functional system Overview Basic components Limitations Data migration process Data synchronization process Prepare the environment Memory and disk requirements Deployment modes Check the deployment Scale out OMS Community Edition Integrate the OIDC protocol into OMS Community Edition to implement SSO Deploy OMS Community Edition on multiple nodes in multiple regions System and network requirements Deploy OMS Community Edition on multiple nodes in a single region Deploy OMS Community Edition on a single node Deploy a time-series database (Optional) Overview Log on to the console of OMS Community Edition Change your logon password Log off Configure user information Migrate incremental data from OBKV to HBase Migrate data from a PostgreSQL database to OceanBase Database Community Edition Overview Migrate data from a Redis database to an OBKV-Redis database Migrate data from HBase to OBKV Migrate data from a Milvus database to OceanBase Database Community Edition Migrate data from a Hive database to OceanBase Database Community Edition Migrate data in active-active disaster recovery scenarios Migrate data from a TiDB database to OceanBase Database Community Edition Migrate data from a Qdrant database to OceanBase Database Community Edition Migrate data between tenants of OceanBase Database Community Edition Migrate data from a MySQL database to OceanBase Database Community Edition Supported DDL operations in incremental migration between MySQL-compatible tenants of OceanBase Database Start and pause a data migration task Manage computing platforms Use tags to manage data migration tasks Download and import settings of migration objects View and modify migration objects Change the name of a data migration task Release and delete a data migration task View details of a data migration task Perform batch operations on data migration tasks Rename a database table Schema migration mechanisms Create and update a heartbeat table Direct load Configure matching rules for migration objects DML filtering DDL synchronization Schema migration operations Use SQL conditions to filter data Wildcard rules Set an incremental synchronization timestamp Data synchronization overview Create a task to synchronize data from OceanBase Database Community Edition to a Kafka instance Create a task to synchronize data from OceanBase Database Community Edition to a RocketMQ instance View details of a data synchronization task Download and import the settings of synchronization objects View and modify synchronization objects Release and delete a data synchronization task Start and pause a data synchronization task Perform batch operations on data synchronization tasks Change the name of a data synchronization task Use tags to manage data synchronization tasks DML filtering DDL synchronization Configure matching rules for synchronization objects Rename a topic Use SQL conditions to filter data Column filtering Data formats Create a Milvus data source Create a RocketMQ data source Create a TiDB data source Create a PostgreSQL data source Create an HBase data source Create a Kafka data source Create a Qdrant data source Create an OceanBase-CE data source Create a Hive data source Create a Redis data source Create a MySQL data source Cache system views Copy a data source Delete a data source Edit a data source View data source information Create a database user User privileges Enable binlogs for the MySQL database Go to the overview page O&M overview Update the quota
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.2.8
iconOceanBase Migration Service
V 4.2.8Community 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

CLI-based O&M for the Connector component

Last Updated:2025-05-12 01:55:52  Updated
share
What is on this page
Start a connector
Sample request
Sample response
Stop a connector
Sample request
Sample response
Update a connector
Sample request
Sample response
Pull back a connector
Migrate a connector
Sample request
Sample response
Delete a connector
Sample request
Sample response

folded

share

This topic describes the CLI-based O&M APIs for the Connector component (Full-Import and Incr-Sync) supported by OceanBase Migration Service (OMS).

Start a connector

/connector/task/v2/resume(POST)

Note

After a task is created, you cannot use this API to start a connector. If the task is in the suspended or other states, you can use this API to start a connector. On the System Parameters page, change the value of the operation_audit_log.retention_time parameter to set the retention period of operation audit records.

pullBackFlag (true) is valid only in a pullback scenario of the Incr-Sync component. restartFlag(true) is valid only in a restart scenario (restart based on the original Checker) of the Full-Import component. Others are recovery scenarios.

Input parameter Required? Type Description
taskName Yes String The name of the component.
pullBackFlag No Boolean Specifies whether to pull back the component. Default value: false.
restartFlag No Boolean Specifies whether to restart the component. Default value: false.

Sample request

curl -XPOST 'http://${cm_host:port}/connector/task/v2/resume?taskName=xxx.xxx.xxx.xxx-9000:connector_v2:p_493po****-incr_trans-1-0:0000000001'

Sample response

{
  "errCode": null,
  "errMsg": null,
  "errorDetail": null,
  "isSuccess": true,
  "result": "xxx.xxx.xxx.xxx-9000:connector_v2:p_493po****-incr_trans-1-0:0000000001",
  "retryable": null
}

Stop a connector

/connector/task/v2/stop(POST)

Input parameter Required? Type Description
taskName Yes String The name of the component.

Sample request

curl -XPOST 'http://${cm_host:port}/connector/task/v2/stop?taskName=xxx.xxx.xxx.xxx-9000:connector_v2:p_493po****-incr_trans-1-0:0000000001'

Sample response

{
  "errCode": null,
  "errMsg": null,
  "errorDetail": null,
  "isSuccess": true,
  "result": "xxx.xxx.xxx.xxx-9000:connector_v2:p_493****4-incr_trans-1-0:0000000001",
  "retryable": null
}

Update a connector

You can update only a connector in the stopped or abnormal state.

/connector/task/v2/update(POST)

Input parameter Required? Type Description
taskName Yes String The name of the component.
deleteParams No List Specifies to delete parameters. Example: scope1.key1,scope2.key2
updateConfigMap No Map<String, Map<String, String>> Specifies to update parameters. Example: scope:key:value

Sample request

curl -XPOST 'http://${cm_host:port}/connector/task/v2/update?taskName=xxx.xxx.xxx.xxx-9000:connector_v2:p_49****4-incr_trans-1-0:0000000001&deleteParams=source.checkpoint' \
--header 'Content-Type: application/json' \
--data-raw '{
    "source": {
        "username":"test"
    }
}'

Sample response

{
  "errCode": null,
  "errMsg": null,
  "errorDetail": null,
  "isSuccess": true,
  "result": "xxx.xxx.xxx.xxx-9000:connector_v2:p_493po***of4-incr_trans-1-0:0000000001",
  "retryable": null
}

Pull back a connector

A pullback operation is a combination of multiple operations such as stop, update checkpoint, and start. To pull the xxx.xxx.xxx.xxx-9000:connector_v2:p_493p****-incr_trans-1-0:0000000001 task back to 2023-02-13 19:00:00, you can run the following commands.

Note that subtopic in checkpoint is an existing value in the configuration.

date -j -f "%Y-%m-%d %H:%M:%S" "2023-02-13 19:00:00" +%s
1676286000
# stop
curl -XPOST 'http://${cm_host:port}/connector/task/v2/stop?taskName=xxx.xxx.xxx.xxx-9000:connector_v2:p_493p****-incr_trans-1-0:0000000001'
# update checkpoint
curl -XPOST 'http://${cm_host:port}/connector/task/v2/update?taskName=xxx.xxx.xxx.xxx-9000:connector_v2:p_493p****-incr_trans-1-0:0000000001&deleteParams=source.checkpoint' \
--header 'Content-Type: application/json' \
--data-raw '{
    "source": {
        "checkpoint":"{\"{subtopic}\":\"1676286000\"}"
    }
}'
# start
curl -XPOST 'http://${cm_host:port}/connector/task/v2/resume?taskName=xxx.xxx.xxx.xxx-9000:connector_v2:p_493p****-incr_trans-1-0:0000000001&pullBackFlag=true'

Migrate a connector

/connector/task/v2/migrate(POST)

Input parameter Required? Type Description
taskName Yes String The name of the component.
ip No String The IP address of the destination.

Sample request

curl -XPOST 'http://${cm_host:port}/connector/task/v2/migrate?taskName=xxx.xxx.xxx.xxx-9000:connector_v2:p_493p****-incr_trans-1-0:0000000001&ip=xxx.xxx.xxx.xxx'

Sample response

{
  "errCode": null,
  "errMsg": null,
  "errorDetail": null,
  "isSuccess": true,
  "result": "xxx.xxx.xxx.xxx-9000:connector_v2:p_493p****-incr_trans-1-0:0000000002",
  "retryable": null
}

Delete a connector

/connector/task/v2/delete(POST)

Input parameter Required? Type Description
taskName Yes String The name of the component.

Sample request

curl -XPOST 'http://${cm_host:port}/connector/task/v2/delete?taskName=xxx.xxx.xxx.xxx-9000:connector_v2:p_493p****-incr_trans-1-0:0000000001'

Sample response

{
  "errCode": null,
  "errMsg": null,
  "errorDetail": null,
  "isSuccess": true,
  "result": "xxx.xxx.xxx.xxx-9000:connector_v2:p_493p****-incr_trans-1-0:0000000001",
  "retryable": null
}

Previous topic

O&M operations for the Supervisor component
Last

Next topic

O&M operations for the Store component
Next
What is on this page
Start a connector
Sample request
Sample response
Stop a connector
Sample request
Sample response
Update a connector
Sample request
Sample response
Pull back a connector
Migrate a connector
Sample request
Sample response
Delete a connector
Sample request
Sample response