Re: FreeBSD Softupdates??

Поиск
Список
Период
Сортировка
От Alfred Perlstein
Тема Re: FreeBSD Softupdates??
Дата
Msg-id 20000926140835.D9141@fw.wintelcom.net
обсуждение исходный текст
Ответ на Re: FreeBSD Softupdates??  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FreeBSD Softupdates??
Следующее
От: Neil Conway
Дата:
Сообщение: Re: web programming