pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arthur Zakirov <a.zakirov@postgrespro.ru>
To: rjo_roy@yahoo.com <rjo_roy@yahoo.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Enabling autovacuum per table
Date: Mon, 15 Oct 2018 12:27:59 +0300
Message-ID: <078d5504-ac33-ea9a-5ff5-85adfadbb1bc@postgrespro.ru> (raw)
In-Reply-To: <76007915.10489869.1539590480467@mail.yahoo.com>
References: <76007915.10489869.1539590480467.ref@mail.yahoo.com>
	<76007915.10489869.1539590480467@mail.yahoo.com>

On 10/15/18 11:01 AM, Rijo Roy wrote:
> Hello Experts,
> 
> Is there any possibility for autovacuum to work on a user table if we set
> Alter table sometable set (autovacuum_enabled = true) ; even if the 
> parameter autovacuum = off in Postgresql.conf
> 
> I am using Postgresql 10 on Linux 6.9.
> 
> According to me, it won't work without setting autovacuum = on except 
> for Template0 database. What is your opinion?

I think you are right, autovacuum won't vacuum and analyze a table 
without setting autovacuum = on. But PostgreSQL might want to force 
vacuum if a table is at risk of wraparound.

-- 
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company




view thread (6+ messages)  latest in thread

Message-ID: <078d5504-ac33-ea9a-5ff5-85adfadbb1bc@postgrespro.ru>
Permalink:  ../078d5504-ac33-ea9a-5ff5-85adfadbb1bc@postgrespro.ru/
Also on:    postgresql.org/message-id/078d5504-ac33-ea9a-5ff5-85adfadbb1bc@postgrespro.ru

 · 

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: a.zakirov@postgrespro.ru, rjo_roy@yahoo.com
  Subject: Re: Enabling autovacuum per table
  In-Reply-To: <078d5504-ac33-ea9a-5ff5-85adfadbb1bc@postgrespro.ru>
  References: <76007915.10489869.1539590480467.ref@mail.yahoo.com> <76007915.10489869.1539590480467@mail.yahoo.com> <078d5504-ac33-ea9a-5ff5-85adfadbb1bc@postgrespro.ru>

* 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