X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E07F49DC826 for ; Tue, 31 Jan 2006 13:39:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06256-07 for ; Tue, 31 Jan 2006 13:39:11 -0400 (AST) X-Greylist: delayed 00:05:00.750326 by SQLgrey- Received: from rwcrmhc14.comcast.net (rwcrmhc14.comcast.net [216.148.227.154]) by postgresql.org (Postfix) with ESMTP id BBEC69DC801 for ; Tue, 31 Jan 2006 13:39:10 -0400 (AST) Received: from [192.168.0.52] (c-24-8-249-24.hsd1.co.comcast.net[24.8.249.24]) by comcast.net (rwcrmhc14) with ESMTP id <20060131172907m1400lostse>; Tue, 31 Jan 2006 17:29:07 +0000 Message-ID: <43DF9D93.3030602@drule.org> Date: Tue, 31 Jan 2006 10:25:39 -0700 From: Kevin User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Huge Data sets, simple queries References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/489 X-Sequence-Number: 16967 Luke Lonergan wrote: > Jim, > > On 1/30/06 12:25 PM, "Jim C. Nasby" 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