Schema:

ORGANIZATION_USAGE

For guidance on query performance when using organization-wide usage views, see Performance (Organization Usage).

QUERY_ACCELERATION_HISTORY view

Organization Usage performance

When you query a specific view in the SNOWFLAKE.ORGANIZATION_USAGE schema, follow the organization-wide guidance in Performance (Organization Usage): bound every scan on history views, list columns explicitly, and use the time filter column table plus worked SQL and anti-patterns there.

The QUERY_ACCELERATION_HISTORY view in the ORGANIZATION_USAGE schema is used for querying the history of queries accelerated by the query acceleration service. The information returned by the view includes the warehouse name and the credits consumed by the query acceleration service.

Columns

Column NameData TypeDescription
ORGANIZATION_NAMEVARCHARName of the organization.
ACCOUNT_NAMEVARCHARName of the account (user-defined).
ACCOUNT_LOCATORVARCHARAccount locator of the account (system-defined).
REGIONVARCHARName of the region where the account is located.
USAGE_DATEDATEDate (in the UTC time zone) when queries were accelerated.
CREDITS_USEDNUMBERNumber of credits billed for the query acceleration service during the USAGE_DATE.
WAREHOUSE_IDNUMBERInternal/system-generated identifier for the warehouse that the queries were executed on.
WAREHOUSE_NAMEVARCHARName of the warehouse that the queries were executed on.

Usage notes

  • Latency for the view may be up to 24 hours (1 day).