Re: Teaching users how they can get the most out of HOT in Postgres 14
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-05-11T07:42:27Z
Lists: pgsql-hackers
On Mon, Apr 12, 2021 at 06:12:18PM -0700, Peter Geoghegan wrote: > One of the dangers of high BYPASS_THRESHOLD_PAGES settings is that > it'll work well for some indexes but not others. To a dramatic degree, > even. > > That said, nbtree isn't the only index AM, and it is hard to be > completely sure that you've caught everything. So an off switch seems > like a good idea now. Whatever the solution chosen, the thing I can see we agree on here is that we need to do something, at least in the shape of an on/off switch to have an escape path in case of problems. Peter, could we get something by beta1 for that? FWIW, I would use a float GUC to control that, and not a boolean switch, but I am just one voice here, and that's not a feature I worked on. -- Michael
Commits
-
Support disabling index bypassing by VACUUM.
- 3499df0dee8c 14.0 landed
-
Teach VACUUM to bypass unnecessary index vacuuming.
- 5100010ee4d5 14.0 cited