public inbox for [email protected]  
help / color / mirror / Atom feed
From: Melanie Plageman <[email protected]>
To: Álvaro Herrera <[email protected]>
Cc: [email protected]
Subject: Re: pgsql: Add relallfrozen to pg_class
Date: Mon, 3 Mar 2025 11:52:40 -0500
Message-ID: <CAAKRu_b9MxbXbPFLShzRxgjV3kjxCZ-GrJHVBDvioa37bTgiow@mail.gmail.com> (raw)
In-Reply-To: <CAAKRu_Z_W+Fc92onBM7LmeFs0+Dcu4A7K_e5m6LMMn9biV+_xw@mail.gmail.com>
References: <[email protected]>
	<[email protected]>
	<CAAKRu_Z_W+Fc92onBM7LmeFs0+Dcu4A7K_e5m6LMMn9biV+_xw@mail.gmail.com>

On Mon, Mar 3, 2025 at 11:48 AM Melanie Plageman
<[email protected]> wrote:
>
> On Mon, Mar 3, 2025 at 11:44 AM Álvaro Herrera <[email protected]> wrote:
> >
> > I'm confused about this.  Why was the new value added to pg_class
> > instead of to the pgstat system?  I don't think relallvisible is a good
> > precedent, because as you write here, that one is used for planning,
> > which has different requirements.  For vacuuming metrics we rely on
> > pgstat.
>
> We use relpages and reltuples from pg_class in
> relation_needs_vacanalyze() in the same way relallfrozen is being used
> here.

Sorry reltuples only (not relpages).

- Melanie






view thread (5+ 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], [email protected]
  Subject: Re: pgsql: Add relallfrozen to pg_class
  In-Reply-To: <CAAKRu_b9MxbXbPFLShzRxgjV3kjxCZ-GrJHVBDvioa37bTgiow@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