From the course: Snowflake SnowPro Core Cert Prep
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Micro-partition pruning - Snowflake Tutorial
From the course: Snowflake SnowPro Core Cert Prep
Micro-partition pruning
Let's talk about micro-partition pruning. Now, micro-partitions are organized based upon a clustering key. Now, this is automatically selected by Snowflake when you load the data in. So it's ordered in a natural way. So if you're loading data every day into a table and it's based upon order date, for example, the data will be naturally clustered by order date. And if that doesn't match the way that you want to run your queries, you can override that by creating a clustering key on your data and physically ordering and structuring that data in a different way. Now, we've discussed it's a fact that Snowflake's architecture from a data storage perspective is underpinned by these small blocks of data called micro-partitions, and that gives it a distinct performance advantage in many cases. Because the data is organized across these small blocks, we could have potentially thousands and thousands of these partitions for a large table. And this allows for greater flexibility when locating…
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)
Domain 3.0: Introduction1m 7s
-
(Locked)
Virtual warehouse6m 47s
-
(Locked)
Configuring a virtual warehouse5m 29s
-
(Locked)
Caching4m 47s
-
(Locked)
Managing virtual warehouses2m 26s
-
(Locked)
Query profile2m 58s
-
(Locked)
Data spilling1m 34s
-
(Locked)
Micro-partition pruning2m 28s
-
(Locked)
Search optimization service1m 33s
-
(Locked)
Domain 3.0: Recap3m 36s
-
(Locked)
-
-
-
-
-