OceanBase logo

OceanBase

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

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

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

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

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

About OceanBase

Partner

Trust Center

Contact Us

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

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

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

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

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

Practical guides for utilizing OceanBase more effectively and conveniently

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

About OceanBase

Partner

Trust Center

Contact Us

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

OceanBase Loader and Dumper

V4.3.4.1

  • Document Overview
  • Introduction
  • Technical Mechanism
  • Preparations
    • Prepare the environment
    • Prepare data
    • Download OBLOADER & OBDUMPER
    • Startup parameters
  • User Guide (OBLOADER)
    • Quick start
    • Command-line options
    • Direct load
    • Data processing
      • Define a control file
      • Preprocessing functions
      • Case expressions
    • Use cases of command-line options
    • Performance tuning
    • Error handling
    • FAQ
  • User Guide (OBDUMPER)
    • Quick start
    • Command-line options
    • Data processing
      • Define a control file
      • Preprocessing functions
      • Case expressions
    • Performance tuning
    • FAQ
  • Security Features
  • Connection configuration
  • Self-service Troubleshooting
  • Release Note
    • Release Note
      • 4.x
        • OBLOADER & OBDUMPER V4.3.4.1
        • OBLOADER & OBDUMPER V4.3.4
        • OBLOADER & OBDUMPER V4.3.3.1
        • OBLOADER & OBDUMPER V4.3.3
        • OBLOADER & OBDUMPER V4.3.2.1
        • OBLOADER & OBDUMPER V4.3.2
        • OBLOADER & OBDUMPER V4.3.1.1
        • OBLOADER & OBDUMPER V4.3.1
        • OBLOADER & OBDUMPER V4.3.0
        • OBLOADER & OBDUMPER V4.2.8.2
        • OBLOADER & OBDUMPER V4.2.8.1
        • OBLOADER & OBDUMPER V4.2.8
        • OBLOADER & OBDUMPER V4.2.7
        • OBLOADER & OBDUMPER V4.2.6
        • OBLOADER & OBDUMPER V4.2.5
        • OBLOADER & OBDUMPER V4.2.4
        • OBLOADER & OBDUMPER V4.2.1
        • OBLOADER & OBDUMPER V4.1.0
        • OBLOADER & OBDUMPER V4.0.0
      • 3.x
        • OBLOADER \& OBDUMPER V3.1.0
        • OBLOADER \& OBDUMPER V3.0.0
    • Versioning rules

Download PDF

Document Overview Introduction Technical Mechanism Prepare the environment Prepare data Download OBLOADER & OBDUMPER Startup parameters Quick start Command-line options Direct load Define a control file Preprocessing functions Case expressions Use cases of command-line options Performance tuning Error handling FAQ Quick start Command-line options Define a control file Preprocessing functions Case expressions Performance tuning FAQ Security Features Connection configuration Self-service Troubleshooting Versioning rules
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 Loader and Dumper
  3. V4.3.4.1
iconOceanBase Loader and Dumper
V 4.3.4.1
  • V 4.3.5
  • V 4.3.4.1
  • V 4.3.4
  • V 4.3.3.1
  • V 4.3.3
  • V 4.3.2.1
  • V 4.3.2
  • V 4.3.1
  • V 4.2.8
  • V 4.2.7
  • V 4.2.6
  • V 4.2.5 and earlier

Startup parameters

Last Updated:2026-04-07 08:50:21  Updated
share
What is on this page
Executable file parameter modification method
JDBC parameter modification method
How to modify JDBC parameters
Startup parameters of an executable file

folded

share

OBLOADER & OBDUMPER supports various command-line parameters to adapt to different business scenarios and provides a series of default startup parameters to control the default behavior of OBLOADER & OBDUMPER when no explicit parameters are specified. These default parameters are automatically loaded when OBLOADER & OBDUMPER starts, ensuring general usability while providing reasonable runtime settings to enhance convenience and consistency. You can override or adjust these parameters based on your needs to meet the configuration requirements of particular scenarios.

Executable file parameter modification method

After you download and decompress the OBLOADER & OBDUMPER package, all executable files are saved in the ${install_dir}/bin directory. To customize the startup parameters, use a text editor to modify the executable file in the bin directory. Different operating systems require different files to be modified:

  • Linux: ${install_dir}/bin/OBLOADER

  • Windows: ${install_dir}/bin/windows/OBLOADER.bat

