From the course: Advanced SQL for Query Tuning and Performance Optimization
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Solution: Design a common table expression - SQL Tutorial
From the course: Advanced SQL for Query Tuning and Performance Optimization
Solution: Design a common table expression
“
(upbeat music) - [Instructor] We would define the common table expression using the AS MATERIALIZED clause, and that will allow the query plan builder to execute the query once, cache the results, and then reuse those.
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Using common table expressions to avoid repetitive computation2m 11s
-
(Locked)
Hints to the Query Optimizer1m 43s
-
(Locked)
Parallel query execution2m 6s
-
(Locked)
Improving cache utilization2m 20s
-
(Locked)
Miscellaneous tips2m 21s
-
(Locked)
Challenge: Design a common table expression24s
-
(Locked)
Solution: Design a common table expression18s
-
(Locked)
-