Re: [ADMIN] Can postgres run autovacuum tasks when autovacuum is disabled?

From: Andrey Zhidenkov <pensnarik(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [ADMIN] Can postgres run autovacuum tasks when autovacuum is disabled?
Date: 2014-07-31 05:56:13
Message-ID: CAN=gQ4B7HCeVc_D6eKNfnr8WN-7V35xbfdrowaf5fA_V_c5dGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-bugs

Thank you for your fix. It is really seems that this bug appears only when
some autovacuum jobs are active.

Andrey Zhidenkov.

On Wed, Jul 30, 2014 at 7:09 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> I wrote:
> > However ... it looks to me like if the autovac launcher gets launched
> > forcibly because of a possible wraparound issue, it will keep running
> > normally after that even if autovacuum is off :-(.
>
> Nope, scratch that: I missed the bit before the launcher's main loop,
> where it fires off one child and exits if it's launched when autovacuum
> is already false.
>
> Still, if it does fire one child process, it looks like that child will
> vacuum everything that seems to need vacuuming in the target database.
> We should probably adjust that so that tables not in danger of wraparound
> get skipped.
>
> regards, tom lane
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

--
С уважением, Андрей Жиденков.

_
ASCII ribbon campaign ( )
against HTML e-mail X
/ \

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message jesper 2014-07-31 09:25:19 Autovacuum not keeping up. (PG 9.2.9)
Previous Message Tom Lane 2014-07-30 15:09:37 Re: [ADMIN] Can postgres run autovacuum tasks when autovacuum is disabled?

Browse pgsql-bugs by date

  From Date Subject
Next Message blainelijia 2014-07-31 09:13:37 BUG #11102: setup error
Previous Message craig 2014-07-30 23:33:28 BUG #11095: quickdie() calls syslog() in a signal handler leading to deadlock