OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Migration Service

V4.2.5Enterprise Edition
  • OMS Documentation
  • OMS Introduction
    • What is 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 data 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
    • 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 a MySQL-compatible tenant of OceanBase Database
    • Migrate data from an Oracle-compatible tenant of OceanBase Database to an Oracle database
    • Migrate data from an Oracle database to an Oracle-compatible tenant 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 within OceanBase Database
    • Create an active-active disaster recovery task in OceanBase Database
    • Migrate data from a TiDB database to a MySQL-compatible tenant of OceanBase Database
    • Migrate data from a PostgreSQL database to a MySQL-compatible tenant 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 the parameter configurations of a data migration task
      • 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
        • 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 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 a MySQL-compatible tenant 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
          • Create a relational table
            • Create a relational table
            • Define columns of a relational table
          • Virtual columns
          • Regular columns
          • Create partitions
            • Overview
            • Partitioning
            • Subpartitioning
            • Composite partitioning
            • User-defined partitioning
            • Subpartition templates
          • Constraints
            • Overview
            • Inline constraints
            • Out-of-line constraints
        • CREATE INDEX
          • Overview
          • Normal indexes
        • ALTER TABLE
          • Modify tables
          • 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 subpartitions
            • Add partitions and subpartitions
            • Modify partitions
            • Truncate partitions
        • 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 a MySQL-compatible tenant of OceanBase Database to a DB2 LUW database
      • DDL synchronization between MySQL-compatible tenants of OceanBase Database
      • DDL synchronization between Oracle-compatible tenants of OceanBase Database
  • 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
  • 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
    • Components
      • Store
        • Create a store
        • View details of a store
        • Update the configurations of a store
        • Start and pause a store
        • Delete a store
      • 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
    • 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 parameters
        • Incr-Sync parameters
        • Full-Import Parameters
        • Full-Verification parameters
        • CM parameters
        • Supervisor 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
      • Supported DDL operations for synchronization
      • Rename a migration or synchronization object
      • Use SQL conditions to filter data
      • Set an incremental synchronization timestamp
      • Configure matching rules
      • Wildcard patterns supported for matching rules
      • Hidden column mechanisms
      • Instructions on schema migration
      • Create and update a heartbeat table
      • Change the 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
    • 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
    • OMS error codes
    • SQL statements for querying database objects
    • Create a trigger
    • Change the log level for a PostgreSQL instance
    • Online DDL tools
    • Supplemental logging in Oracle Database
  • 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 destination 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
    • 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

Document Feedback
  1. Documentation Center
  2. OceanBase Migration Service
  3. V4.2.5

Full-Import Parameters

Last Updated:2026-09-04 08:13:48

Coordinator
Condition
(Wildcard/regular) matching capability
attrs capabilities
Parameters of the target MySQL compatible mode of OceanBase Database
Parameters of the target Oracle compatible mode of OceanBase Database
Parameters of the target MySQL and PostgreSQL
Parameters of the target Oracle database
Parameters of the target RocketMQ
Parameters of the target Kafka
Parameters of the target DataHub
Parameters of the source Kafka
Parameters of the source logproxy
DataFlowSource parameters
JDBC-SINK startup parameters
STORE_MULTI_SOURCE parameters

Coordinator

Parameter
Type
Default Value
Description
Applicable Version
taskTwoActive BOOLEAN false Specifies whether the task is a disaster recovery dual-active task. This parameter is valid only for full migration. OMS V3.3.1 and later
taskIdentity STRING 1 The task identifier. OMS V3.3.1 and later
checkDstTableEmpty BOOLEAN true Specifies whether to check whether the destination table is empty. OMS V3.3.1 and later
precheckSinkSchema BOOLEAN true Specifies whether to perform a precheck by querying the destination. If this parameter is set to false, the precheck will not be performed. OMS V3.3.1 and later
selectEmptyTableParallel LONG 16 The number of concurrent threads for querying empty tables in a full (DATAFLOW-SOURCE) precheck. OMS V4.2.0 and later
timezone STRING +08:00 The time zone for ETL processing. OMS V3.3.1 and later
systemDefaultTimezone STRING null The time zone for reading data. The default value is the current time zone. OMS V3.3.1 and later
sourceType STRING null The type of the source. OMS V3.3.1 and later
sinkType STRING null The type of the destination data source. OMS V3.3.1 and later
consistencyMigration BOOLEAN false Specifies whether to use the full and incremental MySQL database migration without a primary key in combination with the full migration snapshot lock. OMS V3.3.1 and later
allowRecordTypes STRING null The message types to be filtered at the task level. The types include ROW, DELETE, UPDATE, INSERT, HEARTBEAT, REPLACE, and DDL. These types are separated with commas (,). OMS V3.3.1 and later
tableFilterCacheSize LONG 512 The LRU cache capacity of CreateTableIfNotExistDDLFilter. OMS V3.3.1 and later
throttleMemoryBound STRING null The memory limit, in bytes. OMS V3.3.1 and later
throttleRecordBound STRING null The maximum number of records in the framework. OMS V3.3.1 and later
throttleIOPS STRING null The traffic limit, in bytes. OMS V3.3.1 and later
throttleRps STRING null The RPS limit. OMS V3.3.1 and later
enablePreprocessConfig BOOLEAN true Specifies whether to allow internal memory-based queue length calculations. OMS V4.0.2 and later
connectorJvmParam STRING null The JVM parameters for starting the connector. OMS V3.3.1 and later
bridgeQueueSize LONG 256 The capacity of the intermediate cache queue. Note that the unit of this capacity is RecordBatch. OMS V3.3.1 and later
shuffleBucketSize LONG 128 The number of buckets for ShuffleRecordDispatcher, which indicates the number of concurrent operations. OMS V3.3.1 and later
batchAllInOneTable BOOLEAN false Specifies whether all messages in a batch are sourced from the same table. The default value is true for full migration. OMS V3.3.1 and later
shuffleFlushIntervalMs LONG There is a recommended value logic The batch accumulation interval, in milliseconds. OMS V3.3.1 and later
shuffleMinBatchSize LONG 20 The minimum batch size for ShuffleRecordDispatcher.
ShuffleRecordDispatcher is a message dispatcher that synchronizes messages to Kafka, RocketMQ, or DataHub. Its main purpose is to improve message concurrency efficiency.
OMS V3.3.1 and later
shuffleDdlToAllRoute BOOLEAN false Specifies whether to synchronize DDL operations to all queues when using shuffleRecordDispatcher. OMS V4.0.1 and later
shuffleMaxBatchSize LONG 64 The maximum batch size for ShuffleRecordDispatcher. OMS V3.3.1 and later
shuffleBucketMaxInFlightBatchSize LONG 2147483647 The maximum number of unacknowledged messages allowed in a bucket for ShuffleRecordDispatcher. OMS V3.3.1 and later
printTraceMsg BOOLEAN N/A Specifies whether to print message logs. Message logs are printed by default for incremental synchronization and are not printed by default for full migration. OMS V3.3.1 and later
loggerLevel STRING INFO The log printing level, which can be DEBUG, INFO, WARN, or ERROR. OMS V3.3.1 and later
destSubId STRING null The subid of the destination, which is a compatible parameter for JDBCWriter. OMS V3.3.1 and later
daemonIp STRING null The IP address of the connector, which is a compatible parameter for JDBCWriter. OMS V3.3.1 and later
destSubTopic STRING null The subtopic of the destination, which is a compatible parameter for JDBCWriter. OMS V3.3.1 and later
checkpointUseTaskName BOOLEAN false Specifies whether to use the light-connector format for checkpoint files. OMS V3.3.1 and later
daemonPort STRING null Port 9000 is used by default. This parameter is a compatible parameter for JDBCWriter. OMS V3.3.1 and later
enableMetricReportTask BOOLEAN true Specifies whether to report checkpoint files. OMS V4.0.0 and later. If enableOmsConnectorV2Report is set, this parameter can be set to false. OMS V3.3.1 and later
listenPort LONG 0 The HTTP listening port. OMS V3.3.1 and later
httpBacklog LONG 16 tcpBackLog, which specifies the length of the TCP connection queue. OMS V3.3.1 and later
taskName STRING null The task name. OMS V3.3.1 and later
caseStrategy STRING FOLLOW-SOURCE The case sensitivity strategy. Valid values: DEFAULT (matches after query), FOLLOW_SOURCE (matches the source), UPPER (converts all characters to uppercase), and LOWER (converts all characters to lowercase). OMS V3.3.1 and later
isCaseSensitive BOOLEAN false Specifies whether the case sensitivity strategy is enabled. OMS V3.3.1 and later
dbTableCaseStrategy STRING FOLLOW-SOURCE The case sensitivity strategy for databases and tables. Valid values: DEFAULT (matches after query), FOLLOW_SOURCE (matches the source), UPPER (converts all characters to uppercase), and LOWER (converts all characters to lowercase). OMS V4.2.2 and later
columnCaseStrategy STRING FOLLOW-SOURCE The case sensitivity strategy for columns. Valid values: DEFAULT (matches after query), FOLLOW_SOURCE (matches the source), UPPER (converts all characters to uppercase), and LOWER (converts all characters to lowercase). OMS V4.2.2 and later
noneedRetryException STRING null The exception that does not require retries during full precheck. OMS V3.3.1 and later
runIgnoreError BOOLEAN false Specifies whether to continue after an error occurs during table synchronization. OMS V3.3.1 and later
maxRecordCapacity LONG 16384 The size of the dispatcher queue. OMS V3.3.1 and later
dispatcherClassName STRING N/A, depends on the sinkType and hotKeyMerge parameters The type of the dispatcher. It is usually selected internally. The default value is MetricDispatcher for full migration and DefaultTransactionScheduler for incremental migration. If the destination is a message queue, the default value is ShuffleRecordDispatcher. Hot spot merging and partitioned writes affect its selection. OMS V3.3.1 and later
enableActiveReportTask BOOLEAN true Specifies whether to report drc.active.xxx files. OMS V4.0.0 and later. If enableOmsConnectorV2Report is set, this parameter can be set to false. OMS V3.3.1 and later
reportIntervalSec LONG 5 The interval between the output of checkpoint, heartbeat, and diagnostic files. OMS V3.3.1 and later
enableDmlDdlTypeStatistics BOOLEAN false Specifies whether to enable statistics for DDL and DML operations. OMS V3.3.1 and later
enableOmsConnectorV2Report BOOLEAN false After component fusion, a new checkpoint format is provided, and the connector file name is changed to oms.connector.checkpoint. To ensure compatibility with previous connectors, the default value is false. This value will be changed to true after most components are upgraded. OMS V4.0.1 and later
reportMetricsIntervalSec LONG 10 The interval between the output of metrics logs. OMS V3.3.1 and later
castConfig STRING null The configuration for serialization. Bytes are written in base64 format, timestamps in seconds and milliseconds, dates and times in the year-month-day-hour-minute-second format, and bits in base64 format. Details: {"bytesType": "BASE64: Converts bytes to a base64 string","timestampType": "SEC_NANO: The maximum 9-digit timestamp in seconds, represented as a string; SEC: The second-level timestamp, represented as a long; MILLI: The millisecond-level timestamp, represented as a long; MILLI_STR: The millisecond-level timestamp, represented as a string;DATETIME_NORMAL: The normal year-month-day-hour-minute-second","dateTimeType": "ISO: The year-month-day-hour-minute-second with a T between the year-month-day and the hour-minute-second; NORMAL: The normal year-month-day-hour-minute-second; TIMESTAMP_MILL: The millisecond-level timestamp, a long","bitType": "NUMBER: Converts bits to a long and writes them down;BASE64: Converts bits to a base64 string and writes them down","appendZoneId": "Whether to add the zone ID. The default value is true"} OMS V3.3.1 and later

