Schema:

ACCOUNT_USAGE

NOTEBOOKS_CONTAINER_RUNTIME_HISTORY view

You can use the NOTEBOOKS_CONTAINER_RUNTIME_HISTORY view in the ACCOUNT_USAGE schema to return the hourly credit usage for notebooks running on Snowpark Container Services within the last 365 days (1 year).

Columns

Column NameData TypeDescription
START_TIMETIMESTAMP_LTZThe date and beginning of the hour (in the local time zone) in which the usage took place.
END_TIMETIMESTAMP_LTZThe date and end of the hour (in the local time zone) in which the usage took place.
NOTEBOOK_NAMEVARCHARThe name of the notebook (running on Snowpark Container Services) that incurred the credit usage.
NOTEBOOK_IDNUMBERThe ID of the notebook that incurred the credit usage.
USER_NAMEVARCHARThe name of the user associated with the notebook. NULL if the notebook was not run interactively.
USER_IDNUMBERThe ID of the user associated with the notebook. NULL if the notebook was not run interactively.
COMPUTE_POOL_NAMEVARCHARThe name of the compute pool associated with the notebook.
COMPUTE_POOL_IDNUMBERThe ID of the compute pool associated with the notebook.
SERVICE_NAMEVARCHARThe name of the service associated with the notebook.
SERVICE_IDNUMBERThe ID of the service associated with the notebook.
NOTEBOOK_EXECUTION_TIME_SECSNUMBERThe run time of the notebook in the given hour.
CREDITSNUMBER(38, 9)The number of credits that the notebook used in the hour.

Usage notes

  • Latency for the view might be up to 180 minutes (3 hours).
  • The view provides hourly container notebook credit usage for an account within the last 365 days (1 year).
  • The credit rate usage is determined based on the machine type (instance family) of the compute pool, as outlined in the consumption table.