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 7D6839DCB9E for ; Tue, 31 Jan 2006 19:20:04 -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 83977-09 for ; Tue, 31 Jan 2006 19:20:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.Mi8.com (d01gw01.mi8.com [63.240.6.47]) by postgresql.org (Postfix) with ESMTP id 8AFB39DCAA6 for ; Tue, 31 Jan 2006 19:19:57 -0400 (AST) Received: from 172.16.1.148 by mail.Mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D1)); Tue, 31 Jan 2006 18:19:42 -0500 X-Server-Uuid: 241911D6-425B-44B9-A073-E3FE0F8FC774 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.175]) by D01HOST02.Mi8.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 31 Jan 2006 18:19:40 -0500 Received: from 67.103.45.218 ([67.103.45.218]) by MI8NYCMAIL06.Mi8.com ( [172.16.1.219]) via Exchange Front-End Server mi8owa.mi8.com ( [172.16.1.106]) with Microsoft Exchange Server HTTP-DAV ; Tue, 31 Jan 2006 23:19:39 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Tue, 31 Jan 2006 15:19:38 -0800 Subject: Re: Huge Data sets, simple queries From: "Luke Lonergan" To: "Jim C. Nasby" cc: "Mike Biamonte" , pgsql-performance@postgresql.org Message-ID: Thread-Topic: [PERFORM] Huge Data sets, simple queries Thread-Index: AcYmvM4XDGFWGpKwEdqBvAANk63kWA== In-Reply-To: <20060131231227.GP95850@pervasive.com> MIME-Version: 1.0 X-OriginalArrivalTime: 31 Jan 2006 23:19:40.0844 (UTC) FILETIME=[CFC996C0:01C626BC] X-WSS-ID: 6FC12F0732K1834077-02-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.312 required=5 tests=[AWL=0.059, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.312 X-Spam-Level: * X-Archive-Number: 200601/499 X-Sequence-Number: 16977 Jim, On 1/31/06 3:12 PM, "Jim C. Nasby" wrote: >> The alternating technique in mirroring might improve rotational latency for >> random seeking - a trick that Tandem exploited, but it won't improve >> bandwidth. > > Or just work in multiples of tracks, which would greatly reduce the > impact of delays from seeking. So, having rediscovered the facts underlying the age-old RAID10 versus RAID5 debate we're back to the earlier points. RAID10 is/was the best option when latency / random seek was the predominant problem to be solved, RAID5/50 is best where read bandwidth is needed. Modern developments in fast CPUs for write checksumming have made RAID5/50 a viable alternative to RAID10 even when there is moderate write / random seek workloads and fast read is needed. >> >> Works great with standard OS write caching. > > Well, the only problem with that is if the machine crashes for any > reason you risk having the database corrupted (or at best losing some > committed transactions). So, do you routinely turn off Linux write caching? If not, then there's no difference. - Luke