Re: Separating bgwriter and checkpointer - Mailing list pgsql-hackers

From Marti Raudsepp
Subject Re: Separating bgwriter and checkpointer
Date
Msg-id CABRT9RACQK=aQeW=71j3HaGpobb1Y66jQGBMoKfsWWck0=2bEg@mail.gmail.com
Whole thread Raw
In response to Separating bgwriter and checkpointer  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Separating bgwriter and checkpointer
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Back-branch releases upcoming this week
Next
From: Dave Page
Date:
Subject: Re: Back-branch releases upcoming this week