Condition

The format of the Condition module is as follows:

{
  "briefWhiteCondition": [], // Simplified allowlist configuration. If present, the filtering rules of the store are built from this parameter.
  "whiteCondition": [], // Allowlist configuration
  "blackCondition": [] // Blocklist configuration
}

For example, when synchronizing data from source_db.source_table to sink_db.sink_table, the format of the Condition module is as follows.

{
  "whiteCondition": [
    {
      "name": "source_db",
      "map": "sink_db",
      "all": false,
      "subs": [
        {
          "name": "source_table",
          "map": "sink_table"
        }
      ]
    }
  ],
  "blackCondition": [

  ]
}

The Condition module is a multi-level nested configuration. The first level is the database, the second level is the table, and the third level is the column.

Parameter
Description
name The name of the source object at the current level. For example, the name of the database at the first level, and the name of the table at the second level.
map The name of the object to be written to the target. If the target is a database, the meaning is the same as the source. If the target is a message queue, such as Kafka or RocketMQ, which typically only have topic namespaces, the table-level map is the name of the table. If the target is a DataHub that has project or topic mapping at two levels, it is mapped to the database and table. Note that the columns map represents the column name renaming mechanism.
all Specifies whether to synchronize objects at the lower level. For example, if all is set to true at the database level, it indicates that all tables in the database need to be synchronized. Otherwise, only the tables defined by subs need to be synchronized.

The above parameters can meet the needs of ordinary migration scenarios. However, OMS also supports wildcard and regular expression matching capabilities and the attrs capability on this basis.

(Wildcard/regular) matching capability

{
  "whiteCondition": [
    {
      "name": "source_*",
      "map": "sink_db",
      "func": "fn",
      "all": false,
      "subs": [
        {
          "name": "source_*",
          "map": "sink_table",
          "func": "fn"
        }
      ]
    }
  ],
  "blackCondition": [
    {
      "name": "source_db_[0-10]",
      "map": "sink_db",
      "func": "reg",
      "all": false,
      "subs": [
        {
          "name": "source_table_[0-10]",
          "map": "sink_table",
          "func": "reg"
        }
      ]
    }
  ]
}

The func parameter specifies the matching function. The default value is string equals. The reg parameter specifies the regex match, and the fn parameter specifies the fnmatch.

The preceding example indicates that all tables that start with source in all databases need to be synchronized to sink_db.sink_table. However, the source_table_0...source_table_10 tables in the source_db_0...source_db_10 databases need to be excluded.

attrs capabilities

  • Filter DML

    {
    "whiteCondition": [
        {
        "name": "source_db",
        "map": "sink_db",
        "all": false,
        "attr": {
            "dml": "i,u,d"
        },
        "subs": [
            {
            "name": "source_table",
            "map": "sink_table"
            }
        ]
        }
    ],
    "blackCondition": []
    }
    

    dml:i,u,d in attr indicates that the task only synchronizes change messages of the INSERT, DELETE, and UPDATE types. Note that full messages do not belong to the INSERT type.

    The attributes of attr are inherited by default. For example, if the attr parameter does not exist at the table level, it will attempt to obtain the attr parameter at the parent level.

  • Filter DDL

    {
    "whiteCondition": [
        {
        "name": "source_db",
        "map": "sink_db",
        "all": false,
        "subs": [
            {
            "name": "source_table",
            "map": "sink_table",
            "attr": {
                "ddl": "ct,dt"
            }
            }
        ]
        }
    ],
    "blackCondition": []
    }
    

    ddl: ct,dt in attr indicates that only CREATE TABLE and DROP TABLE DDL statements are accepted.

  • Data conversion by using SQL syntax

    {
    "whiteCondition": [
        {
        "name": "source_db",
        "map": "sink_db",
        "all": false,
        "subs": [
            {
            "name": "source_table",
            "map": "sink_table",
            "attr": {
                "op": "select substr(c1, 1, 2) as c3 from record where c2 = x"
            }
            }
        ]
        }
    ],
    "blackCondition": []
    }
    

    op in attr specifies the column calculation and column filtering capabilities for records. For example, the statement select substr(c1, 1, 2) as c3 from record where c2 = x in the preceding example indicates that the following operations need to be performed on the source_db.source_table table:

    1. Filter out data where c2 = x.

    2. Extract the first two characters from the c1 column, rename the extracted data to c3, and pass it down. Note that the c1 column still exists.

  • Some attr parameters in the message queue scenario

    {
    "whiteCondition": [
        {
        "name": "source_db",
        "all": false,
        "subs": [
            {
            "name": "source_table",
            "map": "topic_1",
            "attr": {
                "shard_fields": "c1,c2",
                "ddl_map": "topic_2"
            }
            }
        ]
        }
    ],
    "blackCondition": []
    }
    
    • shard_fields specifies to use the c1 and c2 columns as the sharding columns of the source_table table. This is mainly used to determine which partition, shard, or queue the data is to be delivered to.

    • ddl_map specifies that when the source_table table undergoes DDL changes, the change messages need to be delivered to topic_2.

Parameters of the target MySQL compatible mode of OceanBase Database

Parameter
Type
Default value
Description
Supported versions
enablePartitionBucket BOOLEAN false Specifies whether to enable partition write. OMS V3.3.1 and later
sysInstance STRING null The database service connection information of the OceanBase Database system tenant. OMS V3.3.1 and later
maxRetryTimes LONG 1000 The maximum number of retries for a failed write to the destination. OMS V3.3.1 and later
useSSL BOOLEAN false Specifies whether to use SSL. OMS V3.3.1 and later
retryIntervalTime LONG 1000 The interval between retries, in milliseconds. OMS V3.3.1 and later
transactionTableReserveDays LONG 7 The number of days for which transaction tables are retained. OMS V3.3.1 and later
shardFuncClassName STRING com.oceanbase.oms.connector.jdbc.sink.JdbcSinkRouteComputeFunc The class name of the partitioning function that needs to be used in combination with ShuffleDispatcher. This parameter is not required by default. OMS V3.3.1 and later
workerNum LONG 16 The number of write threads. OMS V3.3.1 and later
ignoreRedunantColumnsReplicate BOOLEAN false Specifies whether to allow writing data when the source has more columns than the destination. If this parameter is set to true, the extra columns in the source are ignored. If this parameter is set to false, an error is returned when the source has more columns than the destination. OMS V3.3.1 and later
correctMode LIST null The compatible format for data write to the destination. This parameter is implemented only in OBORACLE. The following enumeration values are separated by commas (,).
  • USE_DATE_LIMIT_VALUE: For a datetime field, if the value exceeds the maximum value supported by the destination, the value is written to the destination based on the maximum value. For example, the maximum value supported by OBORACLE is 23:59:59 on December 31, 9999. If the value exceeds this, the value is written to the destination as 23:59:59 on December 31, 9999.
  • USE_SPACE_REPLACE_EMPTY_STRING: An empty string is replaced with a space. This mainly solves the problem where the destination has a NOT_NULLABLE constraint, but the source passes an empty string.
