OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Database

SQL - V4.6.0

    Download PDF

    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.6.0

    data_disk_write_limit_percentage

    Last Updated:2026-09-03 07:31:09

    Description
    Privilege requirements
    Attributes
    Considerations
    Examples
    References

    Note

    • For V4.3.x, this parameter is available starting with V4.3.1.
    • For V4.2.x, this parameter is available starting with V4.2.3.

    Description

    data_disk_write_limit_percentage specifies the percentage of the data disk usage that triggers write throttling. When the data disk usage reaches this threshold, the system throttles write operations to prevent the data disk from being full.

    Privilege requirements

    • Query the parameter

      The sys tenant and all user tenants can query this parameter by using the SHOW PARAMETERS statement or the GV$OB_PARAMETERS view.

    • Modify the parameter

      Only the sys tenant can modify this parameter. User tenants cannot modify this parameter.

    Attributes

    Attribute
    Description
    Type Int
    Default value 0, which indicates that write throttling is disabled.
    Value range [0, 100)
    Modifiable Yes. You can use the ALTER SYSTEM SET statement to modify the parameter.
    Effective upon OBServer node restart No. The setting takes effect immediately.

    Considerations

    • This parameter specifies the threshold for write throttling. When the data disk is full, write throttling is enabled to detect the issue early. If the data disk is full, you can delete tables to release space. Otherwise, the cluster cannot be recovered.

    • The value of this parameter must be greater than or equal to that of data_disk_usage_limit_percentage.

    • We recommend that you set this parameter to (1 - memstore_limit_size/data_disk_size) * 100%, where:

      • memstore_limit_size: the value of tenant memory_size * memstore_limit_percentage.
      • data_disk_size: the size of the data disk configured for the tenant.

    Examples

    Set the threshold for write throttling to 90%.

    obclient> ALTER SYSTEM SET data_disk_write_limit_percentage=90;
    

    References

    memstore_limit_percentage

    on this page
    Description
    Privilege requirements
    Attributes
    Considerations
    Examples
    References