Table Types and Views
SnowPro Core · Lesson 8 of 27 · 42:09
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the SnowPro Core Certification exam (COF-C03). In this lesson: permanent, transient, and temporary tables, Iceberg and external tables, dynamic tables, and standard, secure, and materialized views. Follows Foxglove Apparel, a fictional online clothing retailer. Includes three original practice questions.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Data with different lifetimes
Foxglove keeps orders for years, reloads supplier prices every night, and builds scratch tables that only last a session. Its data scientists also write files with Apache Spark, and its merchandisers want aggregates that are always fresh. Snowflake has a table or a view type for each of these needs.
Permanent, transient, temporary
Permanent tables are the default: they stay until you drop them, with Time Travel and a seven day Fail-safe period. Transient tables also stay until they are dropped, but they have no Fail-safe, and at most one day of Time Travel. Temporary tables last only for the rest of the session that created them, no other session can see them, and they have no Fail-safe either. A temporary table can even take the name of a table in the same schema, and it then hides that table for the rest of its session.
Choosing a table type
Transient and temporary tables cost less to keep, since they never pay for Fail-safe storage. Choose them for data that you can rebuild, such as staging data that is reloaded every night. A transient schema or database makes every table created inside it transient. And once a table is created as transient or temporary, it cannot be converted to another type.
Apache Iceberg tables
Apache Iceberg tables store their data in the open Iceberg format, as Parquet files, so other engines can work with the same table. The files are kept either in storage that Snowflake manages, or in your own cloud storage, which Snowflake reaches through an external volume. The catalog can be Snowflake itself, or an external catalog, connected through a catalog integration. With your own storage, your cloud provider bills the storage, and Snowflake provides no Fail-safe for these tables.
External tables
An external table lets you query files that stay in an external stage, without loading them. It is read-only: you cannot insert, update, or delete rows. Snowflake keeps metadata about the files, such as their names, and it can refresh that metadata automatically when new files arrive, or when you run a refresh. Queries can be slower than on loaded data, so a materialized view can help, and for Parquet files, Snowflake recommends Iceberg tables instead.
Dynamic tables
A dynamic table stores the result of a SELECT query, and Snowflake keeps it up to date for you. You set a target lag, such as ten minutes, which says how far behind its sources the data may be, and a warehouse that runs the refreshes. Dynamic tables can read from each other, and Snowflake refreshes them in dependency order, as one pipeline. Each refresh is incremental when the query allows it, or a full refresh, and the auto mode lets Snowflake choose.
Standard, materialized, and secure views
A standard view is a named query: nothing is stored, and the query runs each time you select from the view. A materialized view stores its results, and a background service keeps them current, which costs storage and credits. It is an Enterprise feature, and it can query only one table, with no joins. A secure view hides its definition from everyone outside the role that owns it, and it skips optimizations that could expose the underlying data, which makes it the view for sharing.
Recap
Let's recap. Permanent tables have Time Travel and seven days of Fail-safe, while transient and temporary tables have none, and temporary ones last only for their session. Iceberg tables keep open Parquet files, in Snowflake storage or in your own, with Snowflake or an external catalog. External tables query files in a stage, and they are read-only. Dynamic tables keep a query result fresh, within a target lag. And views are standard, materialized to store results, or secure to hide their definition.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
Foxglove reloads a table of supplier prices every night, from files it keeps, and every analyst session must be able to query it. Which table type avoids Fail-safe storage costs?
- A temporary table
- A transient table
- A permanent table with 1 day of Time Travel
- A permanent Iceberg table on Snowflake storage
Show the answer
A transient table
A transient table stays until it is dropped, any session with the right privileges can query it, and it has no Fail-safe. “A temporary table” is wrong, because a temporary table disappears when its session ends, and other sessions cannot see it. “A permanent table with 1 day of Time Travel” would still keep seven days of Fail-safe, whatever its Time Travel setting. And “A permanent Iceberg table on Snowflake storage” is wrong, since a permanent Iceberg table on Snowflake storage is protected by Fail-safe too.
Foxglove’s data scientists write the order history with Apache Spark into Foxglove’s own cloud storage. Analysts must query and update that same table from Snowflake, without a second copy. What should Foxglove create?
- A permanent table, loaded every night
- An external table over the files
- A dynamic table over the files
- An Iceberg table on an external volume
Show the answer
An Iceberg table on an external volume
An Iceberg table keeps a single copy of the data, in an open format, in Foxglove's own storage, for both engines. “A permanent table, loaded every night” would create a second copy in Snowflake storage. “An external table over the files” is read-only, so analysts could not update it from Snowflake. And “A dynamic table over the files” would also store a separate copy of the results.
Merchandisers run the same aggregate on a large sales table many times an hour, and the table changes often. Foxglove is on Enterprise. What gives fast results that are always current, with no refresh to schedule?
- A materialized view of the aggregate
- A standard view of the aggregate
- A secure view of the aggregate
- A transient table rebuilt each hour
Show the answer
A materialized view of the aggregate
A materialized view stores the aggregate, and Snowflake maintains it in the background, so its results are always current. “A standard view of the aggregate” would run the whole aggregate again on every query. “A secure view of the aggregate” hides the definition, but it does not store results either. And “A transient table rebuilt each hour” would need a scheduled job, and its data could be an hour old.