Schema:

ORGANIZATION_USAGE

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

SEMANTIC_FACTS 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 fact defined in a semantic view.

See also:

SEMANTIC_FACTS 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_FACT_IDNUMBERID of the fact in the semantic view.
SEMANTIC_FACT_NAMEVARCHARName of the fact in the semantic view.
SEMANTIC_TABLE_IDNUMBERID of the semantic table the fact belongs to.
SEMANTIC_TABLE_NAMEVARCHARName of the semantic table the fact 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 fact expression.
EXPRESSIONVARCHARThe SQL expression used to calculate the fact.
SYNONYMSARRAYList of the synonyms for the fact.
CREATEDTIMESTAMP_LTZCreation time of the fact.
LAST_ALTEREDTIMESTAMP_LTZDate and time the object was last altered by a DDL or background metadata operation.
DELETEDTIMESTAMP_LTZDate and time when the fact was dropped.
COMMENTVARCHARDescription of the fact.
LABELSARRAYList of labels associated with the fact.
ACCESS_MODIFIERVARCHARAccess modifier for the fact.
LOD_DIMENSIONSARRAYList of dimensions that define the level of detail for the fact.
LOD_DIMENSION_TYPEVARCHARType of level-of-detail dimension applied to the fact.

Usage notes

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