Re: We probably need autovacuum_max_wraparound_workers

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: We probably need autovacuum_max_wraparound_workers
Дата
Msg-id 20120629021519.GR1267@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: We probably need autovacuum_max_wraparound_workers  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
* Josh Berkus (josh@agliodbs.com) wrote:
> I don't find Stephen's proposal of goal-based solutions to be practical.
>  A goal-based approach makes the assumption that database activity is
> predictable, and IME most databases are anything but.

We're talking about over the entire transaction space, and we can be
pretty liberal, in my view, with our estimates.  If we get it right, we
might risk doing more autovac's for wraparound than strictly necessary,
but they should happen over a sufficient time that it doesn't cause
performance issues.

One definite problem with this, of course, is that the wraparound
autovac can't be stopped and restarted, and anything that increases the
amount of wall-clock time required to complete the autovac will
necessairly increase the risk that we'll lose a bunch of work due to a
database restart.
Thanks,
    Stephen

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: We probably need autovacuum_max_wraparound_workers
Следующее
От: "Etsuro Fujita"
Дата:
Сообщение: Re: [PATCH] Lazy hashaggregate when no aggregation is needed