Schema:

ACCOUNT_USAGE

TABLE_OPTIMA_FEATURES view

This Account Usage view displays whether Snowflake Optima Metadata, Indexing, or Clustering is applied to each table in the account. Use this dictionary view with TABLE_QUERY_PRUNING_HISTORY view and AUTOMATIC_CLUSTERING_HISTORY view to report on Optima feature use and query optimization benefits.

Each row represents a table and indicates which Optima capabilities apply to that table.

Columns

Column NameData TypeDescription
TABLE_IDNUMBERInternal/system-generated identifier for the table.
TABLE_NAMEVARCHARName of the table.
SCHEMA_IDNUMBERInternal/system-generated identifier for the schema that contains the table.
SCHEMA_NAMEVARCHARName of the schema that contains the table.
DATABASE_IDNUMBERInternal/system-generated identifier for the database that contains the table.
DATABASE_NAMEVARCHARName of the database that contains the table.
OPTIMA_METADATA_APPLIEDBOOLEANIndicates whether Snowflake Optima Metadata is applied to the table.
OPTIMA_INDEXING_APPLIEDBOOLEANIndicates whether Snowflake Optima Indexing is applied to the table.
OPTIMA_CLUSTERING_APPLIEDBOOLEANIndicates whether Snowflake Optima Clustering is applied to the table.

Usage notes

  • Users and roles that have been granted the OBJECT_VIEWER database role can access this view. For more information, see SNOWFLAKE database roles.