Note
For V4.3.5 BP1, this parameter is available starting with V4.3.5 BP1.
Description
px_node_policy specifies the candidate pool for PX computation nodes, enabling independent scaling of PX computation node resources.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| 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 PX computation 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';