Schema:

ORGANIZATION_USAGE

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

DATA_TRANSFER_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 DATA_TRANSFER_HISTORY view in the ORGANIZATION_USAGE schema can be used to query the history of data transferred from Snowflake tables within a specified date range. The view includes transfers to or from the same cloud provider and region, as well as transfers to other cloud providers (Snowflake on AWS, Google Cloud Platform, or Microsoft Azure) and geographical regions. The view returns the history for your entire Snowflake organization.

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 transfer history record.
SOURCE_CLOUDVARCHARName of the cloud provider for the platform where the data transfer originated: Amazon Web Services (AWS), Google Cloud Platform, or Microsoft Azure.
SOURCE_REGIONVARCHARRegion where the data transfer originated.
TARGET_CLOUDVARCHARName of the cloud provider for the platform where the data was sent: AWS, Google Cloud Platform, or Microsoft Azure.
TARGET_REGIONVARCHARRegion where the data was sent.
BYTES_TRANSFERREDVARIANTNumber of bytes transferred during the usage date.
TRANSFER_TYPEVARCHARType of operation that caused the transfer. COPY, COPY_FILES, DATA_LAKE, REPLICATION, EXTERNAL_FUNCTION, INTERNAL.

Usage notes

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