OMS V4.2.2 and later
delayThresholdToCompareAllColumns LONG 10 When isCompareAllColumns is set to true, the latency of incremental data is reduced to how many seconds or less to switch to primary key matching. OMS V3.3.1 and later
jdbcUrl STRING null The connection string of the destination. OMS V3.3.1 and later
timezone STRING +08:00 The time zone. OMS V3.3.1 and later
useTxId BOOLEAN false Specifies whether to use a transaction ID. OMS V3.3.1 and later
canGeometryBatched BOOLEAN The recommended value logic is implemented, and this parameter depends on the sinkType parameter. Specifies whether to support batch writes in the GEOMETRY format. OMS V3.3.1 and later
binlogOffsetDb STRING null The database for storing binlogOffset. This parameter is used in full and incremental migration without a primary key for MySQL. OMS V3.3.1 and later
binlogOffsetTable STRING binlog_offset The table for storing binlogOffset. This parameter is used in full and incremental migration without a primary key for MySQL. OMS V3.3.1 and later
isCompareAllColumns BOOLEAN false Specifies whether to enable full-column matching scenarios, that is, whether to add all columns to the WHERE condition for incremental UPDATE and DELETE operations. OMS V3.3.1 and later
password STRING null The JDBC password. OMS V3.3.1 and later
sysPassword STRING null The password of the OceanBase Database system tenant. OMS V3.3.1 and later
disableForeignKeyCheck BOOLEAN true Specifies whether to disable foreign key checks. OMS V3.3.1 and later
enableTransactionWriter BOOLEAN true Specifies whether to enable transaction write. OMS V3.3.1 and later
isUkDependSource BOOLEAN false For incremental logs from Oracle and PostgreSQL sources, the logs may be incomplete. In the case of a missing primary key, all columns in the source can be selected based on the target's indexes. This value is automatically calculated internally. OMS V3.3.1 and later
clientQueryPartitionWithInnerTable BOOLEAN true Specifies whether to query partition metadata by using an internal table. OMS V4.2.1 and later
txnDb STRING * The database where the table for the transaction table scheme is located. This table is used to prevent cyclic replication. OMS V3.3.1 and later
dependTargetSchema BOOLEAN true Specifies whether to write data to the destination based on the destination's schema. The default value is true. If this parameter is set to false, data is not written to the destination. In some cases where the destination is OceanBase Database, this parameter must be disabled. OMS V3.3.1 and later
enableNoUniqueConstraintTableReplicate BOOLEAN false Specifies whether to allow the replication of tables without a primary key. This parameter only affects the forward and reverse links for MySQL->pbMySQL/PG->OBOracle. null
sysUsername STRING null The username of the OceanBase Database system tenant. OMS V3.3.1 and later
sinkType STRING null The type of the destination data source. OMS V3.3.1 and later
localRegionNo STRING null The written regionNo. OMS V3.3.1 and later
dryRun BOOLEAN false Specifies whether to perform a dry run without executing SQL statements. OMS V3.3.1 and later
username STRING null The JDBC username. OMS V3.3.1 and later
filterHiddenPK BOOLEAN false This parameter is effective only when enableNoUniqueConstraintTableReplicate is set to true and the source and destination meet certain conditions. The purpose of this parameter is to ignore the hidden primary key in OceanBase Database tables without a primary key. When data is written to the destination, hidden columns will be filtered out. OMS V3.3.1 and later
sqlMode STRING null The SQL mode. OMS V3.3.1 and later
charset STRING The recommended value logic is implemented, and this parameter depends on the jdbcUrl, username, password, and sinkType parameters. The connection encoding. OMS V3.3.1 and later
writeMode STRING batch The write mode of the destination. The write mode can be batch write or non-batch write. OMS V3.3.1 and later
isPreLoadAllTableSchema BOOLEAN false When dependTargetSchema is set to true, specifies whether to pre-load all table schemas of the destination to memory for query. OMS V4.2.2 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.jdbc.sink.obmysql.OBMySQLJDBCSinkBooster. OMS V3.3.1 and later
isMysqlReplaceMode BOOLEAN false Specifies whether to write data in replace mode for MySQL or the MySQL compatible mode of OceanBase Database. OMS V3.3.1 and later
canLobBatched BOOLEAN The recommended value logic is implemented, and this parameter depends on the sinkType parameter. Specifies whether the write destination supports batch writes for LOB. LOB batch writes are not supported for Oracle and OBOracle because LOB null values must be written using the empty_clob or empty_blob function. OMS V3.3.1 and later
slowSqlThreshold LONG 15 The threshold for slow SQL, which controls the printing of executed SQL statements. OMS V3.3.1 and later
printSql BOOLEAN false Specifies whether to print executed SQL statements. OMS V3.3.1 and later
tenant STRING null The tenant. OMS V3.3.1 and later
obFreeMemoryMin LONG 20 This value must be greater than or equal to 0. If this value is set, the system checks the free memory of the destination database when writing data. If the free memory of the OceanBase database is less than this value, writing is paused until the next check, which finds that this value is met. OMS V3.3.1 and later
highWatermarkQueryIntervalSec LONG 1 If obFreeCpuMin > 0 or obFreeMemoryMin > 0, the system queries the free CPU or memory of the OceanBase database every highWatermarkQueryIntervalSec seconds and stores the query result locally. OMS V3.3.1 and later
obFreeCpuMin LONG 0 This value must be greater than 0. If this value is set, the system checks the free CPU of the destination database when writing data. If the free CPU of the OceanBase database is less than this value, writing is paused until the next check, which finds that this value is met. Note that CPU collection may be inaccurate, so we recommend that you do not set this value. OMS V3.3.1 and later
retryErrorMessage STRING null The error message that needs to be retried. OMS V3.3.1 and later
skipErrorMessage STRING null The error message that needs to be skipped. OMS V3.3.1 and later
skipErrorCode STRING null The error code that needs to be skipped. OMS V3.3.1 and later
retryErrorCode STRING null The error code that needs to be retried. OMS V3.3.1 and later

Parameters of the target Oracle compatible mode of OceanBase Database

Parameter
Type
Default value
Description
Supported versions
enablePartitionBucket BOOLEAN false Specifies whether to enable partition write. OMS V3.3.1 and later
sysInstance STRING null The database service connection information of the OceanBase Database system tenant. OMS V3.3.1 and later
obSupportNlsSet BOOLEAN true Specifies whether to reset the NLS format. This parameter applies only when the destination is in the Oracle compatible mode of OceanBase Database. OMS V3.3.1 and later
maxRetryTimes LONG 1000 The maximum number of retries for a failed write to the destination. OMS V3.3.1 and later
useSSL BOOLEAN false Specifies whether to use SSL. OMS V3.3.1 and later
retryIntervalTime LONG 1000 The interval between retries, in milliseconds. OMS V3.3.1 and later
transactionTableReserveDays LONG 7 The number of days for which transaction tables are retained. OMS V3.3.1 and later
shardFuncClassName STRING com.oceanbase.oms.connector.jdbc.sink.JdbcSinkRouteComputeFunc The partitioning function class name. This parameter is required only when ShuffleDispatcher is used. OMS V3.3.1 and later
workerNum LONG 16 The number of write threads. OMS V3.3.1 and later
ignoreRedunantColumnsReplicate BOOLEAN false Specifies whether to allow writing data when the source has more columns than the destination. If this parameter is set to true, the extra columns in the source are ignored. If this parameter is set to false, an error is reported when the source has more columns than the destination. OMS V3.3.1 and later
correctMode LIST null The compatibility format for incompatible data writing to the destination. This parameter is supported only in OceanBase Database in the Oracle compatible mode. The following values are supported and separated by commas (,).
  • USE_DATE_LIMIT_VALUE: For a datetime type, if the value exceeds the maximum allowed value in the destination, the value is written to the destination. For example, if the maximum value in the destination is 9999-12-31 23:59:59, this value is written to the destination.
  • USE_SPACE_REPLACE_EMPTY_STRING: Empty strings are replaced with spaces. This mainly addresses the scenario where the destination has a NOT NULLABLE constraint, but the source sends empty strings.
