Re: Theory question - Mailing list pgsql-general

From Kevin Grittner
Subject Re: Theory question
Date
Msg-id 1384280688.49523.YahooMailNeo@web162903.mail.bf1.yahoo.com
Whole thread Raw
In response to Theory question  (Jayadevan M <maymala.jayadevan@gmail.com>)
Responses Re: Theory question
List pgsql-general
Jayadevan M <maymala.jayadevan@gmail.com> wrote:

> What are the real differences between the bgwriter and
> checkpointer process? Both of them write data from the buffer to
> the data files, right? Is it just a matter of 'when' they write?

The checkpointer process is responsible for creating safe points
from which a recovery can begin; the background writer tries to
keep some pages available for re-use so that processes running
queries don't need to wait for page writes  in order to have free
spots to use in shared buffers.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-general by date:

Previous
From: Brian Crowell
Date:
Subject: Re: GSSAPI server side on Linux, SSPI client side on Windows
Next
From: "Francisco Figueiredo Jr."
Date:
Subject: Re: GSSAPI server side on Linux, SSPI client side on Windows