Re: Theory question

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Theory question
Date: 2013-11-12 18:24:48
Message-ID: 1384280688.49523.YahooMailNeo@web162903.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Figueiredo Jr. 2013-11-12 18:36:46 Re: GSSAPI server side on Linux, SSPI client side on Windows
Previous Message Brian Crowell 2013-11-12 18:17:54 Re: GSSAPI server side on Linux, SSPI client side on Windows