Re: autovacuum multiworkers, patch 5

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: autovacuum multiworkers, patch 5
Дата
Msg-id 20070411234937.GI8704@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: autovacuum multiworkers, patch 5  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: autovacuum multiworkers, patch 5
Список pgsql-patches
ITAGAKI Takahiro wrote:
> > > >Yes, that's correct.  Per previous discussion, what I actually wanted to
> > > >do was to create a GUC setting to simplify the whole thing, something
> > > >like "autovacuum_max_mb_per_second" or "autovacuum_max_io_per_second".
> > > >Then, have each worker use up to (max_per_second/active workers) as much
> > > >IO resources.
> >
> > One thing I forgot to mention is that this is unlikely to be implemented
> > in 8.3.
>
> This is a WIP cost balancing patch built on autovacuum-multiworkers-5.patch.
> The total cost of workers are adjusted to autovacuum_vacuum_cost_delay.

I manually merged your patch on top of my own.  This is the result.
Please have a look at whether the new code is correct and behaves sanely
(I haven't tested it).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Full page writes improvement, code update
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: High resolution psql \timing on Windows