Schema:

ACCOUNT_USAGE

MATERIALIZED_VIEW_REFRESH_HISTORY View

This Account Usage view can be used to query the materialized views refresh history. The information returned by the view includes the view name and credits consumed each time a materialized view is refreshed.

Columns

Column Name

Data Type

Description

START_TIME

TIMESTAMP_LTZ

Start of the specified time range.

END_TIME

TIMESTAMP_LTZ

End of the specified time range.

CREDITS_USED

TEXT

Number of credits billed for materialized view maintenance during the START_TIME and END_TIME window.

TABLE_ID

NUMBER

Internal/system-generated identifier for the materialized view.

TABLE_NAME

TEXT

Name of the materialized view.

SCHEMA_ID

NUMBER

Internal/system-generated identifier for the schema that contains the materialized view.

SCHEMA_NAME

TEXT

Name of the schema that contains the materialized view.

DATABASE_ID

NUMBER

Internal/system-generated identifier for the database that contains the materialized view.

DATABASE_NAME

TEXT

Name of the database that contains the materialized view.

Usage Notes

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

Back to top