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 019F9329D95; Thu, 16 Sep 2004 21:49:04 +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 87395-01; Thu, 16 Sep 2004 20:48:52 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [66.143.173.58]) by svr1.postgresql.org (Postfix) with ESMTP id 65ADF329D83; Thu, 16 Sep 2004 21:48:54 +0100 (BST) Received: by flake.decibel.org (Postfix, from userid 1001) id C97E71C8B7; Thu, 16 Sep 2004 15:48:53 -0500 (CDT) Date: Thu, 16 Sep 2004 15:48:53 -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: <20040916204853.GF56059@decibel.org> References: <200409161050.33289.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409161050.33289.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/175 X-Sequence-Number: 8303 On Thu, Sep 16, 2004 at 10:50:33AM -0700, Josh Berkus wrote: > The second step is to have lots of disks; 5 drives is a minimum for really > good performance. 3-drive RAID5, in particular, is a poor performer for > PostgreSQL, often resulting in I/O that is 40% or less as efficient as a > single disk due to extremely slow random seeks and little parallelization. > > Once you have 6 drives or more, opinions are divided on whether RAID 10 or > RAID 5 is better. I think it partly depends on your access pattern. 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? -- 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?"