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.3

  • Document Overview
  • Introduction
  • Technical mechanism
  • Preparations
    • Prepare the environment
    • Prepare data
    • Download OBLOADER & OBDUMPER
  • User Guide (OBLOADER)
    • Quick start
    • Command-line options
    • Direct load
    • Data processing
      • Define control files
      • 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 control files
      • Preprocessing functions
      • Case expressions
    • Performance tuning
    • FAQ
  • Security features
  • Connection settings
  • Self-service troubleshooting
  • Release Note
    • Release Note
      • 4.x
        • 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.6
        • OBLOADER & OBDUMPER V4.2.7
        • 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
    • Version rules

Download PDF

Document Overview Introduction Technical mechanism Prepare the environment Prepare data Download OBLOADER & OBDUMPER Quick start Command-line options Direct load Define control files Preprocessing functionsCase expressions Use cases of command-line options Performance tuning Error handling FAQ Quick start Command-line options Define control files Preprocessing functionsCase expressions Performance tuning FAQ Security features Connection settings Self-service troubleshooting Version 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.3
iconOceanBase Loader and Dumper
V 4.3.3
  • 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

Connection settings

Last Updated:2025-03-05 02:55:22  Updated
share
What is on this page

folded

share

This topic describes how to view and set the database kernel and the session variables supported by the Java Database Connectivity (JDBC) driver.

View session variables

View the session.properties file in the {ob-loader-dumper}/confdirectory. Sample code:

$cd /home/admin/obloaderobdumper/ob-loader-dumper-4.2.1-RELEASE/conf
$cat session.properties

Session variables

Session variable Default value Description
ob.timeout.for.query.metadata 5 The timeout period for querying metadata. Default unit: minute.
ob.timeout.for.exec.ddl 1 The timeout period for querying DDL statements. The value cannot exceed 60 minutes. Default unit: minute.
ob.timeout.for.exec.dml 1 The timeout period for querying DML statements. The value cannot exceed 24 hours. Default unit: hour.
ob.query.timeout.for.dump.record 1 The timeout period for querying exported records. The value cannot exceed 24 hours. Default unit: hour.
ob.trx.timeout.for.dump.record 24 The timeout period of a transaction for exporting records. The value cannot exceed 24 hours. Default unit: hour.
ob.net.read.timeout.for.dump.record 24 The timeout period for reading exported records. The records can be in the CSV, CUT, or SQL format. The value cannot exceed 24 hours. Default unit: hour.
ob.net.write.timeout.for.dump.record 24 The timeout period for writing exported records. The records can be in the CSV, CUT, or SQL format. The value cannot exceed 24 hours. Default unit: hour.
ob.proxy.route.policy follower_first Sets the ob_proxy_route_policy session variable.
jdbc.url.use.ssl false Sets theuse.ssl parameter of the jdbc url option.
jdbc.url.use.unicode false Sets the useUnicode parameter of the jdbc url option.
jdbc.url.socket.timeout 30 Sets the socketTimeout parameter of the jdbc url option. Default unit: minute.
jdbc.url.connect.timeout 3 Sets the connectTimeout parameter of the jdbc url option. Default unit: minute.
jdbc.url.character.encoding utf8 Sets the characterEncoding parameter of the jdbc url option.
jdbc.url.use.compression true Sets the useCompression parameter of the jdbc url option.
jdbc.url.cache.prep.stmts true Sets the cachePrepStmts parameter of the jdbc url option.
jdbc.url.no.datetime.string.sync true Sets the noDatetimeStringSync parameter of the jdbc url option.
jdbc.url.use.server.prep.stmts true Sets the useServerPrepStmts parameter of the jdbc url option.
jdbc.url.allow.multi.queries true Sets the allowMultiQueries parameter of the jdbc url option.
jdbc.url.rewrite.batched.statements true Sets the rewriteBatchedStatements parameter of the jdbc url option.
jdbc.url.use.local.session.state true Sets the useLocalSessionState parameter of the jdbc url option.
jdbc.url.zero.datetime.behavior convertToNull Sets the zeroDateTimeBehavior parameter of the jdbc url option.
jdbc.url.verify.server.certificate false Sets the verifyServerCertificate parameter of the jdbc url option.
jdbc.url.use.pipeline.auth false Sets the usePipelineAuth parameter of the jdbc url option.
jdbc.url.socks.proxy.host null Sets the socketProxyHost parameter of the jdbc url option.
jdbc.url.socks.proxy.port null Sets the socketProxyPort parameter of the jdbc url option.

Set a session variable

Example: Find the ob.query.timeout.for.init.session variable in the session.properties file and change its value.

# This variable is used to initialize the session.
# The default value is 5 minutes.
ob.query.timeout.for.init.session=6

Previous topic

Security features
Last

Next topic

Self-service troubleshooting
Next
What is on this page
View session variables
Session variables
Set a session variable
View session variables
Session variables
Set a session variable