pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Autovacuum not working peoperly
Date: Thu, 17 Aug 2023 23:17:10 +0200
Message-ID: <588612c2-d539-e344-3115-2c5a511d8350@jakobs.com> (raw)
In-Reply-To: <CAJk5AtbbdNaPpDY3ghKPU4_Cp5BXmn0Y2wnrwRWEYFwfYYEqtA@mail.gmail.com>
References: <CAJk5AtbbdNaPpDY3ghKPU4_Cp5BXmn0Y2wnrwRWEYFwfYYEqtA@mail.gmail.com>

Am 17.08.23 um 21:06 schrieb Rajesh Kumar:
> These are parameters have reg autovacuum. Autovacuum is not running 
> properly. How to resolve this?
>
> autovacuum=on log_autovacuum_min_duration=0 autovacuum_max_workers=3 
> autovacuum_naptime=1min autovacuum_vacuum_threshold=50 
> autovacuum_analyze_threshold=50 autovacuum_vacuum_cost_limit=-1 
> autovacuum_vacuum_cost_delay=2ms autovacuum_freeze_max_age=200000000 
> autovacuum_vacuum_scale_factor=0.2 autovacuum_analyze_scale_factor=0.1


Every setting has to be on its own line.

To resolve problems, comment out all settings in the same way as it was 
after install.

Then try them step by step.


-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012



Attachments:

  [application/pgp-signature] OpenPGP_signature (202B, ../588612c2-d539-e344-3115-2c5a511d8350@jakobs.com/2-OpenPGP_signature)
  download

view thread (4+ messages)  latest in thread

Message-ID: <588612c2-d539-e344-3115-2c5a511d8350@jakobs.com>
Permalink:  ../588612c2-d539-e344-3115-2c5a511d8350@jakobs.com/
Also on:    postgresql.org/message-id/588612c2-d539-e344-3115-2c5a511d8350@jakobs.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: holger@jakobs.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Autovacuum not working peoperly
  In-Reply-To: <588612c2-d539-e344-3115-2c5a511d8350@jakobs.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