Skip to main content

Tombstones and compaction scope

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-06-executable-storage-contracts/17-tombstone-scope.md
  • App: architecture
  • Semester: semester-06-databases-distributed
  • Module: module-02-storage-engines-indexing
  • Unit kind: concept
  • Curation level: module_curated

Learning objectives​

  • Explain Tombstones and compaction scope in terms of physical layout, access paths, and performance tradeoffs instead of memorizing structure names.
  • Relate Tombstones and compaction scope to the actual cost of reads, writes, buffering, and maintenance work inside a storage engine.
  • Use database-internals to 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-internals

Source routes​

Database Internals​

Supporting curriculum routes​

No supporting curriculum routes linked yet.

External enrichment​

  • RocksDB Wiki (read_if_stuck) - Useful when the learner wants to see how LSM-tree ideas appear in a production storage engine.
  • PostgreSQL Documentation: Indexes (official_docs_companion) - Helps contrast LSM-oriented reading with a mainstream B-tree-centric database implementation.

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. Its canonical source backbone is the referenced book database-internals, and outside material should only clarify or strengthen that backbone.