Re: Trigger more frequent autovacuums of heavy insert tables

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



В списке pgsql-hackers по дате отправления: