Schema:

ORGANIZATION_USAGE

For guidance on query performance when using organization-wide usage views, see Performance (Organization Usage).

SEMANTIC_DIMENSIONS view

Important

This view is only available in the organization account. For more information, see Premium views in the organization account.

Organization Usage performance

When you query a specific view in the SNOWFLAKE.ORGANIZATION_USAGE schema, follow the organization-wide guidance in Performance (Organization Usage): bound every scan on history views, list columns explicitly, and use the time filter column table plus worked SQL and anti-patterns there.

This Organization Usage view displays a row for each dimension defined in a semantic view.

See also:

SEMANTIC_DIMENSIONS view

Columns

Organization-level columns

Column NameData TypeDescription
ORGANIZATION_NAMEVARCHARName of the organization.
ACCOUNT_LOCATORVARCHARSystem-generated identifier for the account.
ACCOUNT_NAMEVARCHARUser-defined identifier for the account.

Additional columns

Column NameData TypeDescription
SEMANTIC_DIMENSION_IDNUMBERID of the dimension in the semantic view.
SEMANTIC_DIMENSION_NAMEVARCHARName of the dimension in the semantic view.
SEMANTIC_TABLE_IDNUMBERID of the semantic table the dimension belongs to.
SEMANTIC_TABLE_NAMEVARCHARName of the semantic table the dimension belongs to.
SEMANTIC_VIEW_IDNUMBERID of the semantic view.
SEMANTIC_VIEW_NAMEVARCHARName of the semantic view.
SEMANTIC_VIEW_SCHEMA_IDNUMBERID of the schema to which the semantic view belongs.
SEMANTIC_VIEW_SCHEMA_NAMEVARCHARSchema to which the semantic view belongs.
SEMANTIC_VIEW_DATABASE_IDNUMBERID of the database to which the semantic view belongs.
SEMANTIC_VIEW_DATABASE_NAMEVARCHARDatabase to which the semantic view belongs.
DATA_TYPEVARCHARData type of the dimension expression.
EXPRESSIONVARCHARThe SQL expression used to calculate the dimension.
SYNONYMSARRAYList of the synonyms for the dimension.
CREATEDTIMESTAMP_LTZCreation time of the dimension.
LAST_ALTEREDTIMESTAMP_LTZDate and time the object was last altered by a DDL or background metadata operation.
DELETEDTIMESTAMP_LTZDate and time when the dimension was dropped.
COMMENTVARCHARDescription of the dimension.
CORTEX_SEARCH_SERVICE_DATABASEVARCHARName of the database containing the Cortex Search Service that the dimension uses.
CORTEX_SEARCH_SERVICE_SCHEMAVARCHARName of the schema containing the Cortex Search Service that the dimension uses.
CORTEX_SEARCH_SERVICEVARCHARName of the Cortex Search Service that the dimension uses.
CORTEX_SEARCH_SERVICE_COLUMNVARCHARName of the column that the Cortex Search Service allows you to search on.
LABELSARRAYList of labels associated with the dimension.
LOD_DIMENSIONSARRAYList of dimensions that define the level of detail for the dimension.
LOD_DIMENSION_TYPEVARCHARType of level-of-detail dimension applied to the dimension.

Usage notes

  • Latency for the view may be up to 24 hours.