Checking Cluster Status

1.1 Viewing Cluster Status

mxstate     # Display cluster status
mxstate -s  # Display the status of the entire YMatrix cluster
mxstate -m  # List mirror segments
mxstate -f  # Display standby master information

1.2 Viewing and Modifying Configuration Parameters

Display configuration values:

gpconfig -s {GUC}

# Example: View the maximum allowed number of connections
gpconfig -s max_connections

Modify configuration values:

gpconfig -c {GUC} -v {Value} -m {Value}  # -m specifies the value for the master node; -v specifies the value for segment nodes
gpconfig -c {GUC} -v {Value}             # If -m is omitted, the master node uses the same value as the segments

# Examples:
gpconfig -c max_connections -v 1000 -m 300
gpconfig -c shared_buffers -v 2GB

For more information, see Basic Cluster Management.