Hollis Varden: What deleting rows does to a PostgreSQL table
A table that shrinks in rows does not shrink on disk. Everyone who has run PostgreSQL for a while knows this in general. I wanted the actual numbers, because "VACUUM reclaims space" means something narrower than it sounds. Short answer: I deleted every second row of a 2,000,000-row table. The table…
Sources
- T2Hollis Varden: What deleting rows does to a PostgreSQL tablePlanet PostgreSQL