Indexing & Performance
Module Contents
1. Index Fundamentals & The B-Tree
Understand why linear scans are slow and how B-Trees provide O(log N) search performance. Learn about Single Field, Compound, Multikey, and TTL indexes.
2. The ESR Rule & Query Targeting
Master the art of index design. Learn why Equality, Sort, Range is the optimal field order and how to achieve zero-I/O Covered Queries.
3. Explain Plans & Profiling
Stop guessing. Use .explain("executionStats") to diagnose bottlenecks, identify COLLSCANs, and optimize your query performance.
Review & Cheat Sheet
Test your knowledge with flashcards, review key takeaways, and access a quick-reference cheat sheet for index commands.
Module Chapters
Chapter 01
Index Fundamentals & The B-Tree
Index Fundamentals & The B-Tree
Start Learning
Chapter 02
The ESR Rule & Query Targeting
The ESR Rule & Query Targeting
Start Learning
Chapter 03
Explain Plans & Profiling
Explain Plans & Profiling
Start Learning
Chapter 04
Module Review: Indexing
Module Review: Indexing
Start Learning