Re: PG12 autovac issues

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: Justin King <kingpin867(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-general(at)lists(dot)postgresql(dot)org, kgrittn(at)gmail(dot)com
Subject: Re: PG12 autovac issues
Date: 2020-03-28 08:53:59
Message-ID: 20200328085359.GB29155@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Fri, Mar 27, 2020 at 08:23:03PM +0100, Julien Rouhaud wrote:
> FTR we reached the 200M transaxtion earlier, and I can see multiple logs of the
> form "automatic vacuum to prevent wraparound", so non-aggressive antiwraparound
> autovacuum, all on shared relations.

Thanks Julien for sharing the information with the community. Note
that three shared relations did not run such jobs though.

> As those vacuum weren't skipped, autovacuum didn't get stuck in a loop on those
> and continue its work normally. This happened ~ 4h ago, didn't ocurred again
> while the 200M threshold was reached again multiple time.

As we have confirmed that 2aa6e33 is actually the origin of the
problem, I am planning to revert it at the beginning of next week, and
then dig more into the origin of those anti-wraparound and
non-aggressive jobs happening for a portion of the shared relations.
Andres has started a thread about the problem on -hackers here:
https://www.postgresql.org/message-id/20200323235036.6pje6usrjjx22zv3@alap3.anarazel.de

And I'll follow up there with anything new I find. Please let me know
if there are any objections with the revert though, this will address
the problem reported by Justin.
--
Michael

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andres Freund 2020-03-28 18:29:41 Re: PG12 autovac issues
Previous Message Michael Paquier 2020-03-28 08:47:19 Re: PG12 autovac issues

Browse pgsql-general by date

  From Date Subject
Next Message Matthias Apitz 2020-03-28 09:40:11 Re: \COPY to accept non UTF-8 chars in CHAR columns
Previous Message Michael Paquier 2020-03-28 08:47:19 Re: PG12 autovac issues