Re: Two hard drives --- what to do with them?

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Two hard drives --- what to do with them?
Дата
Msg-id 1172526666.10824.315.camel@dogma.v10.wvs
обсуждение исходный текст
Ответ на Re: Two hard drives --- what to do with them?  ("Peter Kovacs" <maxottovonstirlitz@gmail.com>)
Ответы Re: Two hard drives --- what to do with them?  ("Peter Kovacs" <maxottovonstirlitz@gmail.com>)
Список pgsql-performance
On Sun, 2007-02-25 at 23:11 +0100, Peter Kovacs wrote:
> A related question:
> Is it sufficient to disable write cache only on the disk where pg_xlog
> is located? Or should write cache be disabled on both disks?
>

When PostgreSQL does a checkpoint, it thinks the data pages before the
checkpoint have successfully made it to disk.

If the write cache holds those data pages, and then loses them, there's
no way for PostgreSQL to recover. So use a battery backed cache or turn
off the write cache.

Regards,
    Jeff Davis


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

Предыдущее
От: Charles Sprickman
Дата:
Сообщение: Re: Writting a "search engine" for a pgsql DB
Следующее
От: "Peter Kovacs"
Дата:
Сообщение: Re: Two hard drives --- what to do with them?