For example, to enable the parallel write feature by setting the enable.parallel.write startup parameter to true, perform the following steps:

  1. Use vim to open the ${install_dir}/bin/OBLOADER file.

  2. Find the enable.parallel.write option.

    PROGRAM_OPTS="${PROGRAM_OPTS} -Denable.parallel.write=false";
    
  3. Change false to true to enable the parallel write feature.

    PROGRAM_OPTS="${PROGRAM_OPTS} -Denable.parallel.write=true";
    

JDBC parameter modification method

  • For versions earlier than V4.2.6, only a limited number of session variables and JDBC parameters are supported. You can modify the existing configurations in the <tool root directory>/conf/session.properties file.

  • For V4.2.6 and later, the configuration file has been changed to <tool root directory>/conf/session.config.json to provide a more flexible configuration method. As long as the SQL statements are supported by OBServer or the URL parameters are supported by JDBC, you can add, delete, or modify the existing connection parameters as needed. For more information, see Connection configuration.

How to modify JDBC parameters

  • For versions earlier than V4.2.6, only a limited number of session variables and JDBC parameters are supported. You can modify the existing parameters in the configuration file at <tool-root-directory>/conf/session.properties.

  • For V4.2.6 and later, the configuration file has been changed to <tool-root-directory>/conf/session.config.json to provide more flexible configuration options. You can add, delete, or modify existing connection parameters without limits, as long as they are supported by OBServer SQL statements or JDBC URL parameters. For more information, see Connection configuration.

Startup parameters of an executable file

Parameter Description Scenarios Default value
enable.partition.calculation Specifies whether to enable partition calculation during import. OBLOADER true
enable.definer Specifies whether to include definer information when exporting the definitions of stored procedures and functions. OBDUMPER true
enable.table.index Specifies whether to include index information when exporting the table definitions in the Oracle compatible mode of OceanBase Database. OBDUMPER true
enable.table.comment Specifies whether to include table comment information when exporting the table definitions in the Oracle compatible mode of OceanBase Database. OBDUMPER true
enable.table.column.comment Specifies whether to include column comment information when exporting the table definitions in the Oracle compatible mode of OceanBase Database. OBDUMPER true
sqlMonitor.enabled=true Specifies whether to enable the SQL monitor log, which generates the sql-monitor.log file. OBLOADER/OBDUMPER true
sqlMonitor.slowSql.threshold Specifies the time threshold for determining whether an SQL statement is a slow query, in milliseconds. OBLOADER/OBDUMPER 3000
enable.parallel.write Specifies whether to enable parallel write. If you enable this option, multiple files are concurrently generated for a subtask, which improves the overall performance. OBDUMPER false
skip.tableName.check Specifies whether to check the file name when exporting data. If you export a table name that contains a dot (.), you cannot extract the actual table name from the file name during import. OBDUMPER false
upload.buffer.type Specifies the type of the buffer for data transfer to cloud storage. Valid values: Amazon S3, Alibaba OSS, and other object storage services. The value of upload.buffer.type can be disk or bytebuffer.
  • disk: specifies to use a local disk as the buffer. The buffer size is limited by the available disk space. You can use --tmp-path to specify the buffer path.
  • bytebuffer: specifies to use a byte buffer in memory. This method is faster and does not require a disk space limit, but consumes a large amount of heap memory.
OBDUMPER disk
upload.buffer.size Specifies the buffer size for a block, in bytes. OBDUMPER 67108864
upload.active.blocks Specifies the maximum number of blocks (by table or subtask) that a single writer can handle at the same time. This parameter takes effect only when enable.parallel.write is true. OBDUMPER 2
upload.disable.chunked.encoding Specifies whether to disable chunked encoding for all requests in the S3 client configuration.

Notice

We recommend that you use this option only when chunked upload is not used at the endpoint to reduce the impact on performance.

OBDUMPER false
dry.run Specifies whether to run OBLOADER & OBDUMPER in test mode without performing actual import or export operations. OBLOADER/OBDUMPER false
rebalance.import Specifies whether to run OBLOADER & OBDUMPER in test mode to rebalance the data distribution in the buffer. OBLOADER false
loadThread.startup.minIntervalMillis Specifies the startup interval for import threads, in milliseconds. OBLOADER 1000
dataSource.maxActive Specifies the maximum number of active connections in the connection pool. The existing connection pool has n connections. OBLOADER/OBDUMPER 2 * n

Previous topic

Download OBLOADER & OBDUMPER
Last

Next topic

Quick start
Next
What is on this page
Executable file parameter modification method
JDBC parameter modification method
How to modify JDBC parameters
Startup parameters of an executable file