public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: Pgsql-admin <[email protected]>
Subject: Re: Vacuuming System DBs like postgres, template1
Date: Mon, 4 Aug 2025 01:53:12 -0400
Message-ID: <CANzqJaDC0SP+u_MtXa5fxNxA=0DmAjgQzioeM6c=+WKMzjxX0w@mail.gmail.com> (raw)
In-Reply-To: <CAKFQuwafDdAKdYTWq_aC_=yXgUydCA__Aiim16C=ZT7Cr+M-vg@mail.gmail.com>
References: <CAOZWJqP0so=CBLXK70u1ibDnstVLmpPjv7YngNv-jxQzJLjv=w@mail.gmail.com>
	<CAKFQuwafDdAKdYTWq_aC_=yXgUydCA__Aiim16C=ZT7Cr+M-vg@mail.gmail.com>

On Mon, Aug 4, 2025 at 12:48 AM David G. Johnston <
[email protected]> wrote:

> On Sun, Aug 3, 2025 at 8:45 PM OMPRAKASH SAHU <[email protected]>
> wrote:
>
>> On few large DBs we run vacuum analyze manually as well, and I do see few
>> people vacuuming the template1 db or postgres db also
>>
>> So just wanted to know vacuum system dbs is required or not?
>>
>> Pretty sure the answer is yes - though letting auto-vacuum do it is
> sufficient - since something has to update the catalog column that
> indicates the oldest transaction the database is aware of.  There isn't a
> value for that which means "everything has been frozen" since it doesn't
> get updated in the normal course of activity.
>

template1 needs to be regularly vacuumed?

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


view thread (3+ messages)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Vacuuming System DBs like postgres, template1
  In-Reply-To: <CANzqJaDC0SP+u_MtXa5fxNxA=0DmAjgQzioeM6c=+WKMzjxX0w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox