Databases

Bloat and vacuum

Dead row versions left by MVCC occupy space until a background process reclaims them; if it falls behind, tables and indexes grow without the data growing.

Bloat is not a bug but a maintenance obligation. The failure mode is gradual: queries slow as the planner reads more pages for the same rows, and the cause is invisible in the query itself.

Explained in depth

Implemented by

Learn it in context

Related concepts