pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rijo Roy <rjo_roy@yahoo.com>
To: a.zakirov@postgrespro.ru <a.zakirov@postgrespro.ru>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Enabling autovacuum per table
Date: Mon, 15 Oct 2018 10:25:47 +0000 (UTC)
Message-ID: <839519694.10529501.1539599147122@mail.yahoo.com> (raw)
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>

Yeah when age(relfrozenxid) goes beyond the limit Postgresql will invoke the autovacuum session to avoid a wraparound issue.. But here that's not the case.. 

Sent from Yahoo Mail on Android 
 
  On Mon, 15 Oct 2018 at 2:58 pm, Arthur Zakirov<a.zakirov@postgrespro.ru> wrote:   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: <839519694.10529501.1539599147122@mail.yahoo.com>
Permalink:  ../839519694.10529501.1539599147122@mail.yahoo.com/
Also on:    postgresql.org/message-id/839519694.10529501.1539599147122@mail.yahoo.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 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: rjo_roy@yahoo.com, a.zakirov@postgrespro.ru
  Subject: Re: Enabling autovacuum per table
  In-Reply-To: <839519694.10529501.1539599147122@mail.yahoo.com>
  References: <76007915.10489869.1539590480467.ref@mail.yahoo.com> <76007915.10489869.1539590480467@mail.yahoo.com> <078d5504-ac33-ea9a-5ff5-85adfadbb1bc@postgrespro.ru> <839519694.10529501.1539599147122@mail.yahoo.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