Skip to main content
Version: Stable-3.1

SHOW COMPUTE NODES

Description

View all compute nodes in your StarRocks cluster.

tip

Only users with the SYSTEM-level OPERATE privilege or the cluster_admin role can perform this operation.

Syntax

SHOW COMPUTE NODES

Output

The following table describes the parameters returned by this statement.

ParameterDescription
LastStartTimeThe last time at which the compute node starts.
LastHeartbeatThe last time at which the compute node sends a heartbeat.
AliveWhether the compute node is available or not.
SystemDecommissionedIf the value of the parameter is true, the compute node is removed from your StarRocks cluster. Before removal, the data in the compute node is cloned.
ErrMsgThe error message if the compute node fails to send a heartbeat.
StatusThe state of the compute node, which displays in the JSON format. Currently, you can only see the last time at which the compute node sends its state.