Re: Trigger more frequent autovacuums of heavy insert tables - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Trigger more frequent autovacuums of heavy insert tables
Date
Msg-id aR3rhfVCEpgtg9mK@nathan
Whole thread Raw
In response to Re: Trigger more frequent autovacuums of heavy insert tables  (Melanie Plageman <melanieplageman@gmail.com>)
List pgsql-hackers
On Tue, Nov 18, 2025 at 04:30:14PM -0500, Melanie Plageman wrote:
> I wish we could say "* number of unfrozen tuples". I know that's not
> true because we don't know how many tuples are on each page, but the
> formula feels a little overly detailed this way. Anyway, this is fine.
> I didn't apply and render the whole thing, but the wording looks good
> to me.

Committed, thanks for looking.

> It's actually interesting that we calculate the thresholds in tuples
> when vacuum operates per page. And the per tuple costs are not really
> as big of a deal as the per page costs.

Hm...  I wonder how much of a difference this makes and whether it's worth
changing.

-- 
nathan



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: doc: remove verbiage about "receiving" data from rep. slots
Next
From: Robert Haas
Date:
Subject: Re: Consistently use the XLogRecPtrIsInvalid() macro