- Schemas:
OPENFLOW_ USAGE_ HISTORY view¶
This Account Usage view returns the hourly Openflow runtime credit usage for an account within the last 365 days (1 year).
Note
This view returns records only for Openflow BYOC deployments. It doesn’t return records for Openflow Snowflake Deployments, which are billed under the OPENFLOW_COMPUTE_SNOWFLAKE service type. To track the cost of an Openflow Snowflake Deployment, see Openflow Snowflake Deployment cost and scaling considerations.
Columns¶
| Column Name | Data Type | Description |
|---|---|---|
| START_TIME | TIMESTAMP_LTZ | The date and beginning of the hour (in the local time zone) in which the usage took place. |
| END_TIME | TIMESTAMP_LTZ | The date and end of the hour (in the local time zone) in which the usage took place. |
| DATA_PLANE_ID | VARCHAR | ID of the data plane which incurred the credit usage. |
| DATA_PLANE_TYPE | VARCHAR | Type of the data plane. The only value currently returned is BYOC. |
| DATA_PLANE_CREDITS_USED | NUMBER | Number of compute credits the data plane used in the hour. This value is always 0, because BYOC data planes run on infrastructure you manage and incur no Snowflake compute credits. For BYOC, you’re charged credits only for runtime usage. |
| RUNTIME_KEY | VARCHAR | Key identifying the runtime which incurred the credit usage. |
| RUNTIME_NAME | VARCHAR | Name of the runtime which incurred the credit usage. |
| ENTITY_ID | NUMBER | ID of the Openflow object that incurred the credit usage. For gen 2 runtimes, this is the ID of the runtime. For gen 1 runtimes, this is the ID of the runtime’s integration. Contains a NULL value when Snowflake doesn’t know the entity, such as for usage recorded before entity attribution was turned on for your account. |
| ENTITY_TYPE | VARCHAR | Type of the object identified by
When |
| RUNTIME_CREDITS_USED | NUMBER | Number of compute credits the runtime used in the hour. This does not include the credits used by the data plane or the credits used to ingest the data in Snowflake. |
Usage notes¶
ENTITY_IDandENTITY_TYPEare populated only for usage recorded after entity attribution was turned on for your account. Earlier usage has a NULLENTITY_ID.- Runtime and integration IDs can overlap. Always use
ENTITY_TYPEtogether withENTITY_IDto identify the object. - A runtime can have more than one row for the same hour. This happens when the hour spans the point where entity
attribution was turned on, because usage processed before that point has a NULL
ENTITY_ID. Usage can also have a NULLENTITY_IDwhen Openflow doesn’t know the entity for it.