21 lines
852 B
Markdown
21 lines
852 B
Markdown
# Tiered Compaction Strategy
|
|
|
|

|
|
|
|
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}}
|