Note
For V2.2.50, this parameter is available starting with V2.2.50.
Description
resource_hard_limit specifies the over-provisioning percentage of CPU resources.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 100 |
| Value range | [100, 10000] |
| 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
When allocating resources such as CPU and memory, the total resource amount is the actual amount multiplied by the over-provisioning percentage. The final server resource ratio cannot exceed resource_hard_limit.
Examples
Set the over-provisioning percentage of CPU resources to 100.
obclient> ALTER SYSTEM SET resource_hard_limit = 100;