Re: Huge Data sets, simple queries

From: Kevin <kev(at)drule(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Huge Data sets, simple queries
Date: 2006-01-31 17:25:39
Message-ID: 43DF9D93.3030602@drule.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Luke Lonergan wrote:
> Jim,
>
> On 1/30/06 12:25 PM, "Jim C. Nasby" <jnasby(at)pervasive(dot)com> wrote:
>
>
>> Why divide by 2? A good raid controller should be able to send read
>> requests to both drives out of the mirrored set to fully utilize the
>> bandwidth. Of course, that probably won't come into play unless the OS
>> decides that it's going to read-ahead fairly large chunks of the table
>> at a time...
>>
>
> I've not seen one that does, nor would it work in the general case IMO. In
> RAID1 writes are duplicated and reads come from one of the copies. You
> could alternate read service requests to minimize rotational latency, but
> you can't improve bandwidth.
>
> - Luke
>
>
For Solaris's software raid, the default settings for raid-1 sets is:
round-robin read, parallel write. I assumed this mean't it would give
similar read performance to raid-0, but I've never benchmarked it.

-Kevin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Huxton 2006-01-31 18:33:14 Re: Delete me
Previous Message Luke Lonergan 2006-01-31 17:00:30 Re: Huge Data sets, simple queries