Re: FreeBSD Softupdates?? - Mailing list pgsql-general

From Alfred Perlstein
Subject Re: FreeBSD Softupdates??
Date
Msg-id 20000926140835.D9141@fw.wintelcom.net
Whole thread Raw
In response to Re: FreeBSD Softupdates??  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
* Bruce Momjian <pgman@candle.pha.pa.us> [000926 13:55] wrote:
> > Alfred Perlstein wrote:
> > >
> > [snipped thread]
> >
> > OK, if I'm reading it right, the general concensus seems to be - it'll
> > work, but there is a possibility of data loss in event of system
> > crash....although everything should be OK 99.9% of the time.
> >
> > yep, this is about what I thought.. I wanted to get a feel for
> > practicality though.
> >
> > Thanks for all your input guys, I'll stick to my standard filesystem for
> > now..
>
> No, softupdates to not affect recovery.  Standard PostgreSQL flushes all
> stuff to disk on transaction commit, and this it not affected by the
> file system softupdate status.

This is only true if the user isn't running postgresql async.

So softupdates should be ok as long as postgresql is issueing
fsyncs, if you're running postgresql in async mode, then it's
probably better not to use softupdates.

Also, since running postgresql in sync mode will basically cause
the negation of most softupdate benifits with the exception of
tempfiles, doesn't postgresql differenciate between system files
and tempfiles?

--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: FreeBSD Softupdates??
Next
From: Neil Conway
Date:
Subject: Re: web programming