From: Senor <frio_cervesa@hotmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: autovacuum_freeze_max_age on append-only tables
Date: Fri, 22 Apr 2022 16:30:54 -0700
Message-ID: <DM8PR01MB7016C2C60B69B5BE1CAB3E8CF7F79@DM8PR01MB7016.prod.exchangelabs.com> (raw)
In-Reply-To: <CAKFQuwaDHRfcKEQdAYtUc1=HBMv2QnAVgsULXpb1Qr=qj-7f9w@mail.gmail.com>
References: <DM8PR01MB7016C7C6DCAA853AACEE9039F7F59@DM8PR01MB7016.prod.exchangelabs.com>
<a9399ae2d3cba3385a5abcf2dc693e7a402d5fbe.camel@cybertec.at>
<DM8PR01MB701673B76E3C89B0729D3833F7F79@DM8PR01MB7016.prod.exchangelabs.com>
<CAKFQuwaDHRfcKEQdAYtUc1=HBMv2QnAVgsULXpb1Qr=qj-7f9w@mail.gmail.com>
Thanks David
> In any case the cost-based stuff throttles I/O only (per the docs at
> least) but even while sleeping it still holds its lock. And it won't
> be kicked off of the lock by other processes. I don't see where it is
> documented that the autovacuum cost settings are altered during the
> anti-wraparound vacuum so I presume it will still sleep by default.
>
I knew I was misunderstanding something. I had picked up the impression
that the vacuum process cost_delay released the lock for the period. Not
just do nothing. Seems like that would be worth mentioning in the Docs.
I'm learning this from the inside out in the tradition of "well someone
has to do it". I'm sure I'm not alone.
-Senor
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: frio_cervesa@hotmail.com
Subject: Re: autovacuum_freeze_max_age on append-only tables
In-Reply-To: <DM8PR01MB7016C2C60B69B5BE1CAB3E8CF7F79@DM8PR01MB7016.prod.exchangelabs.com>
References: <DM8PR01MB7016C7C6DCAA853AACEE9039F7F59@DM8PR01MB7016.prod.exchangelabs.com> <a9399ae2d3cba3385a5abcf2dc693e7a402d5fbe.camel@cybertec.at> <DM8PR01MB701673B76E3C89B0729D3833F7F79@DM8PR01MB7016.prod.exchangelabs.com> <CAKFQuwaDHRfcKEQdAYtUc1=HBMv2QnAVgsULXpb1Qr=qj-7f9w@mail.gmail.com> <DM8PR01MB7016C2C60B69B5BE1CAB3E8CF7F79@DM8PR01MB7016.prod.exchangelabs.com>
* 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