Understanding TOAST in PostgreSQL: What It Really Does (and What It Doesn’t)

TOAST sounds like “free compression.” It isn’t. Here’s how PostgreSQL actually stores big values — and why that matters.