Skip to content

MediumConceptData and storage design

How do you choose between B-tree and LSM-tree storage for a workload?

What a good answer covers

B-trees give predictable reads and in-place updates, which fits read-heavy transactional use. LSM trees turn writes into sequential appends and compaction, which suits write-heavy ingestion at some read and compaction cost.

More on Data and storage design

Flashcards for this topic