Re: filesystem option tuning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: shridhar(at)frodo(dot)hserus(dot)net
Cc: share-postgres(at)think42(dot)com, Richard Huxton <dev(at)archonet(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: filesystem option tuning
Date: 2004-05-29 15:18:06
Message-ID: 20195.1085843886@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net> writes:
> On Wednesday 19 May 2004 13:02, share-postgres(at)think42(dot)com wrote:
> - If you can put WAL on separate disk(s), all the better.
>>
>> Does that mean only the xlog, or also the clog?

> You can put clog and xlog on same drive.

You can, but I think you shouldn't. The entire argument for giving xlog
its own drive revolves around the fact that xlog is written
sequentially, and so if it has its own spindle then you have near-zero
seek requirements. As soon as you give that drive any other work to do,
you start losing the low-seek property.

Now as Shridhar says, clog is not a very high-I/O-volume thing, so in
one sense it doesn't much matter which drive you put it on. But it
seems to me that clog acts much more like ordinary table files than it
acts like xlog.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2004-05-29 15:30:56 Re: Use arrays to store multilanguage texts
Previous Message Greg Stark 2004-05-29 14:28:38 Re: Use arrays to store multilanguage texts

Browse pgsql-performance by date

  From Date Subject
Next Message Duane Lee - EGOVX 2004-06-01 21:03:40 Trigger & Function
Previous Message Shridhar Daithankar 2004-05-29 09:31:45 Re: filesystem option tuning