Skip site navigation (1) Skip section navigation (2)

Re: ext3 with data=ordered

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: ext3 with data=ordered
Date: 2006-01-31 21:33:44
Message-ID: 200601312133.k0VLXia10223@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-admin by date

Next:From: slackmanDate: 2006-02-01 01:09:48
Subject: where i can find ?
Previous:From: Uwe C. SchroederDate: 2006-01-31 18:28:42
Subject: Re: query to select the table primary key column name

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group