Note
This parameter is available starting with V2.2.50.
Description
server_cpu_quota_min specifies the minimum CPU quota that can be used by the system. The system automatically reserves this quota.
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 | Double |
| Default value | 0, indicating 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 the OBServer node restarts. |
Considerations
If the value is 0, the system adaptively adjusts the minimum CPU quota based on the value of the cpu_count parameter:
- If
cpu_countis less than 8, the minimum CPU quota is adaptively adjusted to 1. - If 8 ≤
cpu_count< 16, the minimum CPU quota is adaptively adjusted to 2. - If 16 ≤
cpu_count< 32, the minimum CPU quota is adaptively adjusted to 3. - If
cpu_countis 32 or more, the minimum CPU quota is adaptively adjusted to 4.
Examples
Adaptively adjust the maximum CPU quota.
obclient> ALTER SYSTEM SET server_cpu_quota_max=0;