Schema:

ACCOUNT_USAGE

COMPUTE_POOLS view

Use this view to get a historical view of compute pools (creation, deletion) in your account for the last 365 days.

Columns

Column nameData typeDescription
NAMEVARCHARCompute pool name.
IS_SUSPENDEDBOOLEANWhether the pool is currently suspended.
MIN_NODESNUMBERMinimum number of nodes in the compute pool.
MAX_NODESNUMBERMaximum number of nodes in the compute pool.
INSTANCE_FAMILYVARCHARMachine type of nodes in the compute pool.
AUTO_SUSPEND_SECSNUMBERNumber of seconds of inactivity after which the compute pool is automatically suspended.
AUTO_RESUMEBOOLEANWhether the compute pool is automatically resumed when Snowflake attempts to start a service or job.
CREATEDTIMESTAMPDate and time when the compute pool was created.
LAST_RESUMEDTIMESTAMPDate and time when the suspended compute pool was last resumed.
LAST_ALTEREDTIMESTAMPDate and time when the compute pool was last updated.
DELETEDTIMESTAMPDate and time when the compute pool was deleted.
OWNERVARCHARRole name that owns the compute pool.
OWNER_ROLE_TYPEVARCHARType of the role that owns the compute pool.
IS_EXCLUSIVEBOOLEANWhether the compute pool was created for an application.
APPLICATION_NAMEVARCHARApplication name for which the compute pool was created. Null if the compute pool was not created for an application or if the application no longer exists.
APPLICATION_IDVARCHARApplication ID for which the compute pool was created. Null if the compute pool was not created for an application.
COMMENTVARCHARA comment.

Usage notes

  • Latency for the view can be up to 180 minutes (3 hours).