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

  • OMS Documentation
  • What's New
  • OMS Community Edition Introduction
    • What is OMS Community Edition?
    • Terms
    • OMS Community Edition HA
    • Architecture
      • Overview
      • Hierarchical functional system
      • Basic components
    • Limitations
  • Quick Start
    • Data migration process
    • Data synchronization process
  • Deploy OMS Community Edition
    • Deployment modes
    • System and network requirements
    • Memory and disk requirements
    • Prepare the environment
    • Deploy by using Docker
      • Single-node deployment
      • Single-region multi-node deployment
      • Multi-region multi-node deployment
      • Scale out
      • Check the deployment
      • Deploy a time-series database (Optional)
    • Deploy by using k8s
      • Single-node deployment
      • Single-region multi-node deployment
      • Multi-region multi-node deployment
      • Scale out
    • Integrate the OIDC protocol into OMS Community Edition to implement SSO
  • OMS Community Edition console
    • Log in to the console of OMS Community Edition
    • Overview
    • User center
      • Configure user information
      • Change your logon password
      • Log off
  • Data migration
    • Overview
    • Migrate data from a MySQL database to OceanBase Database Community Edition
    • Migrate data from HBase to OBKV
    • Migrate incremental data from OBKV to HBase
    • Migrate data from a Milvus database to OceanBase Database Community Edition
    • Migrate data from a Redis database to an OBKV-Redis database
    • Migrate data between tenants of 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 PostgreSQL database to OceanBase Database Community Edition
    • Migrate data from Hive to OceanBase Database Community Edition
    • Migrate data from an ElasticSearch database to OceanBase Database Community Edition
    • Migrate data from OceanBase Database Community Edition to an ElasticSearch database
    • Migrate data from a MongoDB database to OceanBase Database Community Edition
    • Migrate data from a StarRocks database to OceanBase Database Community Edition
    • Migrate data from a Qdrant database to OceanBase Database Community Edition
    • Migrate data from a Doris database to OceanBase Database Community Edition
    • Migrate data from a ClickHouse database to OceanBase Database Community Edition
    • Manage data migration tasks
      • View details of a data migration task
      • Change the name of a data migration task
      • View and modify migration objects
      • Manage computing platforms
      • Use tags to manage data migration tasks
      • Perform batch operations on data migration tasks
      • Download and import settings of migration objects
      • Start and pause a data migration task
      • Release and delete a data migration task
    • Features
      • DML filtering
      • DDL synchronization
      • Configure matching rules for migration objects
      • Wildcard rules
      • Rename a database table
      • Use SQL conditions to filter data
      • Create and update a heartbeat table
      • Schema migration mechanisms
      • Schema migration operations
      • Set an incremental synchronization timestamp
      • Direct load
    • Supported DDL operations in incremental migration and limits
      • DDL synchronization from MySQL database to OceanBase Community Edition
        • Overview of DDL synchronization from a MySQL database to a MySQL-compatible tenant of OceanBase Database
        • CREATE TABLE
          • Create a table
          • Create a column
          • Create an index or a constraint
          • Create partitions
        • Data type conversion
        • ALTER TABLE
          • Modify a table
          • Operations on columns
          • Operations on constraints and indexes
          • Operations on partitions
        • TRUNCATE TABLE
        • RENAME TABLE
        • DROP TABLE
        • CREATE INDEX
        • DROP INDEX
        • DDL incompatibilities between MySQL database and OceanBase Community Edition
          • 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
      • Supported DDL operations in incremental migration between MySQL-compatible tenants of OceanBase Database
      • Synchronize DDL operations from a PostgreSQL database to OceanBase Database
  • 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
      • 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
      • Start and pause a data synchronization task
      • Release and delete a data synchronization task
    • Features
      • DML filtering
      • DDL synchronization
      • Configure matching rules for synchronization objects
      • Rename a topic
      • Use SQL conditions to filter data
      • Column filtering
      • Data format description
  • Create and manage data sources
    • Create data sources
      • Create an OceanBase-CE data source
      • Create a MySQL data source
      • Create a TiDB data source
      • Create a Kafka data source
      • Create a RocketMQ data source
      • Create a PostgreSQL data source
      • Create an HBase data source
      • Create a Qdrant data source
      • Create a Milvus data source
      • Create a Redis data source
      • Create a Hive data source
      • Create an ElasticSearch data source
      • Create a MongoDB data source
      • Create a StarRocks data source
      • Create a Doris data source
      • Create a ClickHouse data source
    • Manage data sources
      • View data source information
      • Copy a data source
      • Edit a data source
      • Delete a data source
      • Cache system views
    • Create a database user
    • User privileges
    • Enable binlogs for the MySQL database
  • OPS & Monitoring
    • O&M overview
    • Go to the overview page
    • Server
      • View server information
      • Update the quota
      • View server logs
      • Delete a server
    • Components
      • Store
        • Create 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
        • Delete a Full-Verification component
      • Component parameters
        • Coordinator
        • Condition
        • Source Plugin
          • Overview
          • StoreSource
          • DataFlowSource
          • LogProxySource
          • KafkaSource (TiDB)
          • HBaseSource
          • HiveSource
          • ElasticSearchSource
          • MongoDBSource
        • Sink Plugin
          • Overview
          • JDBC-Sink
          • KafkaSink
          • DatahubSink
          • RocketMQSink
          • HBaseSink
          • HiveSink
        • Store parameters
          • Parameters of a MySQL store
          • Parameters of an OceanBase store
          • ElasticSearch Store
          • MongoDB Store
        • Parameters of the CM component
        • Parameters of the Supervisor component
        • Parameters of the Full-Verification component
    • O&M Task
      • View O&M tasks
      • Skip a task or subtask
      • Retry a task or subtask
  • System management
    • Permission Management
      • Overview
      • Manage users
      • Manage departments
    • Alert center
      • View task alerts
      • View system alerts
      • Manage alert settings
    • Associate with OCP clusters
    • System parameters
      • Modify system parameters
      • Modify HA configurations
    • SSO management
      • Overview
      • Create an SSO integration
      • Enable or disable an SSO integration
      • Edit an SSO integration
      • Delete an SSO integration
  • OMS Community Edition O&M
    • 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
      • Full/Incremental data migration performance optimization
    • Set throttling
  • Reference Guide
    • API Reference
      • Overview
      • CreateProject
      • StartProject
      • StopProject
      • ResumeProject
      • ReleaseProject
      • DeleteProject
      • ListProjects
      • DescribeProject
      • DescribeProjectSteps
      • DescribeProjectStepMetric
      • DescribeProjectProgress
      • DescribeProjectComponents
      • ListProjectFullVerifyResult
      • StartProjectsByLabel
      • StopProjectsByLabel
      • CreateMysqlDataSource
      • CreateMySQLMasterSlaveDataSource
      • CreateOceanBaseDataSource
      • CreateKafkaDataSource
      • ListDataSource
      • DeleteDataSource
      • CreateLabel
      • ListAllLabels
      • ListFullVerifyInconsistenciesResult
      • ListFullVerifyCorrectionsResult
      • UpdateStore
      • UpdateFullImport
      • UpdateIncrSync
      • UpdateFullVerification
      • UploadFile
      • SubmitPreCheck
      • GetPreCheckResult
      • RetryPreCheck
    • OMS error codes
    • 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
    • Telemetry parameters
    • Create a trigger
  • Upgrade Guide
    • Overview
    • Single-node upgrade
    • Multi-node upgrade
    • Hot upgrade of OMS Community Edition
    • Upgrade the CDC library
    • FAQ
  • FAQ
    • General O&M
      • How do I modify the resource quotas of an OMS container?
      • Clear files in the Store component
      • How do I troubleshoot the OMS server down issue?
      • Deploy InfluxDB for OMS
      • Increase the disk space of the OMS host
    • 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?
    • Data synchronization
      • FAQ about synchronization to a message queue
        • What are the strategies for ensuring the message order in incremental data synchronization to Kafka
      • Performance troubleshooting and tuning for data synchronization from OceanBase Community Edition 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?
        • How do I query the verification result files of the Checker component of OMS?
        • Garbled characters in the Latin1 character set
        • 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 update allowlists and blocklists?
        • What are the application scope and limits of ETL?
    • Logon and password
      • What do I do if my logon password is locked?
    • Installation and deployment
      • How do I upgrade Store?
      • 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

