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 Loader and Dumper

V3.0.0Community Edition

  • Document Overview
  • OBLOADER
    • Overview
    • User Guide
      • Environment preparation
      • Run OBLOADER
      • Command-line options
      • Data processing
        • Define control files
        • Preprocessing functions
        • Conditional expressions
      • Performance tuning
      • Scenarios
    • FAQ
  • OBDUMPER
    • Overview
    • User Guide
      • Environmental Preparation
      • Run OBDUMPER
      • Command-line options
      • Data
        • Define control files
        • Preprocessing functions
        • Conditional expressions
      • Performance tuning
      • Scenarios
    • FAQ

Download PDF

Document OverviewOverview Environment preparation Run OBLOADER Command-line options Performance tuning Scenarios FAQ Overview Environmental Preparation Run OBDUMPER Command-line options Performance tuning Scenarios FAQ
OceanBase logo

The Unified Distributed Database for the AI Era.

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

© OceanBase 2026. All rights reserved

Cloud Service AgreementPrivacy PolicySecurity
Contact Us
Document Feedback
  1. Documentation Center
  2. OceanBase Loader and Dumper
  3. V3.0.0
iconOceanBase Loader and Dumper
V 3.0.0Community Edition
Databases
  • OceanBase Database
  • OceanBase Cloud
  • OceanBase Tugraph
  • Interactive Tutorials
  • OceanBase Best Practices
Tools
  • OceanBase Cloud Platform
  • OceanBase Migration Service
  • OceanBase Developer Center
  • OceanBase Migration Assessment
  • OceanBase Admin Tool
  • OceanBase Loader and Dumper
  • OceanBase Deployer
  • Kubernetes operator for OceanBase
  • OceanBase Diagnostic Tool
  • OceanBase Binlog Service
Connectors and Middleware
  • OceanBase Database Proxy
  • Embedded SQL in C for OceanBase
  • OceanBase Call Interface
  • OceanBase Connector/C
  • OceanBase Connector/J
  • OceanBase Connector/ODBC
  • OceanBase Connector/NET
  • V 4.3.6
  • 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
Community Edition
  • V 4.2.5
  • V 4.2.4
  • V 4.1.0
  • V 4.0.0
  • V 3.0.0
Enterprise Edition
  • V 4.2.5
  • V 4.2.4

FAQ

Last Updated:2026-04-13 07:40:24  Updated
Share
What is on this page
FAQ related to products
What are the differences between the files in the SQL and DDL formats?
What is the relationship between the format of a data file and the extension of the file?
What are the differences between using OBLOADER in Alibaba Cloud and Private Cloud?
FAQ related to features
How do I run OBLOADER or OBDUMPER in debugging mode?
Why does the control file configured for a table fail to take effect when I import data to or export data from the table?
Why does OBDUMPER not generate an empty data file when it exports an empty table?
Why are command-line options not parsed as expected when I run the OBLOADER or OBDUMPER script?
When do I need to enclose options in single quotation marks (' ') or double quotation marks (" ") when I run the OBLOADER or OBDUMPER script?
What do I need to pay attention to when I export table schemas or data?
FAQ related to errors
What do I do if the following error is reported when I query views: SELECT command denied to user 'xxx'@'%' for table SYS.XXX?
What do I do if the following error is reported when I start OBLOADER or OBDUMPER: Access denied for user 'root'@'xxx.xxx.xxx.xxx'?
What do I do if the following error is reported after I use the --query-sql option to specify large query statements for OBDUMPER: Connection reset?
What do I do if the following error is reported when I use OBDUMPER to export data: The target directory: "xxx" is not empty?
What do I do if the following error is reported when I use OBDUMPER to export data: Request to read too old versioned data?

folded

Share

FAQ related to products

What are the differences between the files in the SQL and DDL formats?

  • DDL: A file in the DDL format stores DDL statements. Exported files in the DDL format are named in the format of objectname-schema.sql.

  • SQL: A file in the SQL format only stores INSERT SQL statements. Exported files in the SQL format are named in the format of objectname.sql.

What is the relationship between the format of a data file and the extension of the file?

  • OBDUMPER supports three file formats: CSV, SQL, and DDL. When you use OBDUMPER, you need only to specify the format of the exported data files, without the need to pay attention to the name or extension of the files.

  • By default, an exported file in the CSV format is named in the format of table name.number.csv , an exported file in the SQL format is named in the format of table name.number.sql , and an exported file in the DDL format is named in the format of table name-schema.sql .

  • When you use an external tool to export data, make sure that you understand the differences between the CSV, SQL, and DDL formats as well as the naming rules of the exported files.

What are the differences between using OBLOADER in Alibaba Cloud and Private Cloud?

  • Difference in proxyro permissions:

    • In Alibaba Cloud (limited mode), you have limited proxyro permissions and can export only table data and the schemas of tables and views.

    • In Private Cloud (unlimited mode), you have unlimited proxyro permissions and can export the schemas and data of all objects in a database.

  • Difference in connection methods:

    • In Alibaba Cloud, OBLOADER is connected by using the --public-cloud option.

    • In Private Cloud, OBLOADER is connected by using the --sys-password option or a key file.

      Note

      The limited mode does not support all features of OBLOADER. In this mode, the performance and stability of OBLOADER are also affected. In addition, only OceanBase Database V2.2.30 and later support throttling on the server. Therefore, when you use the limited mode, run the following command to modify the throttling settings on the server:

      alter system set freeze_trigger_percentage=50;
      alter system set minor_merge_concurrence=64;
      alter system set writing_throttling_trigger_percentage=80 t
      

