- Schema:
METERING_DAILY_HISTORY view¶
The METERING_DAILY_HISTORY view in the ACCOUNT_USAGE schema can be used to return the daily credit usage and a cloud services rebate for an account within the last 365 days (1 year).
Note
As of March 1, 2026, Snowflake no longer bills customers for hybrid table requests; however, you can still query this view to see historical consumption data. Any new data in the view as of March 1, 2026, will not be billed to customers.
Columns¶
Column Name |
Data Type |
Description |
|---|---|---|
SERVICE_TYPE |
VARCHAR |
Type of service that is consuming credits. The following list includes many, but not all, of the possible service types:
|
USAGE_DATE |
DATE |
Date when the usage took place. |
CREDITS_USED_COMPUTE |
NUMBER |
Number of credits billed for warehouses, serverless compute, and Openflow resources in the day. |
CREDITS_USED_CLOUD_SERVICES |
NUMBER |
Number of credits billed for cloud services in the day. Always |
CREDITS_USED |
NUMBER |
Sum of CREDITS_USED_COMPUTE and CREDITS_USED_CLOUD_SERVICES. |
CREDITS_ADJUSTMENT_CLOUD_SERVICES |
NUMBER |
Number of credits adjusted for cloud services. This is a negative value (e.g. |
CREDITS_BILLED |
NUMBER |
Total number of credits billed for the account in the day. This is a sum of CREDITS_USED_COMPUTE, CREDITS_USED_CLOUD_SERVICES, and CREDITS_ADJUSTMENT_CLOUD_SERVICES. |
Usage notes¶
Latency for the view may be up to 180 minutes (3 hours).
If you want to reconcile the data in this view with a corresponding view in the ORGANIZATION USAGE schema, you must first set the timezone of the session to UTC. Before querying the Account Usage view, execute:
Example¶
Usage for cloud services is billed only if the daily consumption of cloud services exceeds 10% of the daily usage of virtual warehouses. This query returns how much of cloud services consumption was actually billed for a particular day, ordered by the highest billed amount.