Download PDF

OMS Documentation What's New What is OMS Community Edition? Terms OMS Community Edition HA Overview Hierarchical functional system Basic components Limitations Data migration process Data synchronization process Deployment modes System and network requirements Memory and disk requirements Prepare the environment Single-node deployment Single-region multi-node deployment Multi-region multi-node deployment Scale out Check the deployment Deploy a time-series database (Optional) Single-node deployment Single-region multi-node deployment Multi-region multi-node deployment Scale out Integrate the OIDC protocol into OMS Community Edition to implement SSO Log in to the console of OMS Community Edition Overview Configure user information Change your logon password Log off Overview Migrate data from a MySQL database to OceanBase Database Community Edition Migrate data from HBase to OBKV Migrate incremental data from OBKV to HBase Migrate data from a Milvus database to OceanBase Database Community Edition Migrate data from a Redis database to an OBKV-Redis database Migrate data between tenants of 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 PostgreSQL database to OceanBase Database Community Edition Migrate data from Hive to OceanBase Database Community Edition Migrate data from an ElasticSearch database to OceanBase Database Community Edition Migrate data from OceanBase Database Community Edition to an ElasticSearch database Migrate data from a MongoDB database to OceanBase Database Community Edition Migrate data from a StarRocks database to OceanBase Database Community Edition Migrate data from a Qdrant database to OceanBase Database Community Edition Migrate data from a Doris database to OceanBase Database Community Edition Migrate data from a ClickHouse database to OceanBase Database Community Edition View details of a data migration task Change the name of a data migration task View and modify migration objects Manage computing platforms Use tags to manage data migration tasks Perform batch operations on data migration tasks Download and import settings of migration objects Start and pause a data migration task Release and delete a data migration task DML filtering DDL synchronization Configure matching rules for migration objects Wildcard rules Rename a database table Use SQL conditions to filter data Create and update a heartbeat table Schema migration mechanisms Schema migration operations Set an incremental synchronization timestamp Direct load Supported DDL operations in incremental migration between MySQL-compatible tenants of OceanBase Database Synchronize DDL operations from a PostgreSQL database to OceanBase Database 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 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 Start and pause a data synchronization task Release and delete a data synchronization task DML filtering DDL synchronization Configure matching rules for synchronization objects Rename a topic Use SQL conditions to filter data Column filtering Data format description Create an OceanBase-CE data source Create a MySQL data source Create a TiDB data source Create a Kafka data source Create a RocketMQ data source Create a PostgreSQL data source Create an HBase data source Create a Qdrant data source Create a Milvus data source Create a Redis data source Create a Hive 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.2.13
iconOceanBase Migration Service
V 4.2.13Community 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.13
  • 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

