From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Henry Francisco Garcia Cortez <garcortez@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Cc: david.g.johnston@gmail.com
Subject: Re: autovacuum_vacuum_cost_limit
Date: Fri, 9 Apr 2021 21:50:23 -0400
Message-ID: <20210410015023.GA13248@alvherre.pgsql> (raw)
In-Reply-To: <464b3f924e940410da74fdc254c3aba275fc5880.camel@cybertec.at>
On 2021-Apr-10, Laurenz Albe wrote:
> On Fri, 2021-04-09 at 14:19 -0600, Henry Francisco Garcia Cortez wrote:
> > Hi community I have a question about autovacuum_vacuum_cost_limit
> > I want to increase this parameter I have read on internet that value
> > It could have as maximum 10,000 but I want to know, what will it be the troubles if I did that change
>
> That will keep PostgreSQL from functioning properly.
>
> I would never increase the setting beyond the 20ms that were the
> default before v12.
I think you're confusing it with autovacuum_vacuum_cost_delay. He is
asking about the cost_limit. Increasing that setting will mean that the
20ms sleeps will occur much less frequently.
--
Álvaro Herrera Valdivia, Chile
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: alvherre@alvh.no-ip.org, laurenz.albe@cybertec.at, garcortez@gmail.com, pgsql-admin@lists.postgresql.org, david.g.johnston@gmail.com
Subject: Re: autovacuum_vacuum_cost_limit
In-Reply-To: <20210410015023.GA13248@alvherre.pgsql>
* 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