Note
This parameter is available starting with V2.2.50.
Description
px_workers_per_cpu_quota specifies the number of parallel execution threads that can be allocated on 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
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Tnt |
| 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 on each CPU to 10.
obclient> ALTER SYSTEM SET px_workers_per_cpu_quota =10;