SubmitPreCheck

Last Updated:2026-04-16 07:09:24  Updated
share
What is on this page
Overview
API details
Constraints
Request path
Request parameters
Response parameters
Examples
Request example
Response example

folded

share

This topic describes the SubmitPreCheck API provided by OceanBase Migration Service (OMS) Community Edition.

Overview

You can call this operation to create a precheck task.

API details

Constraints

This interface applies to OMS Community Edition V4.2.12-CE and later.

Request path

POST /api/v2?Action=SubmitPreCheck

Request parameters

Parameter Type Description
name string The name of the task. It cannot contain spaces.
type string The type of the task. Valid values: MIGRATION and SYNC. MIGRATION indicates a data migration task, and SYNC indicates a data synchronization task.
labelIds array The ID of the tag. The maximum number of tags allowed is 5.
sourceEndpointId string The ID of the source data source. You need to call the ListDataSource interface to obtain the ID. The format is e_****.
sinkEndpointId string The ID of the destination data source. You need to call the ListDataSource interface to obtain the ID. The format is e_****.
transferMapping object The mapping information of the transfer object.
├─ mode string The mapping mode of the transfer object. Valid values: SPECIFIC and WILDCARD. SPECIFIC indicates that the objects are specified. WILDCARD indicates that the objects are matched by using rules.
├─ databases array The list of database objects. For more information, see the data structure described in the "databases/databasesBlack data structure" section.
├─ databasesBlack array The list of database objects in the blocklist. For more information, see the data structure described in the "databases/databasesBlack data structure" section.
├─ tableAndViewWhiteList array The list of tables and views in the wildcard allowlist.
├─ tableAndViewBlackList array The list of tables and views in the wildcard blocklist.
commonTransferConfig object The general transfer configuration.
├─ tableCategory string The supported table type. Valid values: ALL, WITH_UNIQUE_ROW_ID, and WITHOUT_UNIQUE_ROW_ID. Default value: ALL.
├─ activeActive boolean Specifies whether the task is a disaster recovery active-active task.
├─ mqSerializerType string The JSON serialization type when data is delivered to a message queue. Valid values: DEFAULT, CANAL, DATAWORKS_V2, SHAREPLEX, DEFAULT_WITH_SCHEMA, DEBEZIUM, DEBEZIUMFLATTEN, and DEBEZIUMSMT.
├─ mqPartitionMode string The partition routing mode when data is delivered to a message queue. Valid values: ONE, HASH, and TABLE. ONE specifies the partition to which data is delivered. HASH specifies to deliver data to a partition by using the hash value of the primary key or shard key. TABLE specifies to deliver data to a partition by using the hash value of the database or table name.
├─ mqPartition integer The partition to which data is delivered. This parameter is valid only when the value of partitionMode is ONE.
├─ datahubTopicType string The type of the topic when data is delivered to a DataHub message queue. Valid values: TUPLE and BLOB.
├─ rocketMqProducerGroup string The name of the producer group. This parameter is valid only when the destination is a RocketMQ instance. Default value: OMS.
├─ rocketMqMsgTags string The message tag. This parameter is valid only when the destination is a RocketMQ instance. Default value: default->default_tag. That is, if the value of this parameter is default, a _tag suffix is automatically added.
├─ rocketMqEnableMsgTrace boolean Specifies whether to enable message tracing. This parameter is valid only when the destination is a RocketMQ instance.
├─ rocketMqSendMsgTimeout long The message delivery timeout period, in seconds. This parameter is valid only when the destination is a RocketMQ instance.
├─ dataWorksBusinessName string The business system identifier.
enableStructTransfer boolean Specifies whether to enable schema transfer.
structTransferConfig object The schema transfer configuration.
├─ byteCharConvertStrategy string The byte/char conversion strategy. Valid values: IGNORE_BYTE_IF_BYTE_USED, FORCE_CHAR_IF_BYTE_USED, EXPAND_LEN_IF_BYTE_USED, and DO_NOTHING_IF_BYTE_USED (default value).
├─ deferIndexCreation boolean Specifies whether to allow index creation after data migration. Default value: false.
├─ shardsCount integer The number of index shards.
├─ replicasCount integer The number of index replicas.
├─ dateFormat string The date format. For example, yyyy-MM-dd HH:mm:ss.
enableFullTransfer boolean Specifies whether to enable full data transfer.
enableFullVerify boolean Specifies whether to enable full data verification.
fullTransferConfig object The full data transfer configuration.
├─ nonePkUkTruncateDstTable boolean Specifies whether to truncate the destination table when you perform full data migration from a table without a unique index.
├─ allowDestTableNotEmpty string The strategy for handling the destination table when the destination table contains records. Valid values: Ignore and Stop Migration.
  • Set this parameter to true to ignore the destination table data. If the destination table contains data, OMS Community Edition will write data to the destination table by using the ignore or overwrite strategy. Overwrite is supported only when the destination is a MySQL database or OceanBase Database Community Edition.

    Notice

    When you select Ignore, full data verification will pull data by using the IN mode. Therefore, the verification cannot detect data that exists in the destination table but not in the source table. In addition, the verification performance will be degraded.

  • Set this parameter to false to stop the migration. If the destination table contains data, the full data migration will fail. In this case, you must process the destination table data before you continue the migration.

    Notice

    If you click Restore after an error occurs, OMS Community Edition will ignore this configuration option and continue to migrate the table data. Proceed with caution.