OMS V4.2.2 and later
delayThresholdToCompareAllColumns LONG 10 The maximum latency in seconds for incremental data to switch to primary key matching when isCompareAllColumns is true. OMS V3.3.1 and later
jdbcUrl STRING null The connection string of the destination. OMS V3.3.1 and later
timezone STRING +08:00 The time zone. OMS V3.3.1 and later
useTxId BOOLEAN false Specifies whether to use transaction IDs. OMS V3.3.1 and later
canGeometryBatched BOOLEAN The value is recommended based on logic and depends on the sinkType parameter. Specifies whether to support batch writes for the GEOMETRY format. OMS V3.3.1 and later
binlogOffsetDb STRING null The database for storing binlogOffset. This parameter is used for full and incremental migration without primary keys in MySQL. OMS V3.3.1 and later
binlogOffsetTable STRING binlog_offset The table for storing binlogOffset. This parameter is used for full and incremental migration without primary keys in MySQL. OMS V3.3.1 and later
isCompareAllColumns BOOLEAN false Specifies whether to enable full-column matching scenarios, that is, whether to add all columns to the WHERE condition for incremental UPDATE and DELETE operations. OMS V3.3.1 and later
password STRING null The JDBC password. OMS V3.3.1 and later
sysPassword STRING null The password of the OceanBase Database system tenant. OMS V3.3.1 and later
disableForeignKeyCheck BOOLEAN true Specifies whether to disable foreign key checks. OMS V3.3.1 and later
enableTransactionWriter BOOLEAN true Specifies whether to enable transaction writes. OMS V3.3.1 and later
isUkDependSource BOOLEAN false For incremental logs from Oracle and PostgreSQL sources, which may be incomplete, if the primary key is missing, all columns that can be selected from the source using the destination's indexes are used. This value is automatically calculated internally. OMS V3.3.1 and later
clientQueryPartitionWithInnerTable BOOLEAN true Specifies whether to query partition metadata using an internal table. OMS V4.2.1 and later
txnDb STRING * The database that contains the table used for the transaction table solution to prevent circular replication. OMS V3.3.1 and later
dependTargetSchema BOOLEAN true Specifies whether to write data to the destination based on the destination's schema. The default value is true. If this parameter is set to false, the system does not query the destination. In some cases where the destination is OceanBase Database, this parameter may need to be disabled. OMS V3.3.1 and later
enableNoUniqueConstraintTableReplicate BOOLEAN false Specifies whether to allow the synchronization of tables without primary keys. This parameter only affects the forward and reverse links between MySQL and pbMySQL, or between PostgreSQL and OceanBase Database in the Oracle compatible mode. OMS V4.2.2 and later
sysUsername STRING null The username of the OceanBase Database system tenant. OMS V3.3.1 and later
sinkType STRING null The type of the destination data source. OMS V3.3.1 and later
localRegionNo STRING null The written regionNo. OMS V3.3.1 and later
dryRun BOOLEAN false Specifies whether to perform a dry run without executing SQL statements. OMS V3.3.1 and later
username STRING null The JDBC username. OMS V3.3.1 and later
filterHiddenPK BOOLEAN false This parameter takes effect only if enableNoUniqueConstraintTableReplicate is set to true and the source and destination meet certain conditions. The purpose of this parameter is to ignore the hidden primary key of tables without primary keys in OceanBase Database, and the hidden column will be filtered out when writing data to the destination. OMS V3.3.1 and later
sqlMode STRING null The SQL mode. OMS V3.3.1 and later
charset STRING The value is recommended based on logic and depends on the jdbcUrl, username, password, and sinkType parameters. The connection encoding. OMS V3.3.1 and later
writeMode STRING batch The write mode of the destination, which can be batch write or non-batch write. OMS V3.3.1 and later
isPreLoadAllTableSchema BOOLEAN false When dependTargetSchema is set to true, specifies whether to load all table schemas of the destination to memory for queries. OMS V4.2.2 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.jdbc.sink.oboracle.OBOracleJDBCSinkBooster. OMS V3.3.1 and later
canLobBatched BOOLEAN The value is recommended based on logic and depends on the sinkType parameter. Specifies whether to support batch writes for LOB. LOB cannot be batch written for Oracle or OceanBase Database in the Oracle compatible mode because LOB null values must be written using the empty_clob or empty_blob function. OMS V3.3.1 and later
slowSqlThreshold LONG 15 The threshold for slow SQL, which controls the printing of executed SQL statements. OMS V3.3.1 and later
printSql BOOLEAN false Specifies whether to print executed SQL statements. OMS V3.3.1 and later
tenant STRING null The tenant. OMS V3.3.1 and later
obFreeMemoryMin LONG 20 If this value is greater than or equal to 0, the system will check the amount of free memory in OceanBase Database at the destination where data is written. If the amount of free memory in OceanBase Database is less than this value, the write will be paused until the next check, at which point the value is met. OMS V3.3.1 and later
highWatermarkQueryIntervalSec LONG 1 If obFreeCpuMin > 0 or obFreeMemoryMin > 0, the system will query OceanBase Database for the amount of free CPU or memory to the local device every specified interval in seconds. OMS V3.3.1 and later
obFreeCpuMin LONG 0 If this value is greater than 0, the system will check the amount of free CPU in OceanBase Database at the destination where data is written. If the amount of free CPU in OceanBase Database is less than this value, the write will be paused until the next check, at which point the value is met. Note that CPU collection may not be accurate, so we recommend that you do not set this value. OMS V3.3.1 and later
retryErrorMessage STRING null The error message that needs to be retried. OMS V3.3.1 and later
skipErrorMessage STRING null The error message that needs to be skipped. OMS V3.3.1 and later
skipErrorCode STRING null The error code that needs to be skipped. OMS V3.3.1 and later
retryErrorCode STRING null The error code that needs to be retried. OMS V3.3.1 and later

Parameters of the target MySQL and PostgreSQL

Parameter
Type
Default value
Description
Supported versions
enablePartitionBucket BOOLEAN false Specifies whether to enable partition writing. OMS V3.3.1 and later
sysInstance STRING null The connection information of the OceanBase Database system tenant. OMS V3.3.1 and later
maxRetryTimes LONG 1000 The maximum number of retries for failed writes. OMS V3.3.1 and later
useSSL BOOLEAN false Specifies whether to use SSL. OMS V3.3.1 and later
retryIntervalTime LONG 1000 The retry interval, in milliseconds. OMS V3.3.1 and later
transactionTableReserveDays LONG 7 The number of days for which transaction tables are retained. OMS V3.3.1 and later
shardFuncClassName STRING com.oceanbase.oms.connector.jdbc.sink.JdbcSinkRouteComputeFunc The class name of the partitioning function to be used with ShuffleDispatcher. This parameter is not required by default. OMS V3.3.1 and later
workerNum LONG 16 The number of write threads. OMS V3.3.1 and later
ignoreRedunantColumnsReplicate BOOLEAN false Specifies whether to allow writing data when the source has more columns than the target. If set to true, extra columns in the source are ignored. If set to false, an error is returned when the source has more columns than the target. OMS V3.3.1 and later
correctMode LIST null The compatibility mode for writing incompatible data to the target. This mode is implemented only for OBORACLE. The following values are supported, separated by commas (,).
  • USE_DATE_LIMIT_VALUE: For time types, if the value exceeds the maximum limit of the target, the limit value is used for writing. For example, the maximum value for OBORACLE is 9999-12-31 23:59:59. If the source value exceeds this limit, it is written to the target as 9999-12-31 23:59:59.
  • USE_SPACE_REPLACE_EMPTY_STRING: Spaces are used to replace empty strings. This mainly addresses scenarios where the target has a NOT_NULLABLE constraint, but the source sends empty strings.
OMS V4.2.2 and later
delayThresholdToCompareAllColumns LONG 10 When isCompareAllColumns is true, the threshold for the latency of incremental data to switch to primary key matching. OMS V3.3.1 and later
jdbcUrl STRING null The connection string of the target. OMS V3.3.1 and later
timezone STRING +08:00 The time zone. OMS V3.3.1 and later
useTxId BOOLEAN false Specifies whether to use transaction IDs. OMS V3.3.1 and later
canGeometryBatched BOOLEAN A recommended value logic that depends on the sinkType configuration item. Specifies whether to support batch writing of geometry data. OMS V3.3.1 and later
binlogOffsetDb STRING null The database for storing binlogOffset, which is used for full and incremental migration without primary keys for MySQL. OMS V3.3.1 and later
binlogOffsetTable STRING binlog_offset The table for storing binlogOffset, which is used for full and incremental migration without primary keys for MySQL. OMS V3.3.1 and later
isCompareAllColumns BOOLEAN false Specifies whether to enable full-column matching scenarios, i.e., whether to include all columns in the WHERE condition for incremental UPDATE and DELETE operations. OMS V3.3.1 and later
password STRING null The JDBC password. OMS V3.3.1 and later
sysPassword STRING null The password of the OceanBase Database system tenant. OMS V3.3.1 and later
disableForeignKeyCheck BOOLEAN true Specifies whether to disable foreign key checks. OMS V3.3.1 and later
enableTransactionWriter BOOLEAN true Specifies whether to enable transaction writing. OMS V3.3.1 and later
isUkDependSource BOOLEAN false For incremental logs from Oracle and PostgreSQL, which may be incomplete, if the primary key is missing, all columns that can be selected from the source using the target's indexes are used. This value is automatically calculated internally. OMS V3.3.1 and later
clientQueryPartitionWithInnerTable BOOLEAN true Specifies whether to query partition metadata using an internal table. OMS V4.2.1 and later
txnDb STRING * The database where the transaction table is stored, which is used for loop prevention. OMS V3.3.1 and later
dependTargetSchema BOOLEAN true Specifies whether to write to the target based on the target's schema. The default value is true. If set to false, no query is performed on the target. In some cases where the target is an OceanBase Database, this parameter may need to be disabled. OMS V3.3.1 and later
enableNoUniqueConstraintTableReplicate BOOLEAN false Specifies whether to allow the synchronization of tables without primary keys. This parameter only affects the forward and reverse links for MySQL to pbMySQL and PostgreSQL to OBOracle. OMS V4.2.2 and later
sysUsername STRING null The username of the OceanBase Database system tenant. OMS V3.3.1 and later
sinkType STRING null The type of the target. OMS V3.3.1 and later
localRegionNo STRING null The written regionNo. OMS V3.3.1 and later
dryRun BOOLEAN false Specifies whether to perform a dry run without executing SQL statements. OMS V3.3.1 and later
username STRING null The JDBC username. OMS V3.3.1 and later
filterHiddenPK BOOLEAN false This parameter is only effective if enableNoUniqueConstraintTableReplicate is true and the source and target meet certain conditions. Its purpose is to ignore the hidden primary key in OceanBase Database's tables without primary keys, ensuring that hidden columns are filtered out when writing to the target. OMS V3.3.1 and later
sqlMode STRING null The SQL mode. OMS V3.3.1 and later
charset STRING A recommended value logic that depends on the jdbcUrl, username, password, and sinkType configuration items. The connection encoding. OMS V3.3.1 and later
writeMode STRING batch The write mode of the target, which can be batch writing or non-batch writing. OMS V3.3.1 and later
isPreLoadAllTableSchema BOOLEAN false When dependTargetSchema is true, specifies whether to pre-load all table schemas from the target to memory for queries. OMS V4.2.2 and later
boosterClass STRING null The startup class. For MySQL databases, the startup class is com.oceanbase.oms.connector.jdbc.sink.mysql.MySQLJDBCSinkBooster. For PostgreSQL databases, the startup class is com.oceanbase.oms.connector.jdbc.sink.pg.PgJDBCSinkBooster. OMS V3.3.1 and later
isMysqlReplaceMode BOOLEAN false Specifies whether to use the replace mode for writing data to MySQL or OceanBase Database in MySQL-compatible mode. OMS V3.3.1 and later
canLobBatched BOOLEAN A recommended value logic that depends on the sinkType configuration item. Specifies whether the write endpoint supports batch writing of LOBs. Currently, LOB batch writing is not supported for Oracle and OBOracle, as LOB null values must be written using the empty_clob or empty_blob function. OMS V3.3.1 and later
slowSqlThreshold LONG 15 The threshold for slow SQL, which controls the printing of executed SQL statements. OMS V3.3.1 and later
printSql BOOLEAN false Specifies whether to print executed SQL statements. OMS V3.3.1 and later
tenant STRING null The tenant. OMS V3.3.1 and later
obFreeMemoryMin LONG 20 This value must be greater than or equal to 0. If so, the system checks the free memory of the target database when writing data to the target. If the free memory of the OceanBase database is less than this value, writing will be paused until the next check, which finds that this value is met. OMS V3.3.1 and later
highWatermarkQueryIntervalSec LONG 1 If obFreeCpuMin > 0 or obFreeMemoryMin > 0, the system queries the free CPU or memory of the OceanBase database every highWatermarkQueryIntervalSec seconds (in seconds) and stores the results locally. OMS V3.3.1 and later
obFreeCpuMin LONG 0 This value must be greater than 0. If so, the system checks the free CPU of the target database when writing data to the target. If the free CPU of the OceanBase database is less than this value, writing will be paused until the next check, which finds that this value is met. Note that CPU collection may be inaccurate, so we recommend that you do not set this value specifically. OMS V3.3.1 and later
retryErrorMessage STRING null The error message that needs to be retried. OMS V3.3.1 and later
skipErrorMessage STRING null The error message that needs to be skipped. OMS V3.3.1 and later
skipErrorCode STRING null The error code that needs to be skipped. OMS V3.3.1 and later
retryErrorCode STRING null The error code that needs to be retried. OMS V3.3.1 and later

