Clustered vs Secondary Indexes; Covering Indexes
This generated surface maps a learner-facing curriculum unit to its canonical source routes.
Curriculum surface
- Open learner-facing unit
- Curriculum path:
content/curriculum/architecture/semester-06-databases-distributed/module-02-storage-engines-indexing/concepts/cluster-02-b-tree-indexes/06-clustered-vs-secondary-indexes-covering-indexes-primary.md - App:
architecture - Semester:
semester-06-databases-distributed - Module:
module-02-storage-engines-indexing - Unit kind:
concept - Curation level:
module_curated
Learning objectives
- Explain Clustered vs Secondary Indexes; Covering Indexes in terms of physical layout, access paths, and performance tradeoffs instead of memorizing structure names.
- Relate Clustered vs Secondary Indexes; Covering Indexes to the actual cost of reads, writes, buffering, and maintenance work inside a storage engine.
- Use
database-internals,database-system-concepts,ddiato connect the learner explanation to B-trees, LSM behavior, query execution, and recovery mechanics.
Prerequisites
- Comfort with the relational model, SQL querying, and basic database terminology from module 01.
Source books
database-internalsdatabase-system-conceptsddia
Source routes
Database Internals
- /books/database-internals via
Database Internals: Data Files and Index Files,Database Internals: Primary Index as an Indirection
Database System Concepts
- /books/database-system-concepts via
Database System Concepts: 14.2 Ordered Indices (Part 3)
Ddia
- /books/ddia via
DDIA: Other Indexing Structures (Part 1) - /books/ddia/chapter-02-data-models-and-query-languages via
DDIA: Other Indexing Structures (Part 2)
Supporting curriculum routes
No supporting curriculum routes linked yet.
External enrichment
- PostgreSQL Documentation: Indexes (
official_docs_companion) - Grounds index and execution-planning ideas in a real production database that learners can actually inspect. - PostgreSQL Documentation: Using EXPLAIN (
official_docs_companion) - Useful when the learner needs to connect storage-engine ideas to actual execution plans and cost reasoning.
AI companion modes
- Explain simply
- Socratic tutor
- Challenge my understanding
- Diagnose my confusion
- Connect forward / backward
Source-of-truth note
This teaching unit is learner-facing guidance assembled from multiple canonical book routes. Use the listed source books as the primary conceptual spine for Clustered vs Secondary Indexes; Covering Indexes, and treat outside material as supporting enrichment only.