Chapter 15
Indexes
An index is the shortcut that lets a database find one row among millions without reading the whole table. You will learn how indexes work, which kinds exist, and what they cost.
Beginner
4 min2Composite and Covering Indexes, and the Write CostIntermediate
4 min3LSM-Trees, Hash Indexes and Full-Text SearchIntermediate
4 minChapter quiz
Indexes · 5 questions
1.What does a full table scan do?
2.An index on (user_id, created_at) will NOT help which query?
3.What is the main cost of adding more indexes?
4.Which structure is best for a very write-heavy workload?
5.Which index powers searching for words inside text?
0 of 5 answered

