From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Behavior change in PostgreSQL 14Beta3 or bug?
Date: Tue, 07 Sep 2021 09:14:52 +0200
Message-ID: <04ecf271b82a367a6da59e9abcbf89021c2fd3d3.camel@cybertec.at> (raw)
In-Reply-To: <CAH2-Wznz=M1+D2JHT9HNLSFedddpF-uHG3BDk0Oaw4Zgct-=GQ@mail.gmail.com>
References: <ZR0P278MB0920DD8896094F105A2521C3D2D29@ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM>
<CAH2-WzkNuMkFns4cYfqZq0BZXNpxh=FOS2ue4-9Cus=kB8DfSA@mail.gmail.com>
<6fb7ffe9f584cb76e5c7aadc83d7562009224cb8.camel@cybertec.at>
<3065647.1630943989@sss.pgh.pa.us>
<2767fd7e5750d00fababa51a187b262e64d337da.camel@cybertec.at>
<CAH2-Wznz=M1+D2JHT9HNLSFedddpF-uHG3BDk0Oaw4Zgct-=GQ@mail.gmail.com>
On Mon, 2021-09-06 at 12:11 -0700, Peter Geoghegan wrote:
> On Mon, Sep 6, 2021 at 9:21 AM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> > #define BYPASS_THRESHOLD_PAGES 0.02 /* i.e. 2% of rel_pages */
> >
> > So up to an additional 2% of all pages can have the all-visible bit
> > unset with "index_cleanup = auto".
> >
> > That is probably not worth worrying, right?
>
> I don't think it's worth worrying about.
>
> The bypass-index-vacuuming feature may have had a bit of a messaging
> problem. It was something we usually talked about as being about
> skipping index vacuuming, because that's what it actually does.
> However, the feature isn't really about doing less work during VACUUM.
> It's actually about doing *more* work during VACUUM -- more useful
> work. Especially setting visibility map bits. But also freezing. Now
> you can very aggressively tune VACUUM to do these things more often,
> with no fear of that being way too expensive because of index
> vacuuming that has only marginal value.
That makes sense; thanks for the detailed explanation.
Yours,
Laurenz Albe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, pg@bowt.ie, tgl@sss.pgh.pa.us, daniel.westermann@dbi-services.com
Subject: Re: Behavior change in PostgreSQL 14Beta3 or bug?
In-Reply-To: <04ecf271b82a367a6da59e9abcbf89021c2fd3d3.camel@cybertec.at>
References: <ZR0P278MB0920DD8896094F105A2521C3D2D29@ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM> <CAH2-WzkNuMkFns4cYfqZq0BZXNpxh=FOS2ue4-9Cus=kB8DfSA@mail.gmail.com> <6fb7ffe9f584cb76e5c7aadc83d7562009224cb8.camel@cybertec.at> <3065647.1630943989@sss.pgh.pa.us> <2767fd7e5750d00fababa51a187b262e64d337da.camel@cybertec.at> <CAH2-Wznz=M1+D2JHT9HNLSFedddpF-uHG3BDk0Oaw4Zgct-=GQ@mail.gmail.com> <04ecf271b82a367a6da59e9abcbf89021c2fd3d3.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox