Chapter 05
Indexes & Query Performance
Why a slow query is usually a missing index, not a hardware problem — how B-tree indexes turn O(N) scans into O(log N) lookups.
What You'll Learn in This Chapter:
- ✦B-Tree vs Sequential scan indexing
- ✦Clustered vs Non-clustered indexes
- ✦Composite index ordering rules
- ✦Write performance overhead