pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ext3 with data=ordered
2+ messages / 2 participants
[nested] [flat]

* ext3 with data=ordered
@ 2006-01-28 02:32  Jeff Frost <jeff@frostconsultingllc.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jeff Frost @ 2006-01-28 02:32 UTC (permalink / raw)
  To: pgsql-admin

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?

-- 
Jeff Frost, Owner 	<jeff@frostconsultingllc.com>
Frost Consulting, LLC 	http://www.frostconsultingllc.com/
Phone: 650-780-7908	FAX: 650-649-1954



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: ext3 with data=ordered
@ 2006-01-31 21:33  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Jeff Frost <jeff@frostconsultingllc.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2006-01-31 21:33 UTC (permalink / raw)
  To: Jeff Frost <jeff@frostconsultingllc.com>; +Cc: 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@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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-01-31 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-01-28 02:32 ext3 with data=ordered Jeff Frost <jeff@frostconsultingllc.com>
2006-01-31 21:33 ` Bruce Momjian <pgman@candle.pha.pa.us>

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