Overview
server_cpu_quota_min specifies the minimum CPU quota that the system can use. The system automatically reserves this quota.
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 | Double |
| Default Value | 0, |
| Value range | [0, 16] |
| 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. |
Usage instructions
When the value is 0, adaptive adjustment is performed based on the server's cpu_count:
- If
cpu_count< 8c, thenserver_cpu_quota_minis adaptively adjusted to 1c; - If 8c ≤
cpu_count< 16c, thenserver_cpu_quota_minis adaptively adjusted to 2c; - If 16c ≤
cpu_count< 32c, thenserver_cpu_quota_minis adaptively adjusted to 3c; - If 32c ≤
cpu_count, thenserver_cpu_quota_minis adaptively adjusted to 4c.
Configuration example
The system is configured to adaptively adjust the maximum CPU quota.
obclient> ALTER SYSTEM SET server_cpu_quota_max=0;