Note
For V4.2.0, this parameter is available starting with V4.2.0.
Description
log_disk_throttling_percentage specifies the percentage of unrecoverable log disk space that triggers log write throttling.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 60 |
| Value range | [40, 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
Both log_disk_throttling_maximum_duration and log_disk_throttling_percentage affect log throttling.
- A smaller value of
log_disk_throttling_percentagemeans that log throttling starts earlier. - A larger value of
log_disk_throttling_maximum_durationmeans that log throttling lasts longer and is more severe.
For scenarios with a significant gap between write pressure and dump speed, you can try to set log_disk_throttling_percentage to a smaller value and log_disk_throttling_maximum_duration to a larger value. We recommend that you prioritize increasing log_disk_throttling_maximum_duration.
Examples
Set the percentage of unrecoverable log disk space that triggers log write throttling to 80.
obclient> ALTER SYSTEM SET log_disk_throttling_percentage=80;