Parameters of the target Oracle database

Parameter
Type
Default value
Description
Applicable versions
enablePartitionBucket BOOLEAN false Specifies whether to enable partition write capability. OMS V3.3.1 and later
sysInstance STRING null The database service connection information for the OceanBase tenant. OMS V3.3.1 and later
maxRetryTimes LONG 1000 The maximum number of retries for a failed write. OMS V3.3.1 and later
useSSL BOOLEAN false Specifies whether to use SSL. OMS V3.3.1 and later
retryIntervalTime LONG 1000 The interval between retries, in milliseconds. OMS V3.3.1 and later
transactionTableReserveDays LONG 7 The number of days for which transaction tables are retained. OMS V3.3.1 and later
shardFuncClassName STRING com.oceanbase.oms.connector.jdbc.sink.JdbcSinkRouteComputeFunc The class name of the partitioning function to be used with ShuffleDispatcher. By default, this parameter is not required. OMS V3.3.1 and later
workerNum LONG 16 The number of write threads. OMS V3.3.1 and later
ignoreRedunantColumnsReplicate BOOLEAN false Specifies whether to allow writing data when the source has more columns than the target. If set to true, the extra columns from the source are ignored. If set to false, an error is returned if the source has more columns than the target. OMS V3.3.1 and later
correctMode LIST null The compatibility mode for writing incompatible data to the target. Currently, only OBORACLE is supported. The following enumeration values are separated by commas (,).
  • USE_DATE_LIMIT_VALUE: For time types, if the value exceeds the limit of the target, the limit value is used for writing. For example, the maximum value of OBORACLE is 9999-12-31 23:59:59. If the source value exceeds this, 9999-12-31 23:59:59 is written to the target.
  • USE_SPACE_REPLACE_EMPTY_STRING: Spaces are used to replace empty strings. This mainly addresses the scenario where the target has a NOT_NULLABLE constraint, but the source sends an empty string.
OMS V4.2.2 and later
delayThresholdToCompareAllColumns LONG 10 The maximum delay in seconds for incremental data to switch from full-column matching to primary key matching when isCompareAllColumns is true. OMS V3.3.1 and later
jdbcUrl STRING null The connection string for the target. OMS V3.3.1 and later
timezone STRING +08:00 The time zone. OMS V3.3.1 and later
useTxId BOOLEAN false Specifies whether to use a transaction ID. OMS V3.3.1 and later
canGeometryBatched BOOLEAN The recommended value logic depends on the sinkType configuration. Specifies whether to support batch writes for the GEOMETRY format. OMS V3.3.1 and later
binlogOffsetDb STRING null The database for storing binlogOffset, which is used for full and incremental MySQL to MySQL without a primary key. OMS V3.3.1 and later
binlogOffsetTable STRING binlog_offset The table for storing binlogOffset, which is used for full and incremental MySQL to MySQL without a primary key. OMS V3.3.1 and later
isCompareAllColumns BOOLEAN false Specifies whether to enable full-column matching scenarios, i.e., whether to include all columns in the WHERE condition for incremental UPDATE and DELETE operations. OMS V3.3.1 and later
password STRING null The JDBC password. OMS V3.3.1 and later
sysPassword STRING null The password of the OceanBase tenant. OMS V3.3.1 and later
disableForeignKeyCheck BOOLEAN true Specifies whether to disable foreign key checks. OMS V3.3.1 and later
enableTransactionWriter BOOLEAN true Specifies whether to enable transaction write capability. OMS V3.3.1 and later
isUkDependSource BOOLEAN false For incremental logs from Oracle and PostgreSQL sources, which may be incomplete, if the primary key is missing, all columns from the source are selected using the target's indexes. This value is internally calculated. OMS V3.3.1 and later
clientQueryPartitionWithInnerTable BOOLEAN true Specifies whether to query partition metadata using an internal table. OMS V4.2.1 and later
txnDb STRING * The database where the table for the transaction table solution is located, which is used for loop prevention. OMS V3.3.1 and later
dependTargetSchema BOOLEAN true Specifies whether to write data to the target based on the target's schema. By default, this parameter is true. If set to false, the system does not query the target. In some cases where the target is an OceanBase tenant, this parameter may need to be disabled. OMS V3.3.1 and later
enableNoUniqueConstraintTableReplicate BOOLEAN false Specifies whether to allow the synchronization of tables without unique constraints. This parameter only affects the forward and reverse links for MySQL to pbMySQL/PG to OBOracle. OMS V4.2.2 and later
sysUsername STRING null The username of the OceanBase tenant. OMS V3.3.1 and later
sinkType STRING null The type of the target. OMS V3.3.1 and later
localRegionNo STRING null The written regionNo. OMS V3.3.1 and later
dryRun BOOLEAN false Specifies whether to perform a dry run without executing SQL statements. OMS V3.3.1 and later
username STRING null The JDBC username. OMS V3.3.1 and later
filterHiddenPK BOOLEAN false This parameter takes effect only if enableNoUniqueConstraintTableReplicate is set to true and the source and target meet certain conditions. Its purpose is to ignore the hidden primary key in OceanBase's tables without unique constraints when writing to the target, as the hidden column will be filtered out. OMS V3.3.1 and later
sqlMode STRING null The SQL mode. OMS V3.3.1 and later
charset STRING The recommended value logic depends on the jdbcUrl, username, password, and sinkType configurations. The connection encoding. OMS V3.3.1 and later
writeMode STRING batch The write mode for the target, which can be batch write or non-batch write. OMS V3.3.1 and later
isPreLoadAllTableSchema BOOLEAN false When dependTargetSchema is set to true, specifies whether to load all table schemas from the target to memory in advance for queries. OMS V4.2.2 and later
oracleSocketTimeout LONG 50000 The timeout for the Oracle database on the sink side, in milliseconds. OMS V3.3.1 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.jdbc.sink.oracle.OracleJDBCSinkBooster. OMS V3.3.1 and later
canLobBatched BOOLEAN The recommended value logic depends on the sinkType configuration. Specifies whether the write end supports batch writes for LOB. Currently, LOB batch writes are not supported for Oracle and OBOracle, as LOB null values need to be written using the empty_clob or empty_blob function. OMS V3.3.1 and later
slowSqlThreshold LONG 15 The threshold for slow SQL, which controls the printing of executed SQL statements. OMS V3.3.1 and later
printSql BOOLEAN false Specifies whether to print executed SQL statements. OMS V3.3.1 and later
tenant STRING null The tenant. OMS V3.3.1 and later
obFreeMemoryMin LONG 20 This value must be greater than or equal to 0. If so, the system will check the available memory of the target database. If the available memory of the OceanBase database is less than this value, the write will be paused until the next check, which finds that this value is met. OMS V3.3.1 and later
highWatermarkQueryIntervalSec LONG 1 If obFreeCpuMin > 0 or obFreeMemoryMin > 0, the system will query the OceanBase database for the available CPU or memory to the local device every specified time interval in seconds. OMS V3.3.1 and later
obFreeCpuMin LONG 0 This value must be greater than 0. If so, the system will check the available CPU of the target database. If the available CPU of the OceanBase database is less than this value, the write will be paused until the next check, which finds that this value is met. Note that CPU collection may be inaccurate, so we recommend that you do not specially set this value. OMS V3.3.1 and later
retryErrorMessage STRING null The error message that needs to be retried. OMS V3.3.1 and later
skipErrorMessage STRING null The error message that needs to be skipped. OMS V3.3.1 and later
skipErrorCode STRING null The error code that needs to be skipped. OMS V3.3.1 and later
retryErrorCode STRING null The error code that needs to be retried. OMS V3.3.1 and later

Parameters of the target RocketMQ

