Re: Teaching users how they can get the most out of HOT in Postgres 14
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>,
Justin Pryzby <pryzby@telsasoft.com>, Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-06-11T22:28:01Z
Lists: pgsql-hackers
On Sun, May 30, 2021 at 6:30 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > > Another concern with this approach is what it > > means for the VACUUM command itself. I haven't added an 'auto' > > spelling that is accepted by the VACUUM command in this POC version. > > But do I need to at all? Can that just be implied by not having any > > INDEX_CLEANUP option? > > It seems to me that it's better to have INDEX_CLEANUP option of VACUUM > command support AUTO for consistency. Do you have any concerns about > supporting it? I suppose we should have it. But now we have to teach vacuumdb about this new boolean-like enum too. It's a lot more new code than I would have preferred, but I suppose that it makes sense. -- Peter Geoghegan
Commits
-
Support disabling index bypassing by VACUUM.
- 3499df0dee8c 14.0 landed
-
Teach VACUUM to bypass unnecessary index vacuuming.
- 5100010ee4d5 14.0 cited