X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 9996A9FB1E7 for ; Tue, 22 Aug 2006 07:03:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 51423-03 for ; Tue, 22 Aug 2006 10:02:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by postgresql.org (Postfix) with ESMTP id 7774F9FB2C0 for ; Tue, 22 Aug 2006 07:02:55 -0300 (ADT) Received: from osgiliath.mathom.us ([72.66.19.85]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J4E00DAJ98H46E5@vms040.mailsrvcs.net> for pgsql-performance@postgresql.org; Tue, 22 Aug 2006 05:02:42 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by osgiliath.mathom.us (Postfix) with ESMTP id 80A266FD6B for ; Tue, 22 Aug 2006 06:02:40 -0400 (EDT) Received: from osgiliath.mathom.us ([127.0.0.1]) by localhost (osgiliath.home.mathom.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3oLspkuMwP5Q for ; Tue, 22 Aug 2006 06:02:39 -0400 (EDT) Received: by osgiliath.mathom.us (Postfix, from userid 1000) id D284F6FD70; Tue, 22 Aug 2006 06:02:38 -0400 (EDT) Date: Tue, 22 Aug 2006 06:02:38 -0400 From: Michael Stone Subject: Re: Storage Options In-reply-to: <1156197051.15743.50.camel@dogma.v10.wvs> To: pgsql-performance@postgresql.org Mail-followup-to: pgsql-performance@postgresql.org Message-id: <20060822100236.GW2900@mathom.us> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline X-Virus-Scanned: Debian amavisd-new at mathom.us X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88 References: <1156197051.15743.50.camel@dogma.v10.wvs> User-Agent: Mutt/1.5.12-2006-07-14 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.816 tagged_above=0 required=5 tests=SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: *** X-Archive-Number: 200608/331 X-Sequence-Number: 20516 On Mon, Aug 21, 2006 at 02:50:51PM -0700, Jeff Davis wrote: >the NetApp over NFS, so I am not sure what performance to expect. Any >suggestions about using network storage like this for the database? Don't. Unless you're using a very small (toy-scale) database, the netapp storage is way too expensive for the kind of usage you see with a database application. You're much better off buying much cheaper storage twice and using a database replication solution than either choking a really expensive netapp or getting lousy performance from the same. The netapps have their niche, but database storage isn't it. (Peformance in general really isn't it--the advantages are managability, snapshotting, and cross-platform data exchange. It may be that those factors are important enough to make that a good solution for your particular situation, but they're generally not particularly relevant in the postgres space.) >Is there any consensus on whether to do WAL on a RAID-1 and PGDATA on a >RAID-10 versus everything on a RAID-10? How does the number of disks I >have affect this decision (I will probably have 4-8 disks per server). You can't get a good answer without testing with your actual data. I'd suspect that with such a low number of disks you're better off with a single array, assuming that you have a good bbu raid controller and assuming that you're not doing write-mostly transaction work. But testing with your actual workload is the only way to really know. Mike Stone