Schema:

ACCOUNT_USAGE

DATA_QUALITY_MONITORING_USAGE_HISTORY view

The DATA_QUALITY_MONITORING_USAGE_HISTORY view in the ACCOUNT_USAGE schema records the daily credit consumption for data metric function evaluations on tables in an account within the last 365 days (1 year).

See also:

Introduction to data quality checks

Columns

Column NameData TypeDescription
START_TIMETIMESTAMP_LTZStart of the specified time range.
END_TIMETIMESTAMP_LTZEnd of the specified time range.
CREDITS_USEDNUMBERNumber of credits billed for data metric function evaluations on the table.
TABLE_IDNUMBERInternal/system-generated identifier for the table monitored by data metric functions.
TABLE_NAMEVARCHARName of the table.
SCHEMA_IDNUMBERInternal/system-generated identifier for the schema that stores the table.
SCHEMA_NAMEVARCHARName of the schema that stores the table.
DATABASE_IDNUMBERInternal/system-generated identifier for the database that stores the table.
DATABASE_NAMEVARCHARName of the database that stores the table.

Usage notes

Latency for the view may be up to 180 minutes (3 hours).