Note
For V4.2.0, this parameter is available starting with V4.2.0.
Description
log_disk_throttling_percentage specifies the percentage of non-reclaimable log disk space at which log writing is throttled.
Privilege requirements
Query the parameter
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
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_percentage and log_disk_throttling_maximum_duration affect log throttling.
- A smaller value of
log_disk_throttling_percentagemeans log throttling starts earlier. - A larger value of
log_disk_throttling_maximum_durationmeans the system sustains log throttling for a longer time and exerts greater throttling.
For scenarios with a significant write pressure and slow log dump speed, you can reduce the value of log_disk_throttling_percentage and increase the value of log_disk_throttling_maximum_duration. We recommend that you increase log_disk_throttling_percentage first.
Examples
Set the percentage of non-reclaimable log disk space at which log writing is throttled to 80.
obclient> ALTER SYSTEM SET log_disk_throttling_percentage=80;