Overview
px_task_size specifies the amount of data processed by each task in the SQL parallel query engine. It has no default unit and must be specified when configured.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Capacity |
| Default Value | 2M |
| Value range | [1K, +∞) |
| 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
Run the following command to set the data volume processed per task of the SQL parallel query engine to 4 KB:
obclient> ALTER SYSTEM SET px_task_size='4k';