Re: Moving pg_xlog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Moving pg_xlog
Дата
Msg-id 13548.1117722203@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Moving pg_xlog  (Himanshu Baweja <himanshubaweja@yahoo.com>)
Ответы Re: Moving pg_xlog  (Himanshu Baweja <himanshubaweja@yahoo.com>)
Список pgsql-performance
Himanshu Baweja <himanshubaweja@yahoo.com> writes:
> My database has two scsi disks....
> my current configuration has pg_xlog on disk1 and data on disk2....
> the machine is used for database only....
> now did some logging and came to a conclusion that my disk2(data disk) is getting used around 3 times more than
disk1(pg_xlog)....

> so wht is recommended... move some of the data to disk1 so that both disks are equally used... by creating
tablespacesor let my configuration be whts its currently... iowait is one of the bottlenecks in my application
performance.....

It seems highly unlikely that putting more stuff on the xlog disk will
improve performance --- at least not if your bottleneck is update speed.
If it's a read-mostly workload then optimizing xlog writes may not be
the most important thing to you.  In that case you might want to ignore
xlog and try something along the lines of tables on one disk, indexes
on the other.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to avoid database bloat
Следующее
От: "Mindaugas Riauba"
Дата:
Сообщение: Re: How to avoid database bloat