FAQ related to features

How do I run OBLOADER or OBDUMPER in debugging mode?

Run the debugging script, such as obloader-debug and obdumper-debug, in the bin directory.

Why does the control file configured for a table fail to take effect when I import data to or export data from the table?

The name of the control file must be identical to the table name. By default, table names are in lowercase in MySQL mode and in uppercase in Oracle mode.

Why does OBDUMPER not generate an empty data file when it exports an empty table?

By default, OBDUMPER does not use an empty table to generate an empty file. You can specify the --retain-empty-files option to generate an empty file for an empty table.

Why are command-line options not parsed as expected when I run the OBLOADER or OBDUMPER script?

This issue may occur if command-line options contain special characters. If you run OBLOADER or OBDUMPER on a Linux operating system, a greater-than sign (>) in the password may cause the loss of all operational logs. The greater-than sign (>) is a redirection operator. Therefore, you must use appropriate quotation marks to resolve this issue on different operating systems. For more information, see the next question.

When do I need to enclose options in single quotation marks (' ') or double quotation marks (" ") when I run the OBLOADER or OBDUMPER script?

We recommend that you enclose complex options such as passwords and cluster names in quotation marks.

  • On the Windows operating system, use double quotation marks (" "). Example: --table "*".

  • On a Linux-like operating system, use single quotation marks (' '). Example: --table '*'.

What do I need to pay attention to when I export table schemas or data?

  • If you export the schemas of multiple tables, we recommend that you set the --threads option to a value that is not greater than 4. An excessively high concurrency increases the burden of accessing internal views for the sys tenant and causes an export timeout error. In addition, when you enable concurrent threads, the --threads option is dynamically adjusted based on the CPU utilization. You can manually specify the number of concurrent threads to control the impact of export on host performance.

  • OBDUMPER may use a large amount of memory when a large amount of data is exported. You can open the OBDUMPER script in the bin directory and modify the following two Java virtual machine (JVM) parameters: -Xms4G and -Xmx4G. The -Xms4G parameter specifies the initial heap memory, and the -Xmx4G parameter specifies the maximum heap memory for JVM. We recommend that you set both parameters to 60% of the available physical memory.

    vim bin/obdumper or vim bin/obloader
    
     50 JAVA_OPTS="$JAVA_OPTS -server -Xms4G -Xmx4G -XX:MetaspaceSize=512M -XX:MaxMetaspaceSize=512M -Xss352K"
    

FAQ related to errors

What do I do if the following error is reported when I query views: SELECT command denied to user 'xxx'@'%' for table SYS.XXX?

This error is reported because you are not authorized to access internal tables and views. Run the following statement to obtain required permissions: GRANT SELECT SYS.XXX TO xxx;.

What do I do if the following error is reported when I start OBLOADER or OBDUMPER: Access denied for user 'root'@'xxx.xxx.xxx.xxx'?

By default, OBLOADER and OBDUMPER require the permissions of the root user. If you have set a password for the root user under the sys tenant in the cluster, specify the configured password in the --sys-password option in the command.

What do I do if the following error is reported after I use the --query-sql option to specify large query statements for OBDUMPER: Connection reset?

Log on to the sys tenant, and set the client_tcp_user_timeout and server_tcp_user_timeout parameters of OBProxy to 0.

What do I do if the following error is reported when I use OBDUMPER to export data: The target directory: "xxx" is not empty?

To prevent data overwriting, OBDUMPER checks whether the target directory is empty before the export. You can specify the --skip-check-dir option to skip this check.

What do I do if the following error is reported when I use OBDUMPER to export data: Request to read too old versioned data?

This error is reported because the data version on which the current query depends has been recycled. You need to set an UNDO retention period in seconds as needed. Example: set global undo_retention=xxx.

Previous topic

Scenarios
Last
What is on this page
FAQ related to products
What are the differences between the files in the SQL and DDL formats?
What is the relationship between the format of a data file and the extension of the file?
What are the differences between using OBLOADER in Alibaba Cloud and Private Cloud?
FAQ related to features
How do I run OBLOADER or OBDUMPER in debugging mode?
Why does the control file configured for a table fail to take effect when I import data to or export data from the table?
Why does OBDUMPER not generate an empty data file when it exports an empty table?
Why are command-line options not parsed as expected when I run the OBLOADER or OBDUMPER script?
When do I need to enclose options in single quotation marks (' ') or double quotation marks (" ") when I run the OBLOADER or OBDUMPER script?
What do I need to pay attention to when I export table schemas or data?
FAQ related to errors
What do I do if the following error is reported when I query views: SELECT command denied to user 'xxx'@'%' for table SYS.XXX?
What do I do if the following error is reported when I start OBLOADER or OBDUMPER: Access denied for user 'root'@'xxx.xxx.xxx.xxx'?
What do I do if the following error is reported after I use the --query-sql option to specify large query statements for OBDUMPER: Connection reset?
What do I do if the following error is reported when I use OBDUMPER to export data: The target directory: "xxx" is not empty?
What do I do if the following error is reported when I use OBDUMPER to export data: Request to read too old versioned data?