- Schema:
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 Name | Data Type | Description |
|---|---|---|
| ORGANIZATION_NAME | VARCHAR | Name of the organization where the usage took place. |
| ACCOUNT_NAME | VARCHAR | Name of the account where the usage took place. |
| ACCOUNT_LOCATOR | VARCHAR | Name of the account locator. |
| REGION | VARCHAR | Name of the region where the account is located. |
| USAGE_DATE | DATE | Date (in the UTC time zone) of this transfer history record. |
| SOURCE_CLOUD | VARCHAR | Name of the cloud provider for the platform where the data transfer originated: Amazon Web Services (AWS), Google Cloud Platform, or Microsoft Azure. |
| SOURCE_REGION | VARCHAR | Region where the data transfer originated. |
| TARGET_CLOUD | VARCHAR | Name of the cloud provider for the platform where the data was sent: AWS, Google Cloud Platform, or Microsoft Azure. |
| TARGET_REGION | VARCHAR | Region where the data was sent. |
| BYTES_TRANSFERRED | VARIANT | Number of bytes transferred during the usage date. |
| TRANSFER_TYPE | VARCHAR | Type 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).