X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 79B1E329D69; Thu, 16 Sep 2004 23:19:57 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13441-07; Thu, 16 Sep 2004 22:19:45 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [66.143.173.58]) by svr1.postgresql.org (Postfix) with ESMTP id 00D96329D20; Thu, 16 Sep 2004 23:19:44 +0100 (BST) Received: by flake.decibel.org (Postfix, from userid 1001) id AF89F1C8B6; Thu, 16 Sep 2004 17:19:43 -0500 (CDT) Date: Thu, 16 Sep 2004 17:19:43 -0500 From: "Jim C. Nasby" To: Josh Berkus Cc: ricardo@sqlmagazine.com.br, pgsql-performance@postgresql.org, br@postgresql.org Subject: Re: Article about PostgreSQL and RAID in Brazil Message-ID: <20040916221943.GJ56059@decibel.org> References: <200409161050.33289.josh@agliodbs.com> <20040916204853.GF56059@decibel.org> <200409161407.37669.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409161407.37669.josh@agliodbs.com> X-Operating-System: FreeBSD 4.10-RELEASE-p2 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/182 X-Sequence-Number: 8310 On Thu, Sep 16, 2004 at 02:07:37PM -0700, Josh Berkus wrote: > Jim, > > > What about benefits from putting WAL and pg_temp on seperate drives? > > Specifically, we have a box with 8 drives, 2 in a mirror with the OS and > > WAL and pg_temp; the rest in a raid10 with the database on it. Do you > > think it would have been better to make one big raid10? What if it was > > raid5? And what if it was only 6 drives total? > > OSDL's finding was that even with a large RAID array, it still benefits you to > have WAL on a seperate disk resource ... substantially, like 10% total > performance. However, your setup doesn't get the full possible benefit, > since WAL is sharing the array with other resources. Yes, but if a 3 drive raid array is 40% slower than a single disk it seems like the 10% benefit for having WAL on a seperate drive would still be a losing proposition. BTW, my experience with our setup is that the raid10 is almost always the IO bottleneck, and not the mirror with everything else on it. -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"