SNOWFLAKE Database

Snowflake provides a system-defined, read-only shared database named SNOWFLAKE that contains metadata and historical usage data about the objects in your organization and accounts. The SNOWFLAKE database is an example of Secure Data Sharing, and provides object metadata and other usage metrics for your organization and accounts.

In each account, the SNOWFLAKE database contains the following schemas (also read-only):

ACCOUNT_USAGE:

Views that display object metadata and usage metrics for your account.

ALERT:

Functions that are intended for use in alert objects.

CORE:

Contains views and other schema objects to support select Snowflake features, such as the system tags used with classifying data and the system data metric functions used to measure data quality.

DATA_PRIVACY:

Currently, this schema only contains the custom_classifier class.

DATA_SHARING_USAGE:

Views that display object metadata and usage metrics related to listings published in the Snowflake Marketplace or a data exchange.

INFORMATION_SCHEMA:

This schema is automatically created in all databases. In a shared database such as SNOWFLAKE, this schema doesn’t serve a purpose and can be disregarded.

LOCAL:

Currently, this schema only contains one view, DATA_QUALITY_MONITORING_RESULTS.

ORGANIZATION_USAGE:

Views that display historical usage data across all the accounts in your organization.

READER_ACCOUNT_USAGE:

Similar to ACCOUNT_USAGE, but only contains views relevant to the reader accounts (if any) provisioned for the account.

ML:

Contains ML functions, a suite of analysis tools built by Snowflake.

Some SNOWFLAKE schemas include classes. A class is an extensible object type that encapsulates object data and code. For more information, see Snowflake Classes.

Important

By default, the SNOWFLAKE database is visible to all users. This does not mean all objects within the SNOWFLAKE database are accessible to all users.

Objects that are not meant to be accessible by default remain inaccessible unless access is explicitly granted by a user with the ACCOUNTADMIN role, including access to the ACCOUNT_USAGE, READER_ACCOUNT_USAGE, ORGANIZATION_USAGE, and DATA_SHARING_USAGE schemas.

Privileges to perform other actions on these views can be granted to other roles in your account. For more information, see Enabling the SNOWFLAKE Database Usage for Other Roles.

Next Topics: