- Schema:
For guidance on query performance when using organization-wide usage views, see Performance (Organization Usage).
SEMANTIC_ VARIABLES 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 variable 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_VARIABLE_ID | NUMBER | Internal, Snowflake-generated identifier for the variable. |
| SEMANTIC_VARIABLE_NAME | VARCHAR | Name of the variable. |
| SEMANTIC_VIEW_ID | NUMBER | Internal, Snowflake-generated identifier for the semantic view. |
| SEMANTIC_VIEW_NAME | VARCHAR | Name of the semantic view. |
| SEMANTIC_VIEW_SCHEMA_ID | NUMBER | Internal, Snowflake-generated identifier for the schema that the semantic view belongs to. |
| SEMANTIC_VIEW_SCHEMA_NAME | VARCHAR | Schema that the semantic view belongs to. |
| SEMANTIC_VIEW_DATABASE_ID | NUMBER | Internal, Snowflake-generated identifier for the database that the semantic view belongs to. |
| SEMANTIC_VIEW_DATABASE_NAME | VARCHAR | Database that the semantic view belongs to. |
| DATA_TYPE | VARCHAR | Data type of the variable. |
| DEFAULT_VALUE | VARCHAR | Default value of the variable, if specified. |
| CREATED | TIMESTAMP_LTZ | Date and time the variable was created. |
| 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 the variable was deleted. |
| COMMENT | VARCHAR | Description of the variable. |
Usage notes¶
- Latency for the view may be up to 24 hours.