├─ fullTransferSpeedMode string The full data migration concurrency speed. Valid values: STEADY, NORMAL, and FAST.
​If the migration task contains a full data migration step, you must specify the FullTransferSpeedMode parameter. You can specify NORMAL.
├─ fullVerifySpeedMode string The speed of full verification, which can be STEADY, NORMAL, or FAST.
If the full verification step is enabled, the FullVerifySpeedMode parameter must be specified. You can specify NORMAL.
enableIncrTransfer boolean Specifies whether to enable incremental synchronization.
enableReverseIncrTransfer boolean Specifies whether to enable reverse incremental synchronization.
incrTransferConfig object The configuration of incremental synchronization.
├─ startTimestamp string The start point of incremental synchronization. This parameter is supported only when incremental synchronization is enabled but full synchronization is not.
├─ recordTypeWhiteList array The types of incremental data to be synchronized during the incremental synchronization phase. Valid values: HEARTBEAT, INSERT, UPDATE, DELETE, BEGIN, COMMIT, ROLLBACK, DDL, and ROW.
├─ storeLogKeptHour integer The time for which logs are retained when incremental synchronization is enabled and the incremental log pull component is Store. Unit: hour. Default value: 7 days. Maximum supported value: 365 days.
├─ enableSequencingWithinTxn boolean Specifies whether to enable sequence generation within a transaction when incremental synchronization is enabled and the incremental log pull component is Store.
├─ incrSyncConcurrency integer The number of threads for incremental synchronization. Default value: 64.
├─ enableIncrSyncStatistics boolean Specifies whether to enable statistics collection for incremental records (DML and DDL).
  • databases/databasesBlack data structure

    Parameter Type Description
    mappedName string The name of the target database.
    name string The name of the source database.
    id string The ID of the database.
    tables array The list of configurations of the table objects to be transmitted in the current database. When mode is set to WILDCARD, this parameter specifies the configuration of the specific blocklist or allowlist, which applies to tables and views.
    ├─ mappedName string The mapped name of the table.
    ├─ name string The name of the table.
    ├─ id string The ID of the table.
    ├─ whereClause string The WHERE clause in a standard SQL statement, which is used to configure row filtering.
    ├─ filterColumns array The collection of filtered columns.
    ├─ shardColumns array The collection of shard columns.
    views array The list of configurations of the view objects to be transmitted in the current database.
    ├─ mappedName string The mapped name of the view.
    ├─ name string The name of the view.
    ├─ id string The ID of the view.
    ├─ whereClause string The WHERE clause in a standard SQL statement, which is used to configure row filtering.
    ├─ filterColumns array The collection of filtered columns.
    ├─ shardColumns array The collection of shard columns.
    specificTables array The list of configurations of the specific table objects. When mode is set to WILDCARD, this parameter specifies the renaming and row filtering configurations of the specific table objects.
    ├─ mappedName string The mapped name of the table.
    ├─ name string The name of the table.
    ├─ id string The ID of the table.
    ├─ whereClause string The WHERE clause in a standard SQL statement, which is used to configure row filtering.
    ├─ filterColumns array The collection of filtered columns.
    ├─ shardColumns array The collection of shard columns.
    specificViews array The list of configurations of the specific view objects. When mode is set to WILDCARD, this parameter specifies the renaming configuration of the specific view objects.
    ├─ mappedName string The mapped name of the view.
    ├─ name string The name of the view.
    ├─ id string The ID of the view.
    ├─ whereClause string The WHERE clause in a standard SQL statement, which is used to configure row filtering.
    ├─ filterColumns array The collection of filtered columns.
    ├─ shardColumns array The collection of shard columns.
    procedures array The list of configurations of stored procedures in the current database.
    ├─ name string The name of the stored procedure.
    ├─ mappedName string The mapped name of the stored procedure.
    functions array The list of configurations of functions in the current database.
    ├─ name string The name of the function.
    ├─ mappedName string The mapped name of the function.

