From the course: Advanced Snowflake: Deep Dive Cloud Data Warehousing and Analytics
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Table structures in Snowflake - Snowflake Tutorial
From the course: Advanced Snowflake: Deep Dive Cloud Data Warehousing and Analytics
Table structures in Snowflake
In order for Snowflake to be able to efficiently process large amounts of data, the design of their table structures is quite critical. If you had a huge amount of data in petabytes and you stored this within a table, in a single contiguous blog, queries run on such tables will likely to be very, very inefficient. If you just have a single blob of contiguous data, your queries will run slowly because they need to process this huge amount of data and queries will be unable to run in parallel on a contiguous block. Almost every big data processing platform partitions the data that it stores in tables. Now, if this partitioning is static, well, that helps with query parallelization, but static partitioning has its own limitations. Your data may be skewed, certain partitions may be very large, other partitions may be small, resulting in slow query performance. In Snowflake, your tables are divided into micro-partitions. These micro-partitions are extremely small partitions automatically…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Table structures in Snowflake3m 54s
-
(Locked)
Data storage in Snowflake2m 22s
-
(Locked)
Permanent, transient, and temporary tables2m 8s
-
(Locked)
Permanent tables3m 58s
-
(Locked)
Temporary tables4m 26s
-
(Locked)
Transient tables3m 5s
-
(Locked)
Cloning tables and data lineage4m 6s
-
(Locked)
Specialized tables in Snowflake1m 18s
-
(Locked)
Hybrid tables2m 16s
-
(Locked)
External, Iceberg, and interactive tables3m 25s
-
(Locked)
Time travel data retention and retention period3m 43s
-
(Locked)
Query historical data using query ID and timestamps5m 16s
-
(Locked)
Drop and undrop tables and disable time travel2m 2s
-
(Locked)
-
-
-
-
-
-