Files
mini_lsm/mini-lsm-book/src/week2-03-tiered.md
Alex Chi df35a954c9 i love questions
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-21 00:45:10 +08:00

852 B

Tiered Compaction Strategy

Chapter Overview

In this chapter, you will:

  • Implement a tiered compaction strategy and simulate it on the compaction simulator.
  • Incorporate tiered compaction strategy into the system.

The tiered compaction we talk about in this chapter is the same as RocksDB's universal compaction. We will use these two terminologies interchangeably.

Test Your Understanding

  • What are the pros/cons of universal compaction compared with simple leveled/tiered compaction?
  • How much storage space is it required (compared with user data size) to run universal compaction without using up the storage device space?
  • The log-on-log problem.

We do not provide reference answers to the questions, and feel free to discuss about them in the Discord community.

{{#include copyright.md}}