---
title: "Discussion on \"Why Modern Databases Use LSM Trees Instead of B-Trees\" | Hashnode"
description: "Discussion on \"Why Modern Databases Use LSM Trees Instead of B-Trees\". Traditional databases like MySQL and PostgreSQL use B-trees as their primary storage structure. B-trees modify data in place on disk, which means updates can happen at many different disk locations. This leads to random disk writes, which are expensi..."
url: "https://hashnode.com/posts/why-modern-databases-use-lsm-trees-instead-of-b-trees/696aa45608a35c656c59af2a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why Modern Databases Use LSM Trees Instead of B-Trees](https://codehunger.hashnode.dev/why-modern-databases-use-lsm-trees-instead-of-b-trees?utm_source=hashnode&utm_medium=feed)

Traditional databases like MySQL and PostgreSQL use B-trees as their primary storage structure. B-trees modify data in place on disk, which means updates can happen at many different disk locations. This leads to random disk writes, which are expensi...

Jan 16 · 3 min read · codehunger.hashnode.dev  
Read the article

-   [#lsmtree](https://hashnode.com/tag/lsmtree)
-   [#databases](https://hashnode.com/tag/databases)
-   [#cassandra](https://hashnode.com/tag/cassandra)
-   [#dynamodb](https://hashnode.com/tag/dynamodb)
-   [#b-trees-and-b-trees](https://hashnode.com/tag/b-trees-and-b-trees)

## Written by

[Hemanth Indala](https://hashnode.com/@hemanth0914)

@hemanth0914 · New York

  
[View profile](https://hashnode.com/@hemanth0914)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
