OceanBase logo

OceanBase

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

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

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

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

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

About OceanBase

Partner

Trust Center

Contact Us

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

OceanBase

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

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

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

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

Practical guides for utilizing OceanBase more effectively and conveniently

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

About OceanBase

Partner

Trust Center

Contact Us

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

OceanBase Migration Service

V4.2.13Community Edition

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

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

    © OceanBase 2026. All rights reserved

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

    HBaseSource

    Last Updated:2026-04-16 07:09:24  Updated
    share
    What is on this page
    share

    OceanBase Migration Service (OMS) Community Edition V4.2.0 and later allow you to migrate data from an HBase database to OBKV. This topic describes the HBaseSource parameters.

    Parameter Value Description
    queryType scan or hfile The query method. This parameter applies only to full migration. scan indicates that the full data is queried by region scans. hfile indicates that the full data is queried by reading files.
    flushTable true or false. The default value is true. This parameter is optional and applies only to full migration. It specifies whether to perform a flush operation before the full migration starts if the queryType parameter is set to hfile.
    negativeTs true or false. The default value is true. This parameter applies to both full migration and incremental synchronization. It specifies whether to convert a timestamp to a negative number when OMS Community Edition reads the HBase database.
    Note
    Timestamps in OBKV are negative.
    maxVersions A number. The default value is -1, which indicates that all versions are read. If you set the queryType parameter to scan, you must specify this parameter, which applies only to full migration. This parameter specifies the maximum number of versions to read.
    initPeerOnly true or false Specifies whether to initialize only the peer. This parameter applies only to incremental synchronization. If the parameter is set to true, the start point for pulling logs is initialized after the peer is initialized, and the log processor does not process data. This way, the peer is created before full migration starts. After full migration is completed, you can set the initPeerOnly parameter to false in the console of OMS Community Edition, and then restart the incremental synchronization task to process the incremental data.
    peer A name string. This parameter applies only to incremental synchronization. The name of the peer created in the source HBase database in the oms_{projectname} format.
    createPeer true or false. The default value is true. This parameter applies only to incremental synchronization. If you set the parameter to true, you need to create a peer. If you set the parameter to false, you do not need to create a peer. If a peer already exists, you can set the parameter to false.
    autoPort true or false. The default value is true. Specifies whether to automatically use available ports. This parameter applies only to incremental synchronization. If you set the autoPort parameter to true, programs automatically obtain the required ports. A port number ranges from 9000 to 60000.
    zkHost An IP address, or multiple IP addresses separated by commas (,). This parameter applies only to incremental synchronization. It is equivalent to the hbase.zookeeper.quorum parameter, and specifies the IP addresses of the ZooKeeper servers that a program uses to simulate startup of HBase. It is specified in the format of ip1:port1,ip2:port2,ip3:port3.
    zkPath The ZooKeeper path. This parameter applies only to incremental synchronization. It is equivalent to the zookeeper.znode.parent parameter, and specifies the ZooKeeper path that a program uses to simulate startup of HBase.
    hbaseRootDir The root directory of the HBase cluster. This parameter is optional and applies only to incremental synchronization. It is equivalent to the hbase.rootdir parameter and is used by a program to simulate startup of HBase. By default, the program automatically uses a local directory as the value of hbase.rootdir.
    regions A number. The number of started region servers. This parameter applies only to incremental synchronization and takes effect if you set the autoPort parameter to true. If you set the autoPort parameter to false, the number of started region servers is specified by the regionServerPorts parameter.
    masterPort A number. This parameter applies only to incremental synchronization. It specifies the port of the simulated HMaster service. The port is allocated by OMS.
    masterInfoPort A number. This parameter applies only to incremental synchronization. It specifies the information port of the simulated HMaster service.
    regionServerPorts A JSON array, for example, [123,3434]. This parameter applies only to incremental synchronization. It specifies the port numbers of simulated region servers. The number of ports indicates that of started region servers. The value is a JSON array, for example, [123,3434].
    regionServerInfoPorts A JSON array, for example, [123,3434]. This parameter applies only to incremental synchronization. It specifies the information port numbers of the simulated region servers. The value must be greater than or equal to that of the regionServerPorts parameter. The value is a JSON array, for example: [123,3434].

    Previous topic

    KafkaSource (TiDB)
    Last

    Next topic

    HiveSource
    Next