SHOW NODES IN COMPUTE POOL

statementpartialContainer services & dev tooling

docs.snowflake.com ↗

Lists the nodes currently provisioned in a specified compute pool, including the instance family backing each node. Use this command to see which primary or backup instance families are actually in use when backup instance types are configured for a pool. Snowpark Container Services is available to accounts in AWS, Microsoft Azure, and Google Cloud Platform commercial regions, with some exceptions. For more information, see Available regions and considerations.

Syntax

supportedpartialnot supportednot scored

SHOW NODES IN COMPUTE POOL <name>
             [ LIKE '<pattern>' ]
             [ LIMIT <rows> ]

Parameters

NameRequiredDescription
nameName of the compute pool whose nodes you want to list. The name must identify an existing compute pool in the current account.
LIKE 'pattern'Optionally filters the command output by object name. The filter uses case-insensitive pattern matching, with support for SQL wildcard characters (% and _). For example, the following patterns return the same results: ... LIKE '%testing%' ... ... LIKE '%TESTING%' ... Default: No value (no filtering is applied to the output).
LIMIT rowsOptionally limits the maximum number of rows returned. The actual number of rows returned might be less than the specified limit. For example, the number of existing objects is less than the specified limit. Default: No value (no limit is applied to the output).

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes USAGE | Compute pool | None For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

Output

The command returns one row for each node currently provisioned in the compute pool. The output includes the following columns: Column | Description node_id | Unique identifier for the node in the compute pool. instance_family | The actual instance family allocated for the node (for example, GEN_X64_G2_4, GEN_X64_G2_8). When backup instance types are configured and a fallback is active, this value may differ from the pool’s primary INSTANCE_FAMILY. created_on | Date and time when the node was provisioned. placement_group | The availability zone in which the node is provisioned. vcpu | Number of vCPUs available to services on this node. memory_gib | Memory in GiB available to services on this node. storage_gib | Storage in GiB available to services on this node. gpu | Name of the GPU on this node, if applicable. Otherwise, an empty string. gpu_count | Number of GPUs on this node, if applicable. Otherwise, 0. gpu_memory_gib | Total GPU memory available per instance in GiB, if applicable. Otherwise, 0.

Known gaps

Parts not fully supported, and recorded divergences from Snowflake.

See also

Referenced by