Back to articles

Tag archive

#autovacuum

H
Oct 7, 2026

How Does a Database Clean Up After Itself?

MVCC leaves a dead row version behind on every update. This is the cleanup story — why bloat slows queries down instead of just filling disk, what VACUUM and VACUUM FULL really do, how autovacuum decides when to run, why one forgotten transaction can block cleanup across the whole database, and how freezing stops 32-bit transaction IDs from silently eating your data.

Oct 7, 202620 min read0 reactions0 comments