LWN: Comments on "Haas: DO or UNDO - there is no VACUUM" https://lwn.net/Articles/745789/ This is a special feed containing comments posted to the individual LWN article titled "Haas: DO or UNDO - there is no VACUUM". en-us Wed, 03 Sep 2025 21:21:39 +0000 Wed, 03 Sep 2025 21:21:39 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Haas: DO or UNDO - there is no VACUUM https://lwn.net/Articles/746623/ https://lwn.net/Articles/746623/ intgr <div class="FormattedComment"> <font class="QuotedText">&gt; VACUUM (which involves a full table scan from time to time, and that's what hurts with huge tables)</font><br> <p> That's not strictly true, there have been many improvements to VACUUM; with recent PostgreSQL versions, VACUUUM only scans those parts of the table heap that has changes. For the details see <a href="http://rhaas.blogspot.com.ee/2018/01/the-state-of-vacuum.html">http://rhaas.blogspot.com.ee/2018/01/the-state-of-vacuum....</a><br> <p> </div> Tue, 06 Feb 2018 07:51:04 +0000 Haas: DO or UNDO - there is no VACUUM https://lwn.net/Articles/746006/ https://lwn.net/Articles/746006/ oldtomas <div class="FormattedComment"> Well... yes and no. Traditional (PostgreSQL) VACUUM (which involves a full table scan from time to time, and that's what hurts with huge tables) would be gone under this new scheme.<br> <p> Records wouldn't move around in the default case (OK, when the new version is too big to fit into the old slot...), which would be lighter on indices.<br> <p> Still some index cleanup will be needed. As for reclaiming space, it all sits neatly in the log, which isn't scattered across the table and ist thus much easier to throw away.<br> <p> So it might pretty well work out. Given Robert Haas' (deserved!) reputation, I'm pretty sure it will.<br> <p> Mind you... write ahead MVCC is so deeply ingrained with PostgreSQL history (remember time travel?) that I'm feeling some nostalgia now :-)<br> </div> Thu, 01 Feb 2018 08:37:42 +0000 Haas: DO or UNDO - there is no VACUUM https://lwn.net/Articles/745806/ https://lwn.net/Articles/745806/ xtifr <div class="FormattedComment"> "[W]henever possible, we [...]" sounds like "there is no need for VACUUM" may be a *bit* of an exaggeration.<br> <p> Not that I'm complaining, mind. Sounds like a good approach. At least as an option.<br> </div> Tue, 30 Jan 2018 18:58:25 +0000