Himanshu Baweja <[EMAIL PROTECTED]> 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 tablespaces or 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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to