public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nathan Bossart <[email protected]>
To: Melanie Plageman <[email protected]>
Cc: Pg Hackers <[email protected]>
Cc: Robert Haas <[email protected]>
Cc: Andres Freund <[email protected]>
Cc: Peter Geoghegan <[email protected]>
Cc: David Rowley <[email protected]>
Subject: Re: Trigger more frequent autovacuums of heavy insert tables
Date: Wed, 19 Feb 2025 15:59:54 -0600
Message-ID: <Z7ZUWje-e1e_fKeu@nathan> (raw)
In-Reply-To: <CAAKRu_Z4C3E4bgYypn9naqPH-WMyGAZFZT0oG=AiBB83jp2ySg@mail.gmail.com>
References: <CAAKRu_aj-P7YyBz_cPNwztz6ohP+vWis=iz3YcomkB3NpYA--w@mail.gmail.com>
	<Z6ZEzroNEykAQN4A@nathan>
	<CAAKRu_arp7a-Kiy8DhL21CZrpm0w3CU3JOFei_LUqSShfpCUPg@mail.gmail.com>
	<Z6ZvUx4N4svJmXjF@nathan>
	<CAAKRu_ai610C+z9MokdsUNRGP72u91WDWF1GvtR2XDjTuqjdDQ@mail.gmail.com>
	<Z6Z1hTJahF-zYjIh@nathan>
	<Z7Nfv91GrQtLXP4q@nathan>
	<CAAKRu_Z4C3E4bgYypn9naqPH-WMyGAZFZT0oG=AiBB83jp2ySg@mail.gmail.com>

On Wed, Feb 19, 2025 at 04:36:05PM -0500, Melanie Plageman wrote:
> This makes me think I should also not cap relallfrozen when using it
> in relation_needs_vacanalyze(). There I cap it to relallvisible and
> relallvisible is capped to relpages. One of the ideas behind letting
> people modify these stats in pg_class is that they can change a single
> field to see what the effect on their system is, right?

Right.  Capping these values to reflect reality seems like it could make
that more difficult.

>> Should we allow manipulating relallfrozen like we do relallvisible?  My
>> assumption is that would even be required for the ongoing statistics
>> import/export work.
> 
> Why would it be required for the statistics import/export work?

It's probably not strictly required, but my naive expectation would be that
we'd handle relallfrozen just like relallvisible, which appears to be
dumped in the latest stats import/export patch.  Is there any reason we
shouldn't do the same for relallfrozen?

-- 
nathan






view thread (4+ messages)  latest in thread

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], [email protected], [email protected], [email protected]
  Subject: Re: Trigger more frequent autovacuums of heavy insert tables
  In-Reply-To: <Z7ZUWje-e1e_fKeu@nathan>

* 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