Re: Moving pg_xlog

Поиск
Список
Период
Сортировка
От John A Meinel
Тема Re: Moving pg_xlog
Дата
Msg-id 429E2854.1050209@arbash-meinel.com
обсуждение исходный текст
Ответ на Re: Moving pg_xlog  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Moving pg_xlog
Список pgsql-performance
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, because there will always
>be other traffic to the root disk.  What you are really trying to
>accomplish is to make sure the xlog is on a disk spindle that has no
>other traffic besides xlog, so that the disk heads never have to move
>off the current xlog file.  The xlog traffic is 100% sequential writes
>and so you can cut the seeks involved to near nil if you can dedicate
>a spindle to it.
>
>
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.

John
=:->


Вложения

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

Предыдущее
От: Brad Nicholson
Дата:
Сообщение: Re: Moving pg_xlog
Следующее
От: Tobias Brox
Дата:
Сообщение: Forcing use of specific index