- Schema:
USAGE_IN_CURRENCY_DAILY view¶
The USAGE_IN_CURRENCY_DAILY view in the ORGANIZATION_USAGE schema can be used to return the daily credit usage and usage in currency for an organization.
Columns¶
Column Name |
Data Type |
Description |
---|---|---|
ORGANIZATION_NAME |
VARCHAR |
Name of the organization. |
CONTRACT_NUMBER |
VARCHAR |
Snowflake contract number for the organization. |
ACCOUNT_NAME |
VARCHAR |
Name of the account where the usage was consumed. |
ACCOUNT_LOCATOR |
VARCHAR |
Locator for the account where the usage was consumed. |
REGION |
VARCHAR |
Name of the region where the account is located. |
SERVICE_LEVEL |
VARCHAR |
Service level (edition) of the Snowflake account (Standard, Enterprise, Business Critical, etc.). |
USAGE_DATE |
DATE |
Date (in UTC format) in which the usage took place. |
USAGE_TYPE |
VARCHAR |
Corresponds to the Usage Category column in a billing statement, which exists for backward compatibility only. Use the BILLING_TYPE, RATING_TYPE, SERVICE_TYPE, and IS_ADJUSTMENT columns for billing reconciliation. |
USAGE |
NUMBER (38,3) |
Total amount of usage charged based on SERVICE_TYPE. The unit of the USAGE depends on the RATING_TYPE. For example, when the RATING_TYPE is |
CURRENCY |
VARCHAR |
Currency of the usage. |
USAGE_IN_CURRENCY |
NUMBER (38,2) |
Total amount charged for the USAGE_TYPE for USAGE on the USAGE_DATE. |
BALANCE_SOURCE |
VARCHAR |
Source of the funds used to pay for the daily usage. The source can be one of the following:
|
BILLING_TYPE |
VARCHAR |
Indicates what is being charged or credited. Possible billing types include:
|
RATING_TYPE |
VARCHAR |
Indicates how the usage in the record is rated, or priced. Possible values include:
|
SERVICE_TYPE |
VARCHAR |
Type of usage. Possible service types include:
|
IS_ADJUSTMENT |
BOOLEAN |
Indicates whether the record is an adjustment to usage. |
Usage notes¶
Latency for the view may be up to 72 hours.
Until month close, data for a given day in a month can change to account for any end-of-month adjustments/credits, contract amendments, or Snowflake account transfers between organizations.
Customers who signed a contract through a Snowflake reseller cannot access data in this view.
Data is retained indefinitely.
This view does not include data generated prior to June 2020. To obtain data before this date, contact Snowflake Support.