X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.225.181]) by svr1.postgresql.org (Postfix) with ESMTP id DA879CCA2C for ; Thu, 17 Jul 2003 14:59:17 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr5.postgresql.org [64.117.225.181]) (amavisd-new, port 10024) with ESMTP id 24586-08 for ; Thu, 17 Jul 2003 14:59:37 +0000 (GMT) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id CEE1BCAE14 for ; Thu, 17 Jul 2003 11:59:05 -0300 (ADT) Received: from [192.168.5.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.0.6) with ESMTP-TLS id 1826298; Thu, 17 Jul 2003 07:25:37 -0700 Message-ID: <3F16B971.7050104@joeconway.com> Date: Thu, 17 Jul 2003 07:57:53 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hannu Krosing Cc: pgsql-performance@postgresql.org Subject: Re: Hardware performance References: <004b01c34c0f$256bfb80$0600a8c0@home01> <3F162B7D.1020106@joeconway.com> <1058428609.4289.5.camel@fuji.krosing.net> In-Reply-To: <1058428609.4289.5.camel@fuji.krosing.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/256 X-Sequence-Number: 2549 Hannu Krosing wrote: > How do you do RAID 1+0 with just two drives ? > Hmm, good point -- I must have been tired last night ;-). With two drives you can do mirroring or striping, but not both. Usually I've seen a pair of mirrored drives for the OS, and a RAID 1+0 array for data. But that requires 6 drives, not 5. On non-database servers usually the data array is RAID 5, and you could get away with 5 drives (as someone else pointed out). As I said, I've never personally found it necessary to move WAL off to a different physical drive. What do you think is the best configuration given the constraint of 5 drives? 1 drive for OS, and 4 for RAID 1+0 for data-plus-WAL? I guess the ideal would be to find enough money for that 6th drive, use the mirrored pair for both OS and WAL. Joe