Parameter
Type
Default Value
Description
Applicable Version
clientThreadCount LONG -1 The size of the RocketMQ asynchronous send thread pool. The default value is based on the number of CPU cores. OMS V3.3.1 and later
tags STRING null The tags to write into the message. If the message contains a table name, the default value is tableName + _tag. Otherwise, the default value is default. OMS V3.3.1 and later
workerNum LONG 16 The number of threads for writing. OMS V3.3.1 and later
clientCallbackExecutorThreadsNum LONG -1 The number of threads for processing requests in RocketMQ. The default value is based on the number of CPU cores. OMS V3.3.1 and later
enableTrace BOOLEAN false The enableTrace configuration of the RocketMQ client. This parameter specifies whether to enable the message trace tracking feature. OMS V3.3.1 and later
sinkType STRING null The type of the target. OMS V3.3.1 and later
nameSvrAddr STRING null The nameSvrAddr configuration in RocketMQ, which specifies the list of NameServer addresses. OMS V3.3.1 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.rocketmq.sink.RocketMQSinkBooster. OMS V3.3.1 and later
producerGroup STRING OMS The Producer Group (PG) in RocketMQ, which identifies and manages a collection of message producer instances that have the same functionality or responsibilities. OMS V3.3.1 and later
sendMsgTimeout LONG 30000 The timeout period for sending a message. OMS V3.3.1 and later
nameSpace STRING - The Namespace in RocketMQ. OMS V3.3.1 and later
shardFuncClassName STRING com.oceanbase.oms.connector.rocketmq.sink.RocketMQShardFunc The implementation of the partitioning function. OMS V3.3.1 and later
partitionMode STRING HASH The distribution logic that determines which partition a specific data record is written to. Valid values: HASH (hash of the primary key) and TABLE (hash of the table name). OMS V3.3.1 and later
secretKey STRING null The secret key for RocketMQ, which is used for identity verification. OMS V3.3.1 and later
accessKey STRING null The Access Key ID (Access Key) of RocketMQ, which is a unique string for identifying user identities. OMS V3.3.1 and later
serializerType STRING DEFAULT The serialization format for writing messages to the message queue. Valid values: DEFAULT, DEFAULT_WITH_SCHEMA, SHAREPLEX, CANAL, DATAWORKS_V2, and DATAWORKS_V1. OMS V3.3.1 and later
metaExtend JSON null JSON extended data that applies only to the extend field when Data is written to DataWorks V2. OMS V3.3.1 and later
serializerDataTypeMapper JSON null A mapping from SchemaType to STRING, which is compatible with parameters to resolve the INT64 issue. OMS V4.1.0 and later
maxRetryTimes LONG 1000 The maximum number of retries. OMS V3.3.1 and later
retryIntervalTime LONG 1000 The interval between retries. OMS V3.3.1 and later
retryErrorMessage STRING null The error message that needs to be retried. OMS V3.3.1 and later
skipErrorMessage STRING null The error message that needs to be skipped. OMS V3.3.1 and later
skipErrorCode STRING null The error code that needs to be skipped. OMS V3.3.1 and later
retryErrorCode STRING null The error code that needs to be retried. OMS V3.3.1 and later

Parameters of the target Kafka

Parameter
Type
Default value
Description
Applicable versions
shardFuncClassName STRING com.oceanbase.oms.connector.kafka.sink.KafkaShardFunc The partitioning function to be used in conjunction with ShuffleDispatcher. This parameter is not required by default. OMS V3.3.1 and later
workerNum LONG The value is recommended based on the partitionMode parameter. The number of writing threads. OMS V3.3.1 and later
sinkType STRING null The type of the destination data source. OMS V3.3.1 and later
dryRun BOOLEAN false Specifies whether not to write data to Kafka actually. OMS V3.3.1 and later
batchSize LONG 1048576 The value of the batch.size parameter of the producer (Producer) in Kafka, which specifies the size of a message batch. OMS V3.3.1 and later
properties JSON null The properties (configuration file) in Kafka. OMS V3.3.1 and later
consumerGroup STRING test The consumer group for checking the existence of a topic. This parameter is the group.id parameter of the consumer. OMS V3.3.1 and later
servers STRING null The value of the bootstrap.servers parameter of the producer in Kafka, which specifies the list of servers to be connected when the producer is to establish an initial connection with the Kafka cluster. OMS V3.3.1 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.kafka.sink.KafkaSinkBooster. OMS V3.3.1 and later
partition LONG 0 If partitionMode is set to ONE, this parameter specifies the name of the partition to be written. OMS V3.3.1 and later
kafkaVersion STRING 2.0 The version of the Kafka client, which can be 0.9 or 2.0. OMS V3.3.1 and later
lingerMs LONG 100 The value of the linger.ms parameter of the producer in Kafka, which specifies the batch processing behavior of messages. OMS V3.3.1 and later
enableAsync BOOLEAN true Specifies whether to write data using an asynchronous interface. OMS V3.3.1 and later
isTopicMandatory BOOLEAN true Specifies whether to check the existence of a topic. OMS V3.3.1 and later
partitionMode STRING HASH The distribution logic that determines which data is written to which partition. Valid values: HASH (based on the primary key) and TABLE (based on the table name). OMS V3.3.1 and later
sslTruststoreLocation STRING null The address of the SSL authentication file. OMS V3.3.1 and later
saslConfig JSON null The SASL configuration. {"mechanism": "GSSAPI/PLAIN/SCRAM-SHA-256/SCRAM-SHA-512","username": "If PLAIN/SCRAM-SHA-256/SCRAM-SHA-512 is used, an account and password are required","password": "If PLAIN/SCRAM-SHA-256/SCRAM-SHA-512 is used, an account and password are required","kerberosPrincipal": "","kerberosKeyTabFileLocation": "If GSSAPI is used, this field is required, which specifies the authentication configuration file","jaasConfFileLocation": "If GSSAPI is used, this field is required, which specifies the authentication configuration file","kerberosConfFileLocation": "If GSSAPI is used, this field specifies the address of the krb conf file"} OMS V3.3.1 and later
securityProtocol STRING null The authentication protocol. Valid values: SASL_PLAINTEXT, SASL_SSL, PLAINTEXTSASL, and SSLSASL. OMS V3.3.1 and later
serializerType STRING DEFAULT The serialization format for writing messages. Valid values: DEFAULT, DEFAULT_WITH_SCHEMA, SHAREPLEX, CANAL, DATAWORKS_V2, and DATAWORKS_V1. OMS V3.3.1 and later
metaExtend JSON null The JSON extended data, which applies only to the extend field when data is written to DataWorks V2. OMS V3.3.1 and later
serializerDataTypeMapper JSON null The mapping from schema type to string, which is compatible with the parameter solution for the INT64 issue. OMS V4.1.0 and later
retryErrorMessage STRING null The error message that needs to be retried. OMS V3.3.1 and later
skipErrorMessage STRING null The error message that needs to be skipped. OMS V3.3.1 and later
skipErrorCode STRING null The error code that needs to be skipped. OMS V3.3.1 and later
retryErrorCode STRING null The error code that needs to be retried. OMS V3.3.1 and later

Parameters of the target DataHub

Parameter
Type
Default value
Description
Supported versions
sequenceEnable BOOLEAN false Specifies whether to enable the sequence feature of DataWorks. OMS V3.3.1 and later
requestRetrySec LONG 3600 The retry time in seconds when a write request fails. OMS V3.3.1 and later
shardFuncClassName STRING com.oceanbase.oms.connector.datahub.sink.DatahubShardFunc The partitioning function to be used in conjunction with ShuffleDispatcher. This parameter is not required by default. OMS V3.3.1 and later
enableBinary BOOLEAN true Specifies whether to enable binary writes for the DataHub client. OMS V3.3.1 and later
workerNum LONG 16 The number of write threads. OMS V3.3.1 and later
accessKey STRING null The Access Key ID (Access Key) of DataHub. An Access Key is a unique string for identifying user identity. OMS V3.3.1 and later
connectionTimeoutMs LONG 10000 The timeout period for the DataHub client. OMS V3.3.1 and later
sinkType STRING null The type of the destination data source. OMS V3.3.1 and later
sequenceStartTimestamp LONG 0 The initial value of the sequence for machine migration. This parameter is not required if the time is consistent between different machines. OMS V3.3.1 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.datahub.sink.DatahubSinkBooster. OMS V3.3.1 and later
accessId STRING null The AccessKey ID of DataHub. OMS V3.3.1 and later
endpoint STRING null The endpoint of DataHub. OMS V3.3.1 and later
sequenceIgnoreLocal BOOLEAN false Specifies whether to ignore the local sequence. OMS V3.3.1 and later
tooLargeRequestErrorCodes LIST [RequestEntityTooLarge, TooLargePayload] The error codes indicating that the request is too large. OMS V3.3.1 and later
protocol STRING TUPLE The topic protocol, including BLOB and TUPLE. OMS V3.3.1 and later
requestLimitSize LONG 3575104 The maximum size of a write request, which will be dynamically adjusted based on errors, in bytes. OMS V3.3.1 and later
partitionMode STRING HASH The distribution logic that determines which data is written to which partition. Valid values: HASH (primary key hash) and TABLE (table name hash). OMS V3.3.1 and later
serializerType STRING DEFAULT The serialization format for writing messages to a queue. Valid values: DEFAULT, DEFAULT_WITH_SCHEMA, SHAREPLEX, CANAL, DATAWORKS_V2, and DATAWORKS_V1. OMS V3.3.1 and later
metaExtend JSON null JSON extended data, which applies only to the extend field when writing data to DataWorks V2. OMS V3.3.1 and later
serializerDataTypeMapper JSON null The mapping from schema type to string, which is compatible with the parameter solution for the INT64 issue. OMS V4.1.0 and later
retryErrorMessage STRING null The error message that requires a retry. OMS V3.3.1 and later
skipErrorMessage STRING null The error message that requires skipping. OMS V3.3.1 and later
skipErrorCode STRING null The error code that requires skipping. OMS V3.3.1 and later
retryErrorCode STRING null The error code that requires a retry. OMS V3.3.1 and later

