From: Brad Nicholson <bnichols@ca.afilias.info>
To: Tomeh, Husam <htomeh@firstam.com>
Cc: Adnan DURSUN <a_dursun@hotmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL Caching
Date: Wed, 04 Oct 2006 09:52:26 -0400
Message-ID: <1159969946.15773.23.camel@dba5.int.libertyrms.com> (raw)
In-Reply-To: <CB0FB369FF86E248A884BCC002562BCB0227DA91@pisgsna01sxch01.ana.firstamdata.com>
References: <CB0FB369FF86E248A884BCC002562BCB0227DA91@pisgsna01sxch01.ana.firstamdata.com>
On Tue, 2006-10-03 at 18:29 -0700, Tomeh, Husam wrote:
> >> * When any session updates the data that already in shared
> buffer,
> >>does Postgres synchronize the data both disk and shared buffers area
> >> immediately ?
>
> Not necessarily true. When a block is modified in the shared buffers,
> the modified block is written to the Postgres WAL log. A periodic DB
> checkpoint is performed to flush the modified blocks in the shared
> buffers to the data files.
Postgres 8.0 and beyond have a process called bgwriter that continually
flushes dirty buffers to disk, to minimize the work that needs to be
done at checkpoint time.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: bnichols@ca.afilias.info, htomeh@firstam.com, a_dursun@hotmail.com
Subject: Re: PostgreSQL Caching
In-Reply-To: <1159969946.15773.23.camel@dba5.int.libertyrms.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox