Meet OceanBase AI Database, the unified database for operational data, real-time analytics, and AI. Explore ->

Meet OceanBase AI Database, the unified database for operational data, real-time analytics, and AI. Explore ->

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 Database

SQL - V4.2.0

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive 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 Database
    3. SQL
    4. V4.2.0
    iconOceanBase Database
    SQL - V 4.2.0
    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
    SQL
    KV
    • V 4.6.0
    • 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

    High disk I/O on a node

    Last Updated:2025-12-04 09:32:54  Updated
    Share
    What is on this page
    Emergency handling procedure

    folded

    Share

    There are many reasons for high I/O pressure on a node, with traffic surge being the most common one. Other reasons include data migration and major compaction. To reduce the I/O pressure, you can downgrade some I/O-intensive tasks. This topic explains how to handle the issue in various scenarios.

    Emergency handling procedure

    If the disk I/O on a node is high, you can follow the emergency handling procedure below to reduce the I/O pressure.

    1. Pause the ongoing major compaction.

      If a major compaction is in progress on a node with high I/O pressure, you can pause the compaction. The command is as follows:

      ALTER SYSTEM SUSPEND MERGE [ZONE [=] 'zone'];
      

      After the I/O pressure is reduced, you can resume the major compaction if needed. The syntax is as follows:

      ALTER SYSTEM RESUME MERGE [ZONE [=] 'zone'];
      
    2. Pause the ongoing backup task.

      Use OCP to check whether a backup task is running on the node. If yes, you can pause the backup task to reduce the I/O pressure.

    3. Pause the ongoing data transmission or import/export task.

      You can use the TOPSQL feature or session management function in OCP to identify SQL statements that are writing data in batches. If you cannot quickly identify the batch processing task that is causing the high I/O pressure, you can use OMS to check whether a data transmission task is running on the node. If yes, you can pause the task based on your business needs to reduce the I/O pressure and resume it later.

      For more information, see Manage migration tasks.

      You can also use ODC to check whether a dump task is running on the node. Go to the Ticket tab in ODC and click Import to view the task list. When a dump task is pending execution, you can Abort it based on your business needs. Additionally, scheduled tasks in third-party big data platforms or the DataX component can also be paused on a task-by-task basis as needed.

    4. Reduce the number of threads for minor compaction.

      If the number of threads for minor compaction is high, the disk I/O will also increase. The parameter compaction_high_thread_score specifies the threshold for the number of threads for minor compaction. You can reduce the parameter value to lower the disk I/O. The default value is 0, which indicates adaptive determination. For 64-core systems, the value is typically 10. You can reduce the value based on your business needs. The modification of this parameter takes effect immediately without the need to restart the system. The syntax is as follows:

      ALTER SYSTEM SET compaction_high_thread_score = 5;
      

      After modifying the parameter, you can use the SHOW PARAMETERS statement to query whether the modification is successful.

      SHOW PARAMETERS LIKE 'compaction_high_thread_score ';
      
    5. Reduce the network bandwidth for background tasks.

      You can execute the following command to reduce the network bandwidth for background tasks:

      ALTER SYSTEM SET sys_bkgd_net_percentage=30;  --default value 60
      
    6. Implement SQL throttling or create indexes for high-load SQL statements.

      When the disk I/O is high, if you locate an SQL statement, you can add a hint max_concurrent to the execution plan of the SQL statement to limit its concurrency, thereby throttling the SQL statement.

      You can create indexes on tables to reduce full table scans caused by missing indexes, thereby lowering the I/O pressure.

    7. Cancel the ongoing index creation task.

      If a major index creation task is running in the cluster, you can cancel it. You can resume the task after the cluster is restored.

    Previous topic

    Analysis, diagnostics, and decision-making process
    Last

    Next topic

    Tenant memory full
    Next
    What is on this page
    Emergency handling procedure