Re: Separating bgwriter and checkpointer

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: Separating bgwriter and checkpointer
Дата
Msg-id CABRT9RACQK=aQeW=71j3HaGpobb1Y66jQGBMoKfsWWck0=2bEg@mail.gmail.com
обсуждение исходный текст
Ответ на Separating bgwriter and checkpointer  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Separating bgwriter and checkpointer
Список pgsql-hackers
On Fri, Sep 16, 2011 at 01:53, Simon Riggs <simon@2ndquadrant.com> wrote:
> This patch splits bgwriter into 2 processes: checkpointer and
> bgwriter, seeking to avoid contentious changes. Additional changes are
> expected in this release to build upon these changes for both new
> processes, though this patch stands on its own as both a performance
> vehicle and in some ways a refcatoring to simplify the code.

While you're already splitting up bgwriter, could there be any benefit
to spawning a separate bgwriter process for each tablespace?

If your database has one tablespace on a fast I/O system and another
on a slow one, the slow tablespace would also bog down background
writing for the fast tablespace. But I don't know whether that's
really a problem or not.

Regards,
Marti


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Back-branch releases upcoming this week
Следующее
От: Dave Page
Дата:
Сообщение: Re: Back-branch releases upcoming this week