Overview
px_workers_per_cpu_quota specifies the number of parallel execution threads that can be allocated to each CPU.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 10 |
| Value range | [0, 20] |
| 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. |
Configuration example
The number of parallel execution threads that can be allocated to each CPU is set to 10.
obclient> ALTER SYSTEM SET px_workers_per_cpu_quota =10;