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: Fri, 7 Feb 2025 15:05:09 -0600
Message-ID: <Z6Z1hTJahF-zYjIh@nathan> (raw)
In-Reply-To: <CAAKRu_ai610C+z9MokdsUNRGP72u91WDWF1GvtR2XDjTuqjdDQ@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>

On Fri, Feb 07, 2025 at 03:57:49PM -0500, Melanie Plageman wrote:
> As for relallfrozen, one of the justifications for adding it to
> pg_class is actually for the visibility it would provide. We have no
> way of knowing how many all-visible but not all-frozen pages there are
> on users' systems without pg_visibility. If users had this
> information, they could potentially tune their freeze-related settings
> more aggressively. Regularly reading the whole visibility map with
> pg_visibilitymap_summary() is pretty hard to justify on most
> production systems. But querying pg_class every 10 minutes or
> something is much more reasonable.

If we need it anyway, then I have no objections to using a freeze-related
metric for a freeze-related feature.

Okay, I'll actually look at the patches next...

-- 
nathan






view thread (10+ 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: <Z6Z1hTJahF-zYjIh@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