Note
This parameter is available starting with V4.3.5 BP1.
Description
px_node_policy specifies the candidate pool for PX computing nodes, enabling independent scaling of PX computing 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
In the sys tenant, specify that PX computing 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';
