Re: mount -o async - is it safe?

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: mount -o async - is it safe?
Дата
Msg-id 87k6cwthgn.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на Re: mount -o async - is it safe?  (Shane Wright <shane.wright@edigitalresearch.com>)
Ответы Re: mount -o async - is it safe?  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-general
Shane Wright <shane.wright@edigitalresearch.com> writes:

> Actually I thought that *all* the database had to have fsync() work correctly;
> not for integrity on failed transactions, but to maintain integrity during
> checkpointing as well.  But I could well be wrong!

I think you're write, but what I was thinking of is the scenario where
WAL writes are done in small increments, then committed with fsync()
once a full page has been written.  With a sync mount this would
result in the equivalent of fsync() for every small write, which would
hurt a lot.

I dimly recall this sort of thing being discussed in the past, but I
don't know offhand whether PG does its WAL writes in small chunks or
page-at-a-time.

-Doug

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

Предыдущее
От: Ian Harding
Дата:
Сообщение: Re: tsearch2 and "how to use"
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: PostgreSQL Top 10 Wishlist