Note
-
For V4.1.0 and later, this parameter is available at the tenant level.
- For V2.2.50 and later, this parameter is available.
Description
px_workers_per_cpu_quota specifies the number of parallel execution threads that can be allocated to each CPU.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Type | Int |
| Default value | 10 |
| Value range | [0, 20] |
| 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. |
Examples
Set the number of parallel execution threads that can be allocated to each CPU to 10.
obclient> ALTER SYSTEM SET px_workers_per_cpu_quota =10;
