From: Bruce Momjian <bruce@momjian.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: david@lang.hm, Greg Smith <gsmith@gregsmith.com>
Cc: Guillaume Cottenceau <gc@mnc.ch>
Cc: pgsql-performance@postgresql.org
Subject: Re: Choosing a filesystem
Date: Tue, 23 Sep 2008 13:02:01 -0400 (EDT)
Message-ID: <200809231702.m8NH21118074@momjian.us> (raw)
In-Reply-To: <b42b73150809141949w6f07b3afu16c950dcf7b54c50@mail.gmail.com>
Merlin Moncure wrote:
> > although for postgres the thing that you are doing the fsync on is the WAL
> > log file. that is a single (usually) contiguous file. As such it is very
> > efficiant to write large chunks of it. so while you will degrade from the
> > battery-only mode, the fact that the controller can flush many requests
> > worth of writes out to the WAL log at once while you fill the cache with
> > them one at a time is still a significant win.
>
> The heap files have to be synced as well during checkpoints, etc.
True, but as of 8.3 those checkpoint fsyncs are spread over the interval
between checkpoints.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: bruce@momjian.us, mmoncure@gmail.com, gsmith@gregsmith.com, gc@mnc.ch
Subject: Re: Choosing a filesystem
In-Reply-To: <200809231702.m8NH21118074@momjian.us>
References: <b42b73150809141949w6f07b3afu16c950dcf7b54c50@mail.gmail.com> <200809231702.m8NH21118074@momjian.us>
* 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