Note
This parameter is available starting with V2.2.50.
Description
server_balance_cpu_mem_tolerance_percent specifies the tolerance for CPU and memory resource imbalance in the node load balancing strategy.
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
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 5 |
| Value range | [1, 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. |
Examples
Set the tolerance for CPU and memory resource imbalance to 5.
obclient> ALTER SYSTEM SET server_balance_cpu_mem_tolerance_percent = 5;