Re: WAL and O_DIRECT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WAL and O_DIRECT
Дата
Msg-id 4614.1431620728@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WAL and O_DIRECT  (Ravi Krishna <s.ravikrishna@aim.com>)
Список pgsql-admin
Ravi Krishna <s.ravikrishna@aim.com> writes:
> Am I right in concluding that PG WAL writes without underlying h/w caching is not crash proof.

We expect that the hardware+OS honors fsync() correctly, ie puts the data
on durable storage before fsync returns.  That does not mean anything one
way or the other about caching, it just means that the filesystem stack
has to be correctly implemented.

            regards, tom lane


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

Предыдущее
От: Ravi Krishna
Дата:
Сообщение: Re: WAL and O_DIRECT
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: WAL and O_DIRECT