Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group