OceanBase logo

OceanBase

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

Product Overview
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

OceanBase

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

Product Overview
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.11Community Edition

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive DemosTraining & CertificationTicket
    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.11
    iconOceanBase Migration Service
    V 4.2.11Community 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

    DataFlowSource

    Last Updated:2026-04-14 07:36:10  Updated
    Share
    What is on this page
    Starter class
    [Metadata] clients
    [Metadata] dbType
    [Connection information] maxConnNum
    [Connection information] databaseMaxConnection
    [Connection information] connTimeoutSec
    [Connection information] charset
    [Connection parameters] timezone
    [Data sharding] sliceWorkerNum
    [Data sharding] sliceQueueSize
    [Data sharding] batchSize
    [Sharding] sliceBlocks
    [Sharding] sliceBatchSize
    [Error handling] sourceMaxRetryTimes
    [Error handling] retryIntervalTime
    [Error handling] maxSqlRetryTime
    [Error handling] maxSqlNoActiveTime
    [Filtering] filterTmpTable
    [Preprocessing] sourceJdbcTableCache
    [Tables without primary or unique keys] nonePkUkQueryWholeTable
    [Tables without primary or unique keys] nonePkUkTruncateDstTable
    [Data pulling] sourceBatchMemorySize
    [Data pulling] workerNum
    [Data pulling] nonePkUkSupportRowsMax
    [Data pulling] nullReplaceEnable
    [Data pulling] nullReplaceString
    [Data pulling] ncharCharsetMap
    [Data pulling] rtrimOracleChar
    [Data pulling] rtrimDB2Graphic
    [Data pulling] indexHint
    [Data pulling] intervalTypeFmt
    [Data pulling] timestamptzConvert
    [Data pulling] consistencyMigration
    [Data pulling] binlogOffsetDb
    [Data pulling] binlogOffsetTable
    [Data pulling] externalTable

    folded

    Share

    Starter class

    connector-dataflow.jar

    com.oceanbase.oms.connector.source.dataflow.DataFlowSourceBooster

    [Metadata] clients

    • Description: specifies the data source information.

    • Default value: None. This parameter is required.

    • Value range:

      {
        "clientId": "clientId, unique identifier",
        "cluster": "OceanBase cluster",
        "tenant": "OceanBase Database tenant",
        "instance": "ip:port/[schema]", // The schema must exist in the PostgreSQL, DB2 LUW, or Oracle database.
        "tableWhiteLists": { // This parameter takes effect only for logical tables. Physical tables depend on the Conditions parameter. Therefore, this parameter does not take effect for physical tables.
          "db": ["tab", "tab2"]
        },
        "username": "Username",
        "password": "Password",
        "weakRead": "false", // Optional. Default value: false
        "sysInstance": "Instance of the sys tenant,ip:port/[schema]", // Optional. Default value: Null.
        "sysTenantUsername": "Username of the sys tenant", // Optional. Default value: Null.
        "sysTenantPassword": "Password of the sys tenant" // Optional. Default value: Null.
      }
      
    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Metadata] dbType

    • Description: specifies the type of the database to be synchronized.

    • Default value: None. This parameter is required.

    • Value range: The value range of DbTypeEnum.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Connection information] maxConnNum

    • Description: specifies the maximum number of connections.

    • Default value: 32.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Connection information] databaseMaxConnection

    • Description: specifies the maximum number of connections.

    • Default value: 128.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Connection information] connTimeoutSec

    • Description: specifies the timeout period of connections.

    • Default value: 120.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Connection information] charset

    • Description: specifies the character set.

    • Default value: utf8

    • Value range: character set

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Connection parameters] timezone

    • Description: specifies the timezone.

    • Default value: +08:00

    • Value range: timezone

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data sharding] sliceWorkerNum

    • Description: specifies the number of threads for data sharding.

    • Default value: 16.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data sharding] sliceQueueSize

    • Description: specifies the maximum number of data sharding queues.

    • Default value: 128.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data sharding] batchSize

    • Description: specifies the number of records in a data shard for batch writing.

      For example, if the number of records in each data shard (sliceBatchSize) is 2000, the value 200 of batchSize specifies to write 200 records in each batch to the target.

    • Default value: 200.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Sharding] sliceBlocks

    • Description: specifies the number of blocks in each data shard.

    • Default value: 128

    • Value range: int

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Sharding] sliceBatchSize

    • Description: specifies the number of records in each data shard.

    • Default value: 2000

    • Value range: int

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Error handling] sourceMaxRetryTimes

    • Description: specifies the maximum number of retries for data retrieval.

    • Default value: 3

    • Value range: int

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Error handling] retryIntervalTime

    • Description: specifies the interval between retries.

    • Default value: 3

    • Value range: int

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Error handling] maxSqlRetryTime

    • Description: specifies the maximum retry time for data retrieval.

    • Default value: 3600

    • Value range: int

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Error handling] maxSqlNoActiveTime

    • Description: specifies the JDBC timeout period.

    • Default value: 700

    • Value range: int

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Filtering] filterTmpTable

    • Description: specifies whether to filter temporary tables.

    • Default value: true

    • Value range: boolean

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Preprocessing] sourceJdbcTableCache

    • Description: specifies whether to cache the results of preprocessing when the source is a database.

    • Default value: false

    • Value range: true or false

      true: caches the results and uses the tables in the global cache. false: does not cache the results and retrieves the tables based on the source configuration.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Tables without primary or unique keys] nonePkUkQueryWholeTable

    • Description: specifies whether to query the entire table when there are no unique indexes.

    • Default value: true

    • Value range: boolean

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Tables without primary or unique keys] nonePkUkTruncateDstTable

    • Description: specifies whether to truncate the destination table when there are no unique indexes.

    • Default value: true

    • Value range: boolean

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] sourceBatchMemorySize

    • Description: specifies the maximum memory for each data shard, in bytes.

    • Default value: 16777216.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] workerNum

    • Description: specifies the number of worker threads for pulling data.

    • Default value: 16.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] nonePkUkSupportRowsMax

    • Description: specifies the maximum number of records without a primary key.

    • Default value: 5000000.

    • Value type: int.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] nullReplaceEnable

    • Description: specifies the whether to enable character replacement in a scenario where the ORACLE gb18030 field value is chr(129)-chr(254), a NOT NULL constraint is present, and the value read by JDBC is NULL.

    • Default value: false.

    • Valid values: true and false.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] nullReplaceString

    • Description: specifies whether to replace the queried value with the specified string in a scenario where the ORACLE gb18030 field value is chr(129)-chr(254), a NOT NULL constraint is present, and the value read by JDBC is NULL. when nullReplaceEnable is set to true

    • Default value: " "

    • Valid values: Characters and strings.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] ncharCharsetMap

    • Description: specifies the mapping between NLS_NCHAR_CHARACTERSET and the character set in Java. When an Oracle database reads data of the nvarchar2 or nchar type, NLS_NCHAR_CHARACTERSET is required for encoding.

    • Default value: {"AL16UTF16":"UTF16"}.

    • Valid values: JSON strings.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] rtrimOracleChar

    • Description: specifies whether to remove trailing spaces when the data type of the source is char. If the data is all spaces, reserve one space. The maximum length of the char type is 2000. When the character sets of the source and target are inconsistent, the data may exceed the length limit and cannot be written to the target.

    • Default value: false.

    • Valid values: true and false.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] rtrimDB2Graphic

    • Description: specifies whether to remove trailing spaces for data of the graphic type read from a DB2 database.

    • Default value: false.

    • Valid values: true and false.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] indexHint

    • Description: specifies whether to use hints when the source contains index hints.

    • Default value: true.

    • Valid values: true and false.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] intervalTypeFmt

    • Description: specifies whether to adjust the interval type format for Oracle in the following cases:

      • The source is an Oracle database but the target is not an Oracle database or an Oracle-compatible tenant of OceanBase Database.

      • The target is an Oracle database but the source is not an Oracle database or an Oracle-compatible tenant of OceanBase database.

        {"intervalDayDef":1,"intervalToSecondDef":1,"intervalYearDef":1,"intervalToMonthDef":2,"intervalSign":true,"intervalDayFmttime":2}

      • The source is an Oracle-compatible tenant of OceanBase Database but the target is not an Oracle database or an Oracle-compatible tenant of OceanBase Database.

      • The target is an Oracle-compatible tenant of OceanBase Database but the source is not an Oracle database or an Oracle-compatible tenant of OceanBase Database.

        {"intervalDayDef":2,"intervalToSecondDef":6,"intervalYearDef":1,"intervalToMonthDef":2,"intervalSign":true,"intervalDayFmttime":2}

    • Default value: None.

    • Valid values: JSON strings.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] timestamptzConvert

    • Description: specifies whether to convert the city-based time zone to the hour-based time zone when reading data from an Oracle database or an Oracle-compatible tenant of OceanBase Database if the data type is a timestamp with a time zone. Example: Asia/Shanghai -> GMT+08:00

    • Default value: true.

    • Valid values: true and false.

    • Supported version: OMS Community Edition V3.3.1-CE and later.

    [Data pulling] consistencyMigration

    • Description: specifies whether to lock full migration snapshots when incremental synchronization and full migration are performed for tables without a primary key in a MySQL database

    • Default value: false.

    • Valid values: true and false.

    • Supported version: OMS Community Edition V4.1.1-CE and later.

    [Data pulling] binlogOffsetDb

    • Description: specifies the database for storing binlog offsets when incremental synchronization and full migration are performed for tables without a primary key in a MySQL database.

    • Default value: None.

    • Value type: String.

    • Supported version: OMS Community Edition V4.1.1-CE and later.

    [Data pulling] binlogOffsetTable

    • Description: specifies the table for storing binlog offsets when incremental synchronization and full migration are performed for tables without a primary key in a MySQL database.

    • Default value: None.

    • Value type: String.

    • Supported version: OMS Community Edition V4.1.1-CE and later.

    [Data pulling] externalTable

    • Description: specifies whether to enable external tables.

    • Default value: true.

    • Value type: Boolean.

    • Supported version: OMS Community Edition V4.2.11-CE and later.

    Previous topic

    StoreSource
    Last

    Next topic

    LogProxySource
    Next
    What is on this page
    Starter class
    [Metadata] clients
    [Metadata] dbType
    [Connection information] maxConnNum
    [Connection information] databaseMaxConnection
    [Connection information] connTimeoutSec
    [Connection information] charset
    [Connection parameters] timezone
    [Data sharding] sliceWorkerNum
    [Data sharding] sliceQueueSize
    [Data sharding] batchSize
    [Sharding] sliceBlocks
    [Sharding] sliceBatchSize
    [Error handling] sourceMaxRetryTimes
    [Error handling] retryIntervalTime
    [Error handling] maxSqlRetryTime
    [Error handling] maxSqlNoActiveTime
    [Filtering] filterTmpTable
    [Preprocessing] sourceJdbcTableCache
    [Tables without primary or unique keys] nonePkUkQueryWholeTable
    [Tables without primary or unique keys] nonePkUkTruncateDstTable
    [Data pulling] sourceBatchMemorySize
    [Data pulling] workerNum
    [Data pulling] nonePkUkSupportRowsMax
    [Data pulling] nullReplaceEnable
    [Data pulling] nullReplaceString
    [Data pulling] ncharCharsetMap
    [Data pulling] rtrimOracleChar
    [Data pulling] rtrimDB2Graphic
    [Data pulling] indexHint
    [Data pulling] intervalTypeFmt
    [Data pulling] timestamptzConvert
    [Data pulling] consistencyMigration
    [Data pulling] binlogOffsetDb
    [Data pulling] binlogOffsetTable
    [Data pulling] externalTable