RSSAmplifier

boringSQL | Supercharge your SQL & PostgreSQL powers · Apr 17, 2026

PostgreSQL MVCC, Byte by Byte

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

You run SELECT * FROM orders in one psql session and see 50 million rows. A colleague in another session runs the same query at the same moment and sees 49,999,999. Neither of you is wrong, and neither is seeing stale data. You are both reading the same 8KB heap pages, the same bytes on disk. This is the promise of PostgreSQL's MVCC (Multi-Version Concurrency Control), and it's the…

Read on boringsql.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.