Schema:

ORGANIZATION_USAGE

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

REPLICATION_GROUP_USAGE_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 REPLICATION_GROUP_USAGE_HISTORY view in the ORGANIZATION_USAGE schema can be used to query the replication history for replication and failover groups in your organization within a specified date range. The view includes the name of the replication or failover group, credits consumed, and bytes transferred for replication.

Columns

Column NameData TypeDescription
ORGANIZATION_NAMEVARCHARName of the organization where the usage took place.
ACCOUNT_NAMEVARCHARName of the account where the usage took place.
ACCOUNT_LOCATORVARCHARName of the account locator.
REGIONVARCHARName of the region where the account is located.
USAGE_DATEDATEDate (in the UTC time zone) of this usage record.
REPLICATION_GROUP_NAMEVARCHARName of the replication or failover group.
REPLICATION_GROUP_IDNUMBERInternal/system-generated identifier for the replication or failover group.
CREDITS_USEDNUMBERTotal number of credits used for replication during the USAGE_DATE.
BYTES_TRANSFERREDNUMBERNumber of bytes transferred for replication during the USAGE_DATE.

Usage notes

  • Latency for the view may be up to 24 hours (1 day).
  • The data is retained for 365 days (1 year).