Re: Load distributed checkpoint - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Load distributed checkpoint
Date
Msg-id 200612281803.kBSI3oF17297@momjian.us
Whole thread Raw
In response to Re: Load distributed checkpoint  ("Jim C. Nasby" <jim@nasby.net>)
Responses Re: Load distributed checkpoint  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Jim C. Nasby wrote:
> On Thu, Dec 28, 2006 at 12:50:19PM -0500, Bruce Momjian wrote:
> > To summarize, if we could have fsync() only write the dirty buffers that
> > happened as part of the checkpoint, we could delay the write() for the
> > entire time between checkpoints, but we can't do that, so we have to
> > make it user-tunable.
> 
> What about the mmap/msync(?)/munmap idea someone mentioned?

I see that as similar to using O_DIRECT during checkpoint, which had
poor performance.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: TODO: GNU TLS
Next
From: "Joshua D. Drake"
Date:
Subject: Re: TODO: Add a GUC to control whether BEGIN inside