Schema:

ORGANIZATION_USAGE

RESOURCE_MONITORS view

Important

This view is only available in the organization account. For more information, see Premium views in the organization account.

This Organization Usage view displays the resource monitors that have been created in the accounts within the organization. It does not include resource monitors from reader accounts.

Columns

Organization-level columns

Column NameData TypeDescription
ORGANIZATION_NAMEVARCHARName of the organization.
ACCOUNT_LOCATORVARCHARSystem-generated identifier for the account.
ACCOUNT_NAMEVARCHARUser-defined identifier for the account.

Additional columns

ColumnData TypeDescription
RESOURCE_MONITOR_IDNUMBERSystem identifier.
NAMEVARCHARName of the resource monitor.
CREATEDTIMESTAMP_LTZDate and time when the resource monitor was created.
CREDIT_QUOTAVARIANTMonthly credit quota for the resource monitor.
USED_CREDITSVARIANTNumber of credits used in the current monthly billing cycle by all the warehouses associated with the resource monitor.
REMAINING_CREDITSFLOATNumber of credits still available to use in the current monthly billing cycle.
OWNERVARCHARName of the role that owns the resource monitor.
NOTIFYNUMBERPercentage of the credit quota. When consumption reaches this threshold, notifications are sent.
SUSPENDNUMBERPercentage of the credit quota. When consumption reaches this threshold, assigned warehouses are suspended but currently running queries are allowed to complete.
SUSPEND_IMMEDIATENUMBERPercentage of the credit quota. When consumption reaches this threshold, all assigned warehouses are suspended immediately, including those running queries.
WAREHOUSESVARCHARNames of the warehouses that are associated with the resource monitor.

Usage notes

  • Latency for the view may be up to 24 hours.
  • The view only displays objects for which the current role for the session has been granted access privileges.