Re: Huge Data sets, simple queries

From: Alan Stange <stange(at)rentec(dot)com>
To: "Jeffrey W(dot) Baker" <jwbaker(at)acm(dot)org>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Huge Data sets, simple queries
Date: 2006-02-02 19:41:19
Message-ID: 43E2605F.5050705@rentec.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Jeffrey W. Baker wrote:
> On Tue, 2006-01-31 at 09:00 -0800, 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.
>>
>
> Then you've not seen Linux. Linux does balanced reads on software
> mirrors. I'm not sure why you think this can't improve bandwidth. It
> does improve streaming bandwidth as long as the platter STR is more than
> the bus STR.
>
FYI: so does the Solaris Volume Manager (by default) on Solaris. One
can choose alternate access methods like "First" (if the other mirrors
are slower than the first) or "Geometric". It's been doing this for a
good 10 years now (back when it was called DiskSuite), so it's nothing new.

-- Alan

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2006-02-05 00:49:05 Re: Index occupancy
Previous Message Tom Lane 2006-02-02 16:58:24 Re: Planner reluctant to start from subquery