Skip to content
The Postgres Guy

The Postgres Guy

  • All posts
  • Videos
  • Book
  • About
  • Résumé

Category: Internals

  • Why autovacuum ignores your biggest table

    July 14, 2026
    Internals

    The default thresholds were sized for tables that don’t exist anymore. Here’s the math that actually scales — and the per-table overrides that fix it. →

  • UPDATE Doesn’t Update: xmin, xmax, and the Ghost Rows in Your Tables

    July 7, 2026
    Internals

    PostgreSQL never modifies a row in place. Every UPDATE writes a new version and leaves the old one behind. Here’s the machinery — and why it explains half your performance problems. →

  • PostgreSQL vs. MongoDB for JSON: The Internal Trade-offs They Don’t Tell You in the Docs

    March 15, 2026
    Internals

    Having managed both at scale, the answer to ‘PostgreSQL or MongoDB for JSON?’ is not as simple as ‘MongoDB is for documents.’ Deep internals on both sides will affect your performance, storage footprint, and operational burden in ways a quick benchmark won’t reveal. →

  • Understanding PostgreSQL TOAST: The 8KB Block Constraint and Oversized Data Storage

    January 21, 2026
    Internals

    Deep dive into PostgreSQL’s TOAST (The Oversized-Attribute Storage Technique) mechanism and how it works around the fundamental 8KB block size limitation. Learn when TOAST activates, how it stores large values, and the performance implications for your database design. →

  • Exploring PostgreSQL Extensions and Their Functionality

    January 15, 2026
    Internals

    A walkthrough of PostgreSQL’s extension ecosystem — what extensions are, how they work, and which ones you should know about for production databases. →

  • 📖 Announcing: PostgreSQL Internals Mastery – Volume 1

    January 8, 2026
    Internals

    PostgreSQL Internals Mastery Volume I is now available—a comprehensive foundation covering PostgreSQL architecture, memory management, storage, transactions, and durability. Learn how PostgreSQL really works at a systems level. →

© 2026 The Postgres Guy.

Let’s go deeper than the docs

Blog

All posts

About

RSS

  • YouTube
  • LinkedIn
  • GitHub
  • X
  • Bluesky
  • Instagram
  • Reddit
Loading Comments...