Overview
px_node_policy is used to support independent scaling of PX compute node resources and indicates the candidate pool for compute nodes.
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 | String |
| Default Value | DATA |
| Value range |
|
| 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 PX compute node for the mysql tenant specified by the sys tenant can select all data nodes involved in the current SQL statement.
obclient> ALTER SYSTEM SET px_node_policy = "DATA" tenant = 'mysql';