Re: Postgresql Performance on an HP DL385 and

Поиск
Список
Период
Сортировка
От Michael Stone
Тема Re: Postgresql Performance on an HP DL385 and
Дата
Msg-id 20060815205300.GX2900@mathom.us
обсуждение исходный текст
Ответ на Re: Postgresql Performance on an HP DL385 and  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-performance
On Tue, Aug 15, 2006 at 02:15:05PM -0500, Jim C. Nasby wrote:
>Now, if
>fsync'ing a file also ensures that all the metadata is written, then
>we're probably fine...

...and it does. Unclean shutdowns cause problems in general because
filesystems operate asynchronously. postgres (and other similar
programs) go to great lengths to make sure that critical operations are
performed synchronously. If the program *doesn't* do that, metadata
journaling isn't a magic wand which will guarantee data integrity--it
won't.  If the program *does* do that, all the metadata journaling adds
is the ability to skip fsck and start up faster.

Mike Stone

В списке pgsql-performance по дате отправления:

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Dell PowerEdge 2950 performance
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Inner Join of the same table