Schema:

ORGANIZATION_USAGE

MATERIALIZED_VIEW_REFRESH_HISTORY view

The MATERIALIZED_VIEW_REFRESH_HISTORY view in the ORGANIZATION_USAGE schema is used for querying the materialized views refresh history for a specified materialized view within a specified date range. The information returned by the function includes the view name and credits consumed each time a materialized view is refreshed.

Columns

Column NameData TypeDescription
ORGANIZATION_NAMEVARCHARName of the organization.
ACCOUNT_NAMEVARCHARName of the account (user-defined).
ACCOUNT_LOCATORVARCHARLocator of the account (system-defined).
REGIONVARCHARName of the region where the account is located.
USAGE_DATEDATEDate (in the UTC time zone) of this refresh history record.
CREDITS_USEDNUMBERNumber of credits billed for materialized view maintenance during the USAGE_DATE.
TABLE_IDNUMBERInternal/system-generated identifier for the materialized view.
TABLE_NAMEVARCHARName of the materialized view.
SCHEMA_IDNUMBERInternal/system-generated identifier for the schema that contains the materialized view.
SCHEMA_NAMEVARCHARName of the schema that contains the materialized view.
DATABASE_IDNUMBERInternal/system-generated identifier for the database that contains the materialized view.
DATABASE_NAMEVARCHARName of the database that contains the materialized view.

Usage notes

  • Latency for the view may be up to 24 hours (1 day).
  • The data is retained for 365 days (1 year).