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 Database

SQL - V3.2.4Enterprise 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 Database
    3. SQL
    4. V3.2.4
    iconOceanBase Database
    SQL - V 3.2.4Enterprise Edition
    SQL
    KV
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    Major compaction timeouts and errors

    Last Updated:2023-10-27 09:57:43  Updated
    share
    What is on this page
    Major compaction timeouts
    Major compaction errors

    folded

    share

    This topic describes how to identify and troubleshoot major compaction timeouts and errors.

    Major compaction timeouts

    You can set the zone_merge_timeout parameter to specify the timeout period for major compactions. By default, the timeout period is 3 hours.

    After a major compaction times out, the status of the major compaction becomes TIMEOUT. You can view the status by querying the __all_zone table. For more information, see View the major compaction progress.

    When a major compaction times out, the compaction continues but is tagged with a timeout flag bit. If a major compaction is tagged with a timeout flag bit, the compaction may last from the early morning to the peak hours on a working day, and an excessive amount of data has been modified on the day before the compaction. For example, a large amount of data has been imported.

    When a major compaction times out, you do not need to take additional measures, and the major compaction continues. As the administrator, you can view the progress of the major compaction. For more information about how to view the progress of a major compaction, see View the major compaction process.

    You can also view the table compression algorithm and learn about the amount of table data that is modified on the last day. If a large amount of data is modified and the modification is rare, you can wait for the compaction to end. For more information about table compression algorithms, see Major compactions overview.

    If the amount of modified data often causes major compaction timeouts and you want to speed up major compactions, you can modify major compaction parameters. For example, you can modify a parameter to increase the number of threads used for major compactions. For more information about major compaction parameters, see Modify major compaction settings.

    Major compaction errors

    If an exception occurs during a major compaction, the status of the compaction becomes ERROR. The major compaction stops if a compaction error occurs. If a compaction error occurs, you need to contact an administrator to fix the error. A major compaction can restart after the error is fixed.

    Common compaction errors include a full disk, I/O timeout, disk I/O error, and compaction canceled.

    Previous topic

    View disk usage during a major compaction
    Last

    Next topic

    Modify major compaction settings
    Next
    What is on this page
    Major compaction timeouts
    Major compaction errors