pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: ext3 with data=ordered
Date: Tue, 31 Jan 2006 16:33:44 -0500 (EST)
Message-ID: <200601312133.k0VLXia10223@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.64.0601271829370.14339@discord.dyndns.org>

Jeff Frost wrote:
> Is it reasonable to mount the PGDATA filesystem with data=writeback on ext3 as 
> long as the PGXLOG filesystem is mounted data=ordered and fsync=on?  Or is 
> this only acceptable if you have battery backed controllers?

data=writeback is fine on all PostgreSQL file systems, including pg_xlog
because we fsync() it on commit.  In fact it is the recommended mount
option for ext3.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (2+ messages)

Message-ID: <200601312133.k0VLXia10223@candle.pha.pa.us>
Permalink:  ../200601312133.k0VLXia10223@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200601312133.k0VLXia10223@candle.pha.pa.us

 · 

reply

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-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, jeff@frostconsultingllc.com
  Subject: Re: ext3 with data=ordered
  In-Reply-To: <200601312133.k0VLXia10223@candle.pha.pa.us>
  References: <Pine.LNX.4.64.0601271829370.14339@discord.dyndns.org> <200601312133.k0VLXia10223@candle.pha.pa.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