Database Internals: A Deep-Dive Into How Distributed Data Systems Work
Database Internals: The Architecture Beneath Distributed Data
Choosing and maintaining a database means understanding more than its visible features. Alex Petrov’s guide explores how storage engines organize data and how distributed systems coordinate across nodes, linking foundational mechanisms to the behavior of modern database clusters.
A database’s behavior depends on decisions hidden beneath its interface: how information is stored, retrieved, and shared across a system. In Database Internals: A Deep-Dive Into How Distributed Data Systems Work, Alex Petrov examines these underlying mechanisms as a way to understand why modern databases differ and how to choose, use, and maintain them.
From storage engines to distributed systems
The book’s first part focuses on storage engines, moving through B-trees, file formats, transaction processing and recovery, and log-structured storage. It also looks at the components that support efficient database files, including page caches, buffer pools, and write-ahead logs, and compares storage approaches and their uses.
How data is coordinated across nodes
The second part turns to distributed systems: failure detection, leader election, replication, consistency, anti-entropy, distributed transactions, and consensus. Together, these topics trace how nodes and processes form communication patterns and how database clusters maintain consistency across distributed storage.
Petrov draws on material from books, research papers, blog posts, and open-source database code, with references listed at the ends of the two parts. The result is a technical guide organized around the systems beneath database behavior, connecting implementation details to the distinctions developers encounter among modern databases.
Offers for this book
ComparorCompare the available stores for each edition.
O'Reilly Media · Print · EN
ISBN 9781492040347
| Store | Copy | Price | View offer |
|---|---|---|---|
| uk.bookshop.orgUK | New | 50,34 GBP Shipping to be confirmedVerified 02.12.2026 | View offer ↗ |
| FNAC BEBelgique | New | 63,57 EUR Shipping to be confirmedVerified 02.12.2026 | View offer ↗ |
| Fnac FRFrance | New | 57,29 EUR Shipping to be confirmedVerified 02.12.2026 | View offer ↗ |
Prices and availability may change. Confirm the shipping costs and final amount with the store. Links may generate an affiliate commission.
One work, different editions
1 registered editionO'Reilly Media Print · EN
- Title
- Database Internals: A Deep-Dive Into How Distributed Data Systems Work
- ISBN
- 9781492040347
- Pages
- 370
May include affiliate links. This does not affect the notes or editorial judgment.
You might also like

Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
Kleppmann, Martin, Riccomini, Chris

Co-Existence: The Next Phase of AI
Mollick, Ethan

A Philosophy of Software Design, 2nd Edition
Ousterhout, John

The Singularity Is Nearer: When We Merge with AI
Kurzweil, Ray