Parameters of the source Kafka

Parameter
Type
Default value
Description
Applicable version
kafkaAddr STRING null The address of the Kafka instance from which the source Kafka reads data. This parameter is deprecated. Use kafkaServer instead. OMS V4.0.0 and later
srcSubTopic STRING null A unique identifier. OMS V4.2.2 and later
kafkaTopic STRING null The topic in the Kafka instance. OMS V4.2.2 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.source.kafka.KafkaSourceBooster. OMS V3.3.1 and later
checkpoint STRING null Checkpoint, Map<String, String>. OMS V4.2.2 and later
sourceType STRING null The type of the data source. OMS V3.3.1 and later
kafkaServer STRING null The address of the Kafka server. OMS V4.2.2 and later
cdcDataFormat STRING tidbOpenProtocol The TiDB data format, including tidbOpenProtocol and tidbBinlog. OMS V4.0.0 and later
timestamp LONG null The old checkpoint and topic timestamp in the Kafka instance. OMS V4.2.2 and later
kafkaPort STRING null The port of the Kafka server. This parameter is deprecated. Use kafkaServer instead. OMS V4.0.0 and later
forceConsumeBegin BOOLEAN false Specifies whether to forcibly read data from the beginning offset of the topic for the source Kafka. OMS V4.2.2 and later
properties JSON null The properties of the Kafka instance. OMS V3.3.1 and later
isSourceDataWriteToFile BOOLEAN false Specifies whether to write data to a file. This parameter is for testing only and cannot be used in a production environment. OMS V4.2.2 and later
sslTruststoreLocation STRING null The address of the SSL authentication file. OMS V3.3.1 and later
saslConfig JSON null The SASL configuration. {"mechanism": "GSSAPI/PLAIN/SCRAM-SHA-256/SCRAM-SHA-512","username": "If the authentication mechanism is PLAIN/SCRAM-SHA-256/SCRAM-SHA-512, an account password is required","password": "If the authentication mechanism is PLAIN/SCRAM-SHA-256/SCRAM-SHA-512, an account password is required","kerberosPrincipal": "","kerberosKeyTabFileLocation": "If the authentication mechanism is GSSAPI, this field is required, indicating the authentication configuration file","jaasConfFileLocation": "If the authentication mechanism is GSSAPI, this field is required, indicating the authentication configuration file","kerberosConfFileLocation": "If the authentication mechanism is GSSAPI, this field indicates the address of the krb conf file"} OMS V3.3.1 and later
securityProtocol STRING null The authentication protocol, including SASL_PLAINTEXT, SASL_SSL, PLAINTEXTSASL, and SSLSASL. OMS V3.3.1 and later

Parameters of the source logproxy

Parameter
Type
Default Value
Description
Applicable Version
sys.password STRING null The password of the OceanBase Database system tenant. OMS V4.2.1 and later
wait.queue.size LONG null The size of the logproxy wait queue. OMS V3.3.1 and later
protocol.version LONG 1 The logproxy protocol version. OMS V3.3.1 and later
retry.interval.ms LONG 2 The interval between reconnection attempts. OMS V3.3.1 and later
useSchemaCache BOOLEAN false Specifies whether to use the schema cache when processing records. OMS V3.3.1 and later
sourceType STRING null The type of the source data. OMS V3.3.1 and later
logproxy.address STRING null The address of logproxy. OMS V3.3.1 and later
username STRING null The username of OceanBase Database. OMS V3.3.1 and later
splitThreshold LONG 128 The maximum amount of data that a single RecordBatch (record batch) can support. OMS V3.3.1 and later
properties STRING null The parameters passed through to OBCDC. OMS V4.2.1 and later
oceanbase.cluster.id STRING null The cluster ID of OceanBase Database. OMS V3.3.1 and later
useBetaListener BOOLEAN false Specifies whether to use the experimental parser for Drc. OMS V3.3.1 and later
timezone STRING +08:00 The time zone of the source. OMS V3.3.1 and later
conn.timeout.ms LONG 60000 The connection timeout period. OMS V3.3.1 and later
sequence.start.timestamp LONG 0 The time when the sequence starts to generate.
ignore.unknown.record.type BOOLEAN true Specifies whether to ignore the unknown record type (record type). OMS V3.3.1 and later
sourceBatchMemorySize LONG Recommended value The memory size limit of the record batch (record batch). OMS V3.3.1 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.source.logproxy.LogProxySourceBooster. OMS V3.3.1 and later
ignoreDdl BOOLEAN true Specifies whether to ignore DDL. OMS V3.3.1 and later
sys.username STRING null The name of the OceanBase Database system tenant. OMS V4.2.1 and later
checkpoint STRING null The checkpoint of OceanBase Database. OMS V3.3.1 and later
enabled.compression.table.white.list BOOLEAN false Specifies whether to pass the compression allowlist. OMS V3.3.1 and later
password STRING null The password of OceanBase Database. OMS V3.3.1 and later
idle.timeout.ms LONG 15 The idle wait time. OMS V3.3.1 and later
oceanbase.cluster.url STRING null The URL of the OceanBase Database cluster. OMS V3.3.1 and later
reconnect.times LONG -1 The logproxy reconnection time. OMS V3.3.1 and later
client.id STRING default The client.id of logproxy. OMS V3.3.1 and later
read.timeout.ms LONG 60000 :The read timeout period. OMS V3.3.1 and later

DataFlowSource parameters

Parameter
Type
Default Value
Description
Supported Version
taskIdentity STRING 1 Task identifier. OMS V3.3.1 and later
connTimeoutSec LONG 120 The timeout duration in seconds. OMS V3.3.1 and later
nonePkUkQueryWholeTable BOOLEAN true Specifies whether to allow full-table scans without using a primary or unique key. OMS V3.3.1 and later
rtrimOracleChar BOOLEAN false Specifies whether to right-strip spaces when the source column is of the CHAR type. When the column contains only spaces, one space will be retained. The maximum length of CHAR is 2000. If the source and destination character sets are different, the data may exceed the maximum length when written to the destination. OMS V3.3.1 and later
maxSqlNoActiveTime LONG 700 JDBC timeout setting. OMS V3.3.1 and later
taskSubId STRING 1 The complete list of generated progress files. OMS V3.3.1 and later.
stringEncodingCharset STRING null Specifies the character set for encoding or decoding a string. If the source is a DB2 database, and you call the getString method and configure the stringEncodingCharset parameter, the byte stream returned by the database is decoded into a string based on the specified character set. If the source is an Oracle database, and the stringEncodingCharset parameter is configured, the CHAR, VARCHAR, and CLOB data are encoded into bytes by calling the getBytes method and then decoded into strings based on the specified character set. OMS V4.2.1 and later
queryMetaInfoBySysTenant BOOLEAN false OceanBase Database V1.4.77 needs to obtain partition information from the system tenant. OMS V4.2.1 and later.
timestamptzConvert BOOLEAN false Converts the time zone for TIMESTAMP WITH TIME ZONE in the same way as when you query data from an Oracle database or an OceanBase database running in the Oracle compatible mode. If you want to convert the local time zone of the user to the UTC time zone, set this parameter to true. For example, it can convert Asia/Shanghai to +08:00. OMS V3.3.1 and later
retryIntervalTime LONG 2000 The interval for retrying an API call. OMS V3.3.1 and later
workerNum LONG 16 The number of threads for reading data. OMS V3.3.1 and later
nonePkUkTruncateDstTable BOOLEAN false Specifies whether to allow the TRUNCATE operation on a destination table without a primary key. OMS V3.3.1 and later
consistencyMigration BOOLEAN false Full and incremental MySQL database migration without a primary key is performed in combination, and full migration snapshots are locked. OMS V3.3.1 and later
nullReplaceEnable BOOLEAN false Specifies whether to enable character replacement if the field value is a sequence of characters from chr(129) to chr(254), and NOT NULL constraint is set. The JDBC driver reads the value as NULL. OMS V3.3.1 and later
sliceByPkIncrementMinMax BOOLEAN true Specifies whether to use pk_increment for non-primary key tables in OceanBase Database (MySQL and Oracle compatible modes). If set to true, min and max of pk_increment will be used for switching. If set to false, a regular slice is used, and the index order is specified by limit. OMS V3.3.1 and later
enableSplitByPartition BOOLEAN true Specifies whether to split data on a partitioned table by partition. OMS V4.2.2 and later
tablePartition STRING null Specifies the subpartitions to read for a partitioned table. The configuration format is in the JSON format, {"fullName":"regex", ....}. If a database named DB1 exists, Tab1 expects to read data of partitions matching the p1. partition name, while Tab2 expects to use x1.. To divide the partition data matching the partition name, the configuration should be set to {"DB1.Tab1": "p1.", "DB1.Tab2": "x1."}. Note that the database name, table name, and column name here are case-sensitive and should be written as actual. A mismatch in case sensitivity will result in an error. OMS V3.3.1 and later
sliceWorkerNum LONG 16 The number of worker threads for slicing. Applies to OMS V3.3.1 and later.
stringOriginalCharset STRING null When the source is an Oracle database, if this value is configured, the getBytes operation will be directly performed on the char/varchar/clob data, and then converted into a string in the specified encoding. If stringEncodingCharset is configured, this field will be overridden. OMS V4.2.1 and later
timezone STRING +08:00 The time zone for ETL processing. OMS V3.3.1 and later
databaseMaxConnection LONG 128 The maximum number of database connections. OMS V3.3.1 and later
forceReadWholeTableWithoutSlice BOOLEAN false Specifies whether to read the entire table without slicing. When the data of a source table cannot be sliced, you can set the value to true to read the entire table. Note that this parameter applies only to MySQL databases. OMS V3.3.1 and later
sliceQueueSize LONG 128 Maximum number of slices in a queue. OMS V3.3.1 and later versions
binlogOffsetDb STRING test The database to store the binlogOffset value for full and incremental MySQL to MySQL migration without a primary key. OMS V3.3.1 and later
sourceBatchMemorySize LONG 16777216 The maximum size of memory used by a record batch. OMS V3.3.1 and later
sliceIndex JSON null The index used for the slice, in the Map<String, String> format. The key takes the database.table format. OMS V4.1.0 and later
sliceBlocks LONG 128 The number of blocks to be sliced by each block in the Oracle database. OMS V3.3.1 and later versions
binlogOffsetTable STRING binlog_offset The table for storing binlogOffset is used in full and incremental MySQL to non-primary key migration. OMS V3.3.1 and later versions
intervalTypeFmt STRING N/A Configures the format parameter for the Oracle Interval type.
  • When the source is an Oracle database, and the destination is not an Oracle database or in Oracle-compatible mode in OceanBase Database.
  • When the destination is an Oracle database, and the source is not an Oracle database or in Oracle-compatible mode in OceanBase Database.
    {"intervalDayDef":1,"intervalToSecondDef":1,"intervalYearDef":1,"intervalToMonthDef":2,"intervalSign":true,"intervalDayFmttime":2}
  • When the source is an Oracle-compatible OceanBase database, and the destination is not an Oracle database or in Oracle-compatible mode in OceanBase Database.
  • When the destination is an Oracle-compatible OceanBase database, and the source is not an Oracle database or in Oracle-compatible mode in OceanBase Database.
    {"intervalDayDef":2,"intervalToSecondDef":6,"intervalYearDef":1,"intervalToMonthDef":2,"intervalSign":true,"intervalDayFmttime":2}
