DeepRead
Cover of Database Internals

Database Internals

Alex Petrov · 2019

Programming and computer science › Databases and distributed data

#905 most recommended

About the book

Database Internals is a 2019 book by Alex Petrov on how database systems are built. It covers two broad areas: storage engines, including B-tree variants, LSM trees, on-disk layout, buffer management, and recovery, and distributed systems, including replication, consensus, partitioning, and transaction coordination across nodes. The book's core position is that a database's observable behavior, such as its read and write performance, space use, and consistency guarantees, follows from the internal structures and algorithms it uses, so understanding those components is necessary for reasoning about trade-offs. It presents storage structures as choices with costs that must be weighed against each other rather than as interchangeable. It then extends the same reasoning to distributed systems, where network failures, coordination, and agreement among nodes add constraints that a single-node design does not face.

Written by Claude from what it knows of this book.

What Hacker News says 67% recommend · 0% critical

01020201920202022202420262023 peak · 12
This bookAverage book in Databases and distributed data

In the commenters’ own words

What Open Library readers say 4.50 from 2 ratings

  1. 51
  2. 41
  3. 30
  4. 20
  5. 10
  • 22 want to read
  • 2 reading
  • 3 have read

Only 2 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2019
ISBN
9781492040347
Editions known
2 at Open Library
Open Library
OL21360140W

Explore in the mosaic

Read next: its neighbours on the mosaic