- Schema:
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:
Columns¶
Organization-level columns
| Column Name | Data Type | Description |
|---|---|---|
| ORGANIZATION_NAME | VARCHAR | Name of the organization. |
| ACCOUNT_LOCATOR | VARCHAR | System-generated identifier for the account. |
| ACCOUNT_NAME | VARCHAR | User-defined identifier for the account. |
Additional columns
| Column Name | Data Type | Description |
|---|---|---|
| SEMANTIC_FACT_ID | NUMBER | ID of the fact in the semantic view. |
| SEMANTIC_FACT_NAME | VARCHAR | Name of the fact in the semantic view. |
| SEMANTIC_TABLE_ID | NUMBER | ID of the semantic table the fact belongs to. |
| SEMANTIC_TABLE_NAME | VARCHAR | Name of the semantic table the fact belongs to. |
| SEMANTIC_VIEW_ID | NUMBER | ID of the semantic view. |
| SEMANTIC_VIEW_NAME | VARCHAR | Name of the semantic view. |
| SEMANTIC_VIEW_SCHEMA_ID | NUMBER | ID of the schema to which the semantic view belongs. |
| SEMANTIC_VIEW_SCHEMA_NAME | VARCHAR | Schema to which the semantic view belongs. |
| SEMANTIC_VIEW_DATABASE_ID | NUMBER | ID of the database to which the semantic view belongs. |
| SEMANTIC_VIEW_DATABASE_NAME | VARCHAR | Database to which the semantic view belongs. |
| DATA_TYPE | VARCHAR | Data type of the fact expression. |
| EXPRESSION | VARCHAR | The SQL expression used to calculate the fact. |
| SYNONYMS | ARRAY | List of the synonyms for the fact. |
| CREATED | TIMESTAMP_LTZ | Creation time of the fact. |
| LAST_ALTERED | TIMESTAMP_LTZ | Date and time the object was last altered by a DDL or background metadata operation. |
| DELETED | TIMESTAMP_LTZ | Date and time when the fact was dropped. |
| COMMENT | VARCHAR | Description of the fact. |
| LABELS | ARRAY | List of labels associated with the fact. |
| ACCESS_MODIFIER | VARCHAR | Access modifier for the fact. |
| LOD_DIMENSIONS | ARRAY | List of dimensions that define the level of detail for the fact. |
| LOD_DIMENSION_TYPE | VARCHAR | Type of level-of-detail dimension applied to the fact. |
Usage notes¶
- Latency for the view may be up to 24 hours.