OMS V3.3.1 and later versions
controlFlag STRING NOOP The control flag specifies the message sending mode. Valid values: NOOP (no message is sent), SYNC (synchronous blocking sending), and ASYNC (asynchronous sending). OMS V4.2.2 and later
clientQueryPartitionWithInnerTable BOOLEAN true Specifies whether to query partition information of OceanBase Database using an inner table. OMS V4.2.1 and later
indexHint BOOLEAN true Specifies whether to use a hint for slicing. OMS V3.3.1 and later
sliceBatchSize LONG 2000 The size of data in a batch of slices. OMS V3.3.1 and later
enableNoUniqueConstraintTableReplicate BOOLEAN false Specifies whether to allow synchronization of tables without a primary key. This parameter affects only the forward and reverse data links from MySQL and PostgreSQL to pbMySQ. OMS V3.3.1 and later
fetchSize LONG 1000 JDBC driver's fetch size parameter. Indicates the number of result set rows to fetch from the database and load into memory at a time during query execution. OMS V3.3.1 and later
oracleRowidSliceHint STRING N/A Indicates whether to use a hint when slicing the query block. OMS V3.3.1 and later.
sliceTableBatchSize LONG 100 The number of tables processed in each batch during full-scale reading. OMS V3.3.1 and later
nullReplaceString STRING N/A ORACLE gb18030 field value: chr(129)-chr(254), NOT NULL constraint, JDBC reads as NULL. In this case, if nullReplaceEnable is set to true, the specified replacement character is used. OMS V3.3.1 and later
stringDecodingCharset STRING null When the source is a DB2 database, it converts string types to bytes using stringDecodingCharset, and then converts them back to strings using stringEncodingCharset. This process typically involves encoding to Latin-1. If stringDecodingCharset is configured, stringEncodingCharset must be forcibly set. OMS V4.2.1 and later
sourceMaxRetryTimes LONG 1000 The maximum number of retries for a query on the source. OMS V3.3.1 and later
sourceType STRING null The type of the source. OMS V3.3.1 and later
maxSqlRetryTime LONG 3600 Specifies the maximum time in seconds for pulling data. OMS V3.3.1 and later
batchSize LONG 1000 Maximum number of records in a batch. OMS V3.3.1 and later
rtrimDB2Graphic BOOLEAN false Specifies whether to trim right-side spaces during the reading of DB2 graphic data. OMS V3.3.1 and later
oracleRowidSliceRowsMin LONG -1 The minimum number of rows returned by each slice. OMS V3.3.1 and later
oracleLobFetchSize LONG null oracleLobFetchSize. OMS V3.3.1 and later
extConfig JSON null datasource configuration parameters, Map<String, String>. OMS V3.3.1 and later
charset STRING utf8 The character set for the connection. For OMS V3.3.1 and later
clients JSON null Source connection information. OMS V3.3.1 and later
boosterClass STRING null The startup class, com.oceanbase.oms.connector.source.dataflow.DataFlowSourceBooster. V3.3.1 and later versions of OMS
userIntervalTypeFmt BOOLEAN true Specifies whether to output in the format specified by the interval type. OMS V3.3.1 and later
taskType STRING migrate Task type. OMS V3.3.1 and later
taskResume BOOLEAN true Indicates whether to restore the task. OMS V3.3.1 and later
sliceOracleOptimizerFeatures STRING N/A Specifies the Oracle block slicing feature. Sets alter session set OPTIMIZER_FEATURES_ENABLE=''. In some scenarios, it is necessary to set 10.2.0.3 to optimize performance. OMS V3.3.1 and later

JDBC-SINK startup parameters

DBType
Plugin Jar
BoosterClass
MYSQL jdbc-sink-mysql.jar com.oceanbase.oms.connector.jdbc.sink.mysql.MySQLJDBCSinkBooster
DB2 jdbc-sink-db2.jar com.oceanbase.oms.connector.jdbc.sink.db2.DB2JDBCSinkBooster
OB_MYSQL jdbc-sink-ob-mysql.jar com.oceanbase.oms.connector.jdbc.sink.obmysql.OBMySQLJDBCSinkBooster
OB_ORACLE jdbc-sink-ob-oracle.jar com.oceanbase.oms.connector.jdbc.sink.oboracle.OBOracleJDBCSinkBooster
ORACLE jdbc-sink-oracle.jar com.oceanbase.oms.connector.jdbc.sink.oracle.OracleJDBCSinkBooster
POSTGRESQL jdbc-sink-pg.jar com.oceanbase.oms.connector.jdbc.sink.pg.PgJDBCSinkBooster

STORE_MULTI_SOURCE parameters

Parameter
Type
Default value
Description
Applicable versions
useDRCNet BOOLEAN true Specifies whether to use the DRC protocol. OMS V3.3.1 and later
blackRegionNo STRING null Specifies the unnecessary regionNo to prevent circular replication. OMS V3.3.1 and later
drcMarkDb STRING null Specifies the database where the table used for preventing circular replication is located. OMS V3.3.1 and later
useBetaListener BOOLEAN false Specifies whether to use the experimental parser for parsing. OMS V3.3.1 and later
timezone STRING +08:00 Specifies the time zone of the source. OMS V3.3.1 and later
clients JSON null Specifies the connection information of the Store component.{"clientId": "The unique identifier, which is also the source_id specified in Condition. This client is used to generate heartbeats. We recommend that you use Subtopic","subtopic": "store subtopic","clusterManagerUrl": "store url/cm url","filterConditions": "store allowlist"} OMS V3.3.1 and later
sourceBatchMemorySize LONG 0 Specifies the memory size for assembling records. OMS V3.3.1 and later
boosterClass STRING null Specifies the startup class, com.oceanbase.oms.connector.source.store.MultiStoreSourceBooster. OMS V3.3.1 and later
ignoreDdl BOOLEAN true Specifies whether to ignore DDL statements. OMS V3.3.1 and later
askSelfUnit BOOLEAN false Specifies whether to request only data generated by DRC. OMS V3.3.1 and later
checkpoint JSON null Specifies the startup point of Store. OMS V3.3.1 and later
connectionTimeoutSec LONG 120 Specifies the timeout period for connecting to the Store component. OMS V3.3.1 and later
maxRetries LONG 100 Specifies the maximum number of retries for connecting to the Store component. OMS V3.3.1 and later
useSchemaCache BOOLEAN false Specifies whether to use the schema cache when processing records. OMS V3.3.1 and later
password STRING null Specifies the account password required for connecting to the Store component. OMS V3.3.1 and later
sourceType STRING null Specifies the type of the source. OMS V3.3.1 and later
isSourceDataWriteToFile BOOLEAN false Specifies whether to write the source data to a file for testing purposes. OMS V3.3.1 and later
buildRecordConcurrent BOOLEAN false Specifies whether to assemble records in parallel when the source is assembling records. If this parameter is set to true, four threads are specified for concurrent record assembly. OMS V3.3.1 and later
username STRING null Specifies the username. OMS V3.3.1 and later
filterOpts LIST null Specifies the filter storage options, which are valid only when simulating file writes. OMS V3.3.1 and later
drcProperties JSON null Specifies the Store client parameters. OMS V3.3.1 and later
splitThreshold LONG 128 Specifies the threshold for splitting large transactions. OMS V3.3.1 and later
drcMarkTable STRING null Specifies the table used for preventing circular replication. OMS V3.3.1 and later

Previous topic

Incr-Sync parameters
Last

Next topic

Full-Verification parameters
Next
on this page
Coordinator
Condition
(Wildcard/regular) matching capability
attrs capabilities
Parameters of the target MySQL compatible mode of OceanBase Database
Parameters of the target Oracle compatible mode of OceanBase Database
Parameters of the target MySQL and PostgreSQL
Parameters of the target Oracle database
Parameters of the target RocketMQ
Parameters of the target Kafka
Parameters of the target DataHub
Parameters of the source Kafka
Parameters of the source logproxy
DataFlowSource parameters
JDBC-SINK startup parameters
STORE_MULTI_SOURCE parameters