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 Z8NJAN3JkXqs_AjL@nathan
Whole thread Raw
In response to Re: Trigger more frequent autovacuums of heavy insert tables  (wenhui qiu <qiuwenhuifx@gmail.com>)
List pgsql-hackers
On Sat, Mar 01, 2025 at 08:57:52AM +0800, wenhui qiu wrote:
> Based on the comments, the  pcnt_unfrozen   value could potentially be 0,
> which would indicate that everything is frozen. Therefore,  is it necessary
> to handle the case where the value is 0.?

How so?  If it's 0, then the insert threshold calculation would produce
autovacuum_vacuum_insert_threshold, just like for an empty table.  That
seems like the intended behavior to me.

-- 
nathan



pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: Statistics Import and Export
Next
From: Doruk Yilmaz
Date:
Subject: Re: [Patch] add new parameter to pg_replication_origin_session_setup