Snowsight templates¶
概述
Snowsight templates provide users with interactive walkthroughs for exploring Snowflake features and use cases. Templates are available as executable worksheets, notebooks, or Streamlit apps, and come pre-configured with sample data and the required permissions.
Templates run in a dedicated SNOWFLAKE_LEARNING environment, which includes a pre-provisioned role (SNOWFLAKE_LEARNING_ROLE), an X-Small
compute warehouse (SNOWFLAKE_LEARNING_WH), and a database (SNOWFLAKE_LEARNING_DB). Costs associated with
the SNOWFLAKE_LEARNING_WH and SNOWFLAKE_LEARNING_DB are managed in the same way as any other object owned
by ACCOUNTADMIN. See Monitor credit usage with budgets for details on monitoring and optimizing warehouse compute costs.
Note
SNOWFLAKE_LEARNING_WH is owned by the ACCOUNTADMIN role. Standard usage costs apply.
模板具备以下优势:
- 在不影响生产数据的情况下安全地尝试新功能和新用例。
- 包含示例数据,可快速启动并运行。
- 提供简洁、独立的体验,通常可在五分钟内完成。
Snowflake automatically provisions the SNOWFLAKE_LEARNING environment for both new and existing accounts as part of
BCR-1992. No action is required to enable it.
If your organization prefers not to include this environment, an ACCOUNTADMIN can opt out by running:
If BCR-1992 is not enabled for your account, you can provision the
SNOWFLAKE_LEARNING environment manually using the following SQL:
If the SNOWFLAKE_LEARNING environment has already been provisioned in your account, but you want to disable it and drop the objects,
a user with the ACCOUNTADMIN role can run the following script to disable and drop the learning environment:
Get started with templates at http://app.snowflake.cn/templates.