Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 7DBC49FA129 for ; Thu, 9 Aug 2007 19:05:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 91181-07 for ; Thu, 9 Aug 2007 19:05:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id B49DC9FB738 for ; Thu, 9 Aug 2007 19:05:06 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 7F6F756456; Thu, 9 Aug 2007 17:05:05 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Thu, 9 Aug 2007 17:05:02 -0500 Date: Thu, 9 Aug 2007 17:05:02 -0500 From: Decibel! To: Merlin Moncure Cc: Joe Uhl , pgsql-performance@postgresql.org Subject: Re: Dell Hardware Recommendations Message-ID: <20070809220502.GE20424@nasby.net> References: <46BB6F3D.6090608@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eUJndGal4TJgqj0h" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:070809:mmoncure@gmail.com::WIjTCuBL9pjMO8b/:0000000000000000000 0000000000000000000000008STI X-Hashcash: 1:20:070809:joeuhl@gmail.com::G2cYz7efSdeaX5Nl:01l1m X-Hashcash: 1:20:070809:pgsql-performance@postgresql.org::b6Mf0NjqvDaZ09P8:00000 0000000000000000000000004N2e X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/90 X-Sequence-Number: 26220 --eUJndGal4TJgqj0h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 09, 2007 at 05:50:10PM -0400, Merlin Moncure wrote: > Raid 10 is usually better for databases but in my experience it's a > roll of the dice. If you factor cost into the matrix a SAS raid 05 > might outperform a SATA raid 10 because you are getting better storage > utilization out of the drives (n - 2 vs. n / 2). Then again, you > might not. It's going to depend heavily on the controller and the workload. Theoretically, if most of your writes are to stripes that the controller already has cached then you could actually out-perform RAID10. But that's a really, really big IF, because if the strip isn't in cache you have to read the entire thing in before you can do the write... and that costs *a lot*. Also, a good RAID controller can spread reads out across both drives in each mirror on a RAID10. Though, there is an argument for not doing that... it makes it much less likely that both drives in a mirror will fail close enough to each other that you'd lose that chunk of data. Speaking of failures, keep in mind that a normal RAID5 puts you only 2 drive failures away from data loss, while with RAID10 you can potentially lose half the array without losing any data. If you do RAID5 with multiple parity copies that does change things; I'm not sure which is better at that point (I suspect it matters how many drives are involved). The comment about the extra controller isn't a bad idea, although I would hope that you'll have some kind of backup server available, which makes an extra controller much less useful. --=20 Decibel!, aka Jim Nasby decibel@decibel.org EnterpriseDB http://enterprisedb.com 512.569.9461 (cell) --eUJndGal4TJgqj0h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGu4+OdO30qud8SkgRAg2/AJ0dRGCUVn2chUscjcaaAEEAUI69MQCfYpKQ kr12Ehx0Y1z84br260p4eSQ= =jbFx -----END PGP SIGNATURE----- --eUJndGal4TJgqj0h--