Query Performance Tuning
[!NOTE] This module explores the core principles of Query Performance Tuning, deriving solutions from first principles and hardware constraints to build world-class, production-ready expertise.
1. Module Contents
- Execution Plans - Master EXPLAIN, understand Seq Scan vs Index Scan, and optimize costs.
- Join Algorithms - Understand Nested Loop, Hash Join, and Merge Join strategies.
- Statistics Collector - Learn how pg_stats, histograms, and MCV lists affect the planner.
- Review & Cheat Sheet - Flashcards and a quick reference for query performance tuning.
Module Chapters
Chapter 01
Execution Plans
Execution Plans
Start Learning
Chapter 02
Join Algorithms
Join Algorithms
Start Learning
Chapter 03
Statistics Collector
Statistics Collector
Start Learning
Chapter 04
Review & Cheat Sheet
Review & Cheat Sheet
Start Learning