Re: Trigger more frequent autovacuums of heavy insert tables

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Trigger more frequent autovacuums of heavy insert tables
Дата
Msg-id Z8NJAN3JkXqs_AjL@nathan
обсуждение исходный текст
Ответ на Re: Trigger more frequent autovacuums of heavy insert tables  (wenhui qiu <qiuwenhuifx@gmail.com>)
Список 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 по дате отправления: