Re: maintenance_work_mem and autovacuum

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: maintenance_work_mem and autovacuum
Дата
Msg-id 49CBE901.7000309@agliodbs.com
обсуждение исходный текст
Ответ на Re: maintenance_work_mem and autovacuum  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: maintenance_work_mem and autovacuum
Re: maintenance_work_mem and autovacuum
Список pgsql-hackers
> I agree with Magnus' original reasoning: we can have more than one
> autovacuum process, so we may have autovacuum_max_workers active and so
> the work mem they use must be smaller. For maintenance_work_mem we would
> typically only have one session using it at any time, so we either have
> to start hardcoding the value in scripts or accept the fact it has been
> set lower.

I actually have a client who does both automated and manual vacuums. 
Having two settings would definitely be convenient for them.

That said, it would be unnecessary if I could use ROLES to set 
parameters more reliably ....

;-)

--Josh



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Potential problem with HOT and indexes?
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: GIN versus zero-key queries