Skip to content
Why Databases Use Log-Structured Merge Trees episode artwork

Aug 29, 2026 10 min

Why Databases Use Log-Structured Merge Trees

from The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code Hosted by Fexingo

In this episode, Lucas and Luna explain why log-structured merge trees, or LSM trees, are the backbone of modern write-heavy databases like Cassandra, RocksDB, and Bigtable. They trace the problem: random writes on spinning disks were brutally slow, and even SSDs prefer sequential writes. The answer is an append-only log, a memory table, and a cascade of sorted, immutable files that occasionally merge in the background. They cover the read path—how bloom filters and sparse indexes keep lookups fast—and the compaction strategies that trade write amplification for read performance. They also unpack the real-world trade-offs: why LSM trees can lag behind on point lookups compared to B-trees, and how databases like MySQL's InnoDB chose a hybrid approach. By the end, you'll understand why your favorite database makes the storage choices it does, and you'll have a concrete example to bring to your next architecture discussion. Tune in for a clear, practical breakdown of one of the most important data structures in modern storage. #LSMTree #LogStructuredMergeTree #DatabaseInternals #WriteHeavy #Cassandra #RocksDB #Bigtable #Compaction #BloomFilter #StorageEngines #BTree #SequentialWrites #WriteAmplification #ReadAmplification #DataStructure #TechPodcast #FexingoBusiness #BusinessPodcast Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Why Databases Use Log-Structured Merge Trees

0:00 10:09

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code?

This episode is 10 minutes long.

When was this The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code episode published?

This episode was published on August 29, 2026.

Can I download this The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.