Level up your SQL skills as a developer
summary
Explains how the SQL query optimizer evaluates alternative plans by estimating costs and choosing the lowest-cost plan, and when that model surprises developers. Shows concrete actions: avoid SELECT statements, create indexes on queried columns and pick index types that match joins and filters, use computed or composite columns sparingly and materialize when needed*. Demonstrates how small schema changes and targeted WHERE clauses change the planner’s choice and measurably improve query latency.
AI-written summary · about
chapters (7)
- 0:00Introduction to SQL optimization
- 1:38Why query optimization matters
- 7:17Query optimizer basics
- 10:17Selecting only needed columns
- 12:25When to use joins vs subqueries
- 15:45Avoiding unnecessary calculations
- 18:45Summary and Q&A
related talks
43mQuery Optimization: Don’t Know What to Do? Do What You Know
50mHow SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of
57mHow modern SQL databases arrive at algorithms you never dreamed of
51mHow Modern SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of
57m5 Essential SQL Skills Every Developer Should Know
18mApparently, you can "debug" your SQL queries
26mThe five-step guide to SQL tuning
40mLevel-up Your ActiveRecord Skills: Learn SQL!
