/ awesome-db-roadmap / 01 - Fundamentals / Query Optimization.md
swadhinbiswas ✨ Initial commit: Ultimate Database Roadmap πŸ—‚οΈπŸš€ - From Zero to Pro! πŸ“šπŸ’‘ Β· 11/20/2025
e598c7b
22 lines Β· 558 Bytes
Raw Download

Query Optimization

Turning SQL (or logical queries) into efficient execution plans.

🎯 Goals

  • Read and reason about query plans
  • Understand how indexes and statistics affect plans

πŸ“š Checklist

  • Learn what a query planner/optimizer does
  • Use EXPLAIN / EXPLAIN ANALYZE in at least one RDBMS
  • Understand nested loop, hash, and merge joins conceptually
  • Recognize anti-patterns (SELECT *, functions on indexed columns, etc.)

πŸ”— Related

  • [[Indexes]]
  • [[Query Planner]]
  • [[02 - RDBMS]]