Overview
server_balance_cpu_mem_tolerance_percent specifies the tolerance for CPU and memory resource imbalance in the node load balancing strategy.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 5 |
| Value range | [1, 100] |
| Modifiable | Yes, you can use theALTER 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 CPU and memory resource imbalance to 5.
obclient> ALTER SYSTEM SET server_balance_cpu_mem_tolerance_percent = 5;