Response parameters

Parameter Type Description
success boolean Indicates whether the call was successful.
errorDetail object The error details.
code string The error code.
message string The description.
advice string The recommendation.
requestId string The request ID.
pageNumber integer[int32] The page number. This parameter takes effect only when you perform a paginated query.
pageSize integer[int32] The page size. This parameter takes effect only when you perform a paginated query.
totalCount integer[int64] The total number of items. This parameter takes effect only when you perform a paginated query.
cost string The request duration, in seconds.
data string The ID of the precheck task.

Examples

Request example

{
    "name":"test",
    "type":"MIGRATION",
    "labelIds":[
        "l_4w****wygjk"
    ],
    "sourceEndpointId":"e_4wg07f****",
    "sinkEndpointId":"e_4wfy2****",
    "transferMapping":{
        "mode":"SPECIFIC",
        "databases":[
            {
                "mappedName":"gez3***",
                "name":"ion1****bmysql",
                "id":null,
                "tables":[
                    {
                        "mappedName":"tion12***20obmysql2",
                        "name":"GRATION129****",
                        "id":null,
                        "whereClause":null,
                        "filterColumns":null,
                        "shardColumns":null,
                    }
                ],
                "views":null,
                "procedures":[
                    {
                        "name": "baxxx_crxxx_user",
                        "mappedName": "baxxx_crxxx_user_rename"
                    }
                ],
                "functions":[
                    {
                        "name": "rand_string",
                        "mappedName": "rand_string_rename"
                    }
                ],
                "specificTables":null,
                "specificViews":null
            }
        ],
        "databasesBlack":null,
        "tableAndViewWhiteList":null,
        "tableAndViewBlackList":null
    },
    "commonTransferConfig":{
        "tableCategory":null,
        "activeActive":false,
        "mqSerializerType":null,
        "mqPartitionMode":null,
        "mqPartition":0,
        "datahubTopicType":null,
        "rocketMqProducerGroup":null,
        "rocketMqMsgTags":null,
        "rocketMqEnableMsgTrace":null,
        "rocketMqSendMsgTimeout":null,
        "dataWorksBusinessName":null
    },
    "enableStructTransfer":true,
    "structTransferConfig":{
        "byteCharConvertStrategy":"DO_NOTHING_IF_BYTE_USED",
        "deferIndexCreation":true,
        "shardsCount": 1,
        "replicasCount": 1,
        "dateFormat": "yyyy-MM-dd HH:mm:ss"
    },
    "enableFullTransfer":true,
    "enableFullVerify":true,
    "fullTransferConfig":{
        "nonePkUkTruncateDstTable":null,
        "allowDestTableNotEmpty":true,
        "fullTransferSpeedMode":"NORMAL",
        "fullVerifySpeedMode":"NORMAL"
    },
    "enableIncrTransfer":true,
    "enableReverseIncrTransfer":true,
    "incrTransferConfig":{
        "startTimestamp":1689201369,
        "recordTypeWhiteList":[
            "DELETE",
            "INSERT",
            "UPDATE"
        ],
        "storeLogKeptHour":120,
        "enableSequencingWithinTxn":true,
        "incrSyncConcurrency":64,
        "enableIncrSyncStatistics":true
    }
}

Response example

{
    "success": true,
    "errorDetail": null,
    "code": null,
    "message": null,
    "advice": null,
    "requestId": "b1854cd****",
    "pageNumber": null,
    "pageSize": null,
    "totalCount": null,
    "cost": "1502 ms",
    "data": "t_7di1uvmxd340"
}

Previous topic

UploadFile
Last

Next topic

GetPreCheckResult
Next
What is on this page
Overview
API details
Constraints
Request path
Request parameters
Response parameters
Examples
Request example
Response example