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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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