
Author
Egor Rogov
Author of the PostgreSQL Internals books. He teaches PostgreSQL at Postgres Professional, which publishes the series.
Egor Rogov · English manuscript
MVCC and snapshot isolation, the buffer cache and write‑ahead log, locks, query execution, and index access methods, examined from inside a running PostgreSQL 18 server.

Author
Author of the PostgreSQL Internals books. He teaches PostgreSQL at Postgres Professional, which publishes the series.
About this book
This book is for those who will not settle for a black-box approach when working with a database. If you are eager to learn, prefer not to take expert advice for granted, and would like to figure out everything yourself, follow along.
This book is not a collection of recipes. You cannot find ready-made solutions for every possible occasion, but if you understand the inner mechanisms of a complex system, you will be able to analyze and critically evaluate other people’s experience and come to your own conclusions.
— Egor Rogov, About This Book
Contents
Part I
Isolation levels from the user’s side, then multiversioning, snapshots, and vacuuming.
Part II
The buffer cache, and the write-ahead log that restores consistency after a failure.
Part IV
How the server plans and executes queries, from access and join methods to statistics.
Part V
Index access methods beyond the B-tree, their extensibility and each method in turn.
Editions
The text, figures, cover, and publication material belong to PPG LLC (ООО «ППГ») and DMK Press; see the title page and publication details. The editions here are for reading online. Ask the rights holders before republishing or redistributing them.