Re: Moving pg_xlog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Moving pg_xlog
Дата
Msg-id 10259.1117692391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Moving pg_xlog  (John A Meinel <john@arbash-meinel.com>)
Список pgsql-performance
John A Meinel <john@arbash-meinel.com> writes:
> Tom Lane wrote:
>> Now that I think about it, you were (if I understood your layout
>> correctly) proposing to put the xlog on your system's root disk.
>> This is probably a bad idea for performance, ...

> I certainly agree with what you wrote. But my understanding is that if
> you only have 2 arrays, then moving xlog onto the array not on the
> database is better than having it with the database. It isn't optimum,
> but it is better. Because that way there isn't as much contention
> between the database and xlog.

If the machine isn't doing much else than running the database, then
yeah, that may be the best available option.  If there are other things
going on then you have to think about how much competition there is for
the root disk.

But the impression I had from the OP's df listing is that he has several
disks available ... so he ought to be able to find one that doesn't need
to do anything except xlog.

            regards, tom lane

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

Предыдущее
От: William Yu
Дата:
Сообщение: Re: Adaptec/LSI/?? RAID
Следующее
От: Grega Bremec
Дата:
Сообщение: Re: 'Fastest' PC's are slowest in the house