---
title: "Comment by love on \"Under the Hood of Database Engines: B-Trees vs. LSM-Trees Explained\" | Hashnode"
description: "Compaction is the part of LSM-Trees that deserves special attention. Fast writes can look ideal in a benchmark, but write amplification, temporary disk usage, a"
url: "https://hashnode.com/posts/under-the-hood-of-database-engines-b-trees-vs-lsm-trees-explained/6a681be4b5172fc1fffb4358/comment/6a992b66e35f83f196f0e188"
---

[Discussion](https://hashnode.com/posts/under-the-hood-of-database-engines-b-trees-vs-lsm-trees-explained/6a681be4b5172fc1fffb4358)

Comment [Under the Hood of Database Engines: B-Trees vs. LSM-Trees Explained](https://hashnode.com/posts/under-the-hood-of-database-engines-b-trees-vs-lsm-trees-explained/6a681be4b5172fc1fffb4358)

[love](https://hashnode.com/@alexboom)

[Sep 3](https://hashnode.com/posts/under-the-hood-of-database-engines-b-trees-vs-lsm-trees-explained/6a681be4b5172fc1fffb4358/comment/6a992b66e35f83f196f0e188)

Compaction is the part of LSM-Trees that deserves special attention. Fast writes can look ideal in a benchmark, but write amplification, temporary disk usage, and latency spikes during compaction can change the production picture significantly.
