Note
For V2.2.50, this parameter is available starting with V2.2.50.
Description
server_cpu_quota_min specifies the minimum CPU quota available to the system. The system reserves this quota.
Privilege requirements
Query the parameter
systenant and all user tenants can query the parameter by executing theSHOW PARAMETERSstatement or querying theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify the parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Double |
| Default value | 0, which indicates adaptive adjustment
Note
|
| Value range | [0, 16]
Note
|
| 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.
NoteFor V4.1.0, the setting takes effect immediately instead of after an OBServer node restart. |
Considerations
When the value is 0, the minimum CPU quota is adaptively adjusted based on the value of cpu_count:
- If
cpu_countis less than 8 cores, the minimum CPU quota is adaptively adjusted to 1 core. - If 8 ≤
cpu_count< 16, the minimum CPU quota is adaptively adjusted to 2 cores. - If 16 ≤
cpu_count< 32, the minimum CPU quota is adaptively adjusted to 3 cores. - If 32 ≤
cpu_count, the minimum CPU quota is adaptively adjusted to 4 cores.
Examples
Set the maximum CPU quota to the adaptive adjustment.
obclient> ALTER SYSTEM SET server_cpu_quota_max=0;