Most asked top Interview Questions and Answers & Online Test
Education platform for interview prep, online tests, tutorials, and live practice

Build skills with focused learning paths, mock tests, and interview-ready content.

WithoutBook brings subject-wise interview questions, online practice tests, tutorials, and comparison guides into one responsive learning workspace.

Chapter 9

Compaction, SSTables, Memtables, Tombstones, and Storage Engine Basics

Understand how Cassandra stores data under the hood and why storage engine behavior directly affects performance and maintenance.

Inside this chapter

  1. Why Internal Storage Matters
  2. Write Path Components
  3. Tombstones and Their Cost
  4. Compaction Strategy Awareness

Series navigation

Study the chapters in order for the clearest path from beginner Cassandra concepts to advanced distributed operations. Use the navigation at the bottom of each page to move through the full series.

Tutorial Home

Chapter 9

Why Internal Storage Matters

Students can start with CQL, but long-term Cassandra success depends on understanding storage internals. SSTables, memtables, commit logs, compaction, and tombstones all shape performance and operational behavior.

Chapter 9

Write Path Components

  • Commit log for durability
  • Memtable for in-memory writes
  • SSTables for immutable on-disk storage
  • Compaction for merging and cleanup over time
Chapter 9

Tombstones and Their Cost

Deletes and TTL expirations create tombstones. Too many tombstones can make reads slower and repairs heavier. This is a major practical Cassandra topic and one reason data lifecycle design matters so much.

Chapter 9

Compaction Strategy Awareness

Different compaction strategies suit different workloads. Time-series workloads, high-update workloads, and mixed read/write systems may need different choices. Advanced teams tune these based on observed behavior instead of default assumptions alone.

Copyright © 2026, WithoutBook.