Overview
balancer_tolerance_percentage specifies the tolerance for disk imbalance among log streams within a tenant in the partition balancing strategy. When the relative disk usage difference between any two log streams exceeds this percentage, disk-based partition balancing is triggered.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can execute theSHOW PARAMETERSstatement to query this parameter.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 10 |
| Value range | 1, 100) |
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the tolerance for disk imbalance between log streams within a tenant to 10.
obclient> ALTER SYSTEM SET balancer_tolerance_percentage=10;
References
[Balancing within a tenant