Re: allow changing autovacuum_max_workers without restarting

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: allow changing autovacuum_max_workers without restarting
Дата
Msg-id ZnIpuKIW4RO70XeJ@nathan
обсуждение исходный текст
Ответ на Re: allow changing autovacuum_max_workers without restarting  (Andres Freund <andres@anarazel.de>)
Ответы Re: allow changing autovacuum_max_workers without restarting
Список pgsql-hackers
On Tue, Jun 18, 2024 at 02:33:31PM -0700, Andres Freund wrote:
> Another one:
> 
> Have a general cap of 64, but additionally limit it to something like
>      max(1, min(WORKER_CAP, max_connections / 4))
> 
> so that cases like tap tests don't end up allocating vastly more worker slots
> than actual connection slots.

That's a clever idea.  My only concern would be that we are tethering two
parameters that aren't super closely related, but I'm unsure whether it
would cause any problems in practice.

-- 
nathan



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

Предыдущее
От: John H
Дата:
Сообщение: Re: Addressing SECURITY DEFINER Function Vulnerabilities in PostgreSQL Extensions
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Revive num_dead_tuples column of pg_stat_progress_vacuum