px_node_policy

2026-03-06 07:02:42  Updated

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 sys tenant and all user tenants can query this parameter by using the SHOW PARAMETERS statement or the GV$OB_PARAMETERS view.

  • Modify the parameter

    The sys tenant and user tenants can modify this parameter.

Attributes

Attribute Description
Type String
Default value DATA
Value range
  • DATA: PX computation nodes can select all data nodes involved in the current SQL statement.
  • ZONE: PX computation nodes can select all nodes of the current tenant in the zone involved in the current SQL statement.
  • CLUSTER: PX computation nodes can select all nodes of the current tenant in the cluster.
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';

Contact Us