News for hackers. Stuff that matters.
Re:How PostgreSQL stores rows by pgaddict on Thursday February 10, 2022 @06:40AM (#30284864)
Yeah, VACUUM only shuffles rows within a page, to maximize the amount of free space available for new data.

VACUUM FULL essentially rebuilds the segment files - it creates new files and shovels all rows from the old ones. In the past it was implemented differently, by actually moving rows (a bit like defrag tools in Windows) but that was very expensive and inefficient.

There are no comments on this comment yet.