Re: good pc but bad performance,why?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: good pc but bad performance,why?
Дата
Msg-id 6788.1081387878@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: good pc but bad performance,why?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: good pc but bad performance,why?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-performance
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> scott.marlowe wrote:
>>> There is no real need (or benefit) from having the database on a
>>> journalled filesystem - the journalling is only trying to give similar
>>> sorts of guarantees to what the fsync in PostgreSQL is doing.
>>
>> Is this true?  I was under the impression that without at least meta-data
>> journaling postgresql could still be corrupted by power failure.

> It is false.  ext2 isn't crash-safe, and PostgreSQL needs an intact file
> system for WAL recovery.

But it should be okay to set the filesystem to journal only its own
metadata.  There's no need for it to journal file contents.

            regards, tom lane

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

Предыдущее
От: Paul Thomas
Дата:
Сообщение: Re: statistics
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: good pc but bad performance,why?