pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Planning to change autovacuum_vacuum_scale_factor value to zero. Please suggest me if any negative impact.
Date: Wed, 11 Apr 2018 13:01:19 +0200
Message-ID: <1523444479.2428.27.camel@cybertec.at> (raw)
In-Reply-To: <CAEHH7R4=srTc69GWGkfdy4W8ZqKYFohxck_aK0dxO18YpFdmDQ@mail.gmail.com>
References: <CAEHH7R5r7VGULV8Dzzk8tL=y3kKQFGcQuyu3SrBfdmHTf6mFWA@mail.gmail.com>
	<1523431746.2428.19.camel@cybertec.at>
	<CAEHH7R4=srTc69GWGkfdy4W8ZqKYFohxck_aK0dxO18YpFdmDQ@mail.gmail.com>

Raghavendra Rao J S V wrote:
> Are you suggesting me to keep "autovacuum_vacuum_cost_limit"  to zero or
> "  autovacuum_vacuum_scale_factor" to zero or both? Please clarify me.

autovacuum_vacuum_cost_limit is effectively 100 by default.
You could raise it to 2000 or more.

If that does not take care of your problems, set autovacuum_vacuum_cost_delay to 0.

That will make autovacuum even more aggressive.

Do *not* set autovacuum_vacuum_scale_factor to 0.  That will just cause autovacuum
to run all the time without getting anywhere.  Sorry for trying to use irony in
e-mail; I am aware I shouldn't do that.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




view thread (4+ messages)

Message-ID: <1523444479.2428.27.camel@cybertec.at>
Permalink:  ../1523444479.2428.27.camel@cybertec.at/
Also on:    postgresql.org/message-id/1523444479.2428.27.camel@cybertec.at

 · 

reply

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, raghavendrajsv@gmail.com
  Subject: Re: Planning to change autovacuum_vacuum_scale_factor value to zero. Please suggest me if any negative impact.
  In-Reply-To: <1523444479.2428.27.camel@cybertec.at>
  References: <CAEHH7R5r7VGULV8Dzzk8tL=y3kKQFGcQuyu3SrBfdmHTf6mFWA@mail.gmail.com> <1523431746.2428.19.camel@cybertec.at> <CAEHH7R4=srTc69GWGkfdy4W8ZqKYFohxck_aK0dxO18YpFdmDQ@mail.gmail.com> <1523444479.2428.27.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