pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Don Seiler <don@seiler.us>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: template0 needing vacuum freeze?
Date: Mon, 18 May 2020 21:51:11 -0400
Message-ID: <28914.1589853071@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHJZqBBDOmhg488UaCNwzDdoLDxD3YHOF_AkUHVyLmHA4gGeLg@mail.gmail.com>
References: <CAHJZqBAGheciTgcKZ9J=Q=A+CdtH0LOUbtqsX8nSvBS1RKggQg@mail.gmail.com>
	<bc9b99b68cb8746a8440935bcb87e38440adbaaf.camel@cybertec.at>
	<CAHJZqBBDOmhg488UaCNwzDdoLDxD3YHOF_AkUHVyLmHA4gGeLg@mail.gmail.com>

Don Seiler <don@seiler.us> writes:
> On Mon, May 18, 2020 at 1:40 AM Laurenz Albe <laurenz.albe@cybertec.at>
> wrote:
>> Perhaps autovacuum never handled "template0" because it concluded (rightly)
>> that it has to deal with "foo_db" first.

> Yes this DB had a table in it that had been autovacuuming since Feb 2. It's
> age is half way to wraparound so I'm in the middle of a manual VACUUM
> FREEZE on it. I'd be interested in knowing if that prevents template0 from
> autovacuuming itself. There are no other autovacuum jobs running.

I think we did put in a change that would prevent any one database from
completely consuming autovacuum's attention, even in wraparound-hazard
situations.  Don't recall when.

Do you have an idea why autovac was failing to clear the issue on that one
problem table, though?

			regards, tom lane





view thread (8+ messages)  latest in thread

Message-ID: <28914.1589853071@sss.pgh.pa.us>
Permalink:  ../28914.1589853071@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28914.1589853071@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, don@seiler.us, laurenz.albe@cybertec.at
  Subject: Re: template0 needing vacuum freeze?
  In-Reply-To: <28914.1589853071@sss.pgh.pa.us>
  References: <CAHJZqBAGheciTgcKZ9J=Q=A+CdtH0LOUbtqsX8nSvBS1RKggQg@mail.gmail.com> <bc9b99b68cb8746a8440935bcb87e38440adbaaf.camel@cybertec.at> <CAHJZqBBDOmhg488UaCNwzDdoLDxD3YHOF_AkUHVyLmHA4gGeLg@mail.gmail.com> <28914.1589853071@sss.pgh.pa.us>

* 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