Note
This parameter is available starting with V4.3.5 BP1.
Description
px_node_policy specifies the candidate pool of PX compute nodes, which supports independent scaling of PX compute node resources.
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 |
|---|---|
| Parameter type | String |
| Default value | DATA |
| Value range |
|
| 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
The sys tenant specifies that the PX compute nodes of the mysql tenant can select all data nodes involved in the current SQL statement.
obclient> ALTER SYSTEM SET px_node_policy = "DATA" tenant = 'mysql';