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.
Set up base table for query optimization comparisons - Snowflake Tutorial
From the course: Advanced Snowflake: Deep Dive Cloud Data Warehousing and Analytics
Set up base table for query optimization comparisons
There are two more optimization techniques that we still have to cover. This is going to be clustering and search optimization. What I'm going to do for these techniques is compare the performance of our clustered and search optimized table against a base table. And we'll first set up the base table here in this video. I'll set up the base table from the sales analytics table that we had created in an earlier demo. And I'm going to copy data into this table using a larger warehouse so that the copy runs through faster. I create a new warehouse called LargeWH, and you can see the warehouse size is large. Set up AutoSuspend and AutoResume. I'll use this large warehouse for the data copy operation. I'm going to create a new table with a subset of data from the original sales analytics table. This new table will contain about 50 GB of data. And of course, we'll create it within the test database. I'll just verify that we still have the sales analytics table that we had set up earlier…
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)
Caching2m 18s
-
(Locked)
Using the query results cache5m
-
(Locked)
Warehouse sizing4m 20s
-
(Locked)
Configure warehouse sizing to improve performance3m 28s
-
(Locked)
Query acceleration service1m 51s
-
(Locked)
Configure query acceleration service4m 39s
-
(Locked)
Clustering2m 19s
-
(Locked)
Set up base table for query optimization comparisons4m 19s
-
(Locked)
Create a clustered table2m 2s
-
(Locked)
Execute point lookup and range queries on clustered tables6m 14s
-
(Locked)
Search optimization3m 30s
-
(Locked)
Enable search optimization2m 56s
-
(Locked)
Execute point lookup queries on search optimized tables4m 37s
-
(Locked)
Run substring queries on search optimized tables3m 5s
-
(Locked)
-
-
-
-