Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E6AE92E0047 for ; Mon, 3 Mar 2008 10:53:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 62106-05 for ; Mon, 3 Mar 2008 10:53:51 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.emolecules.com (66-226-76-106.dedicated.abac.net [66.226.76.106]) by postgresql.org (Postfix) with ESMTP id 8CE0D2E0051 for ; Mon, 3 Mar 2008 10:53:51 -0400 (AST) Received: (qmail 6856 invoked by uid 2020); 3 Mar 2008 06:53:49 -0800 Received: from wsip-68-224-174-233.sd.sd.cox.net (HELO lisa-james-computer.local) (68.224.174.233) by 192.168.0.4 with SMTP; 3 Mar 2008 06:53:49 -0800 Message-ID: <47CC10FC.4090605@emolecules.com> Date: Mon, 03 Mar 2008 06:53:48 -0800 From: Craig James User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Matthew CC: pgsql-performance Subject: Re: How to allocate 8 disks References: <1204285894.11773.33.camel@franck-gusty> <1204296705.11773.51.camel@franck-gusty> <47C88826.4040209@paradise.net.nz> <47C99B3E.4010606@emolecules.com> <20080301130347.0832b323@commandprompt.com> <47C9D05C.3040908@emolecules.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/26 X-Sequence-Number: 28980 Matthew wrote: > On Sat, 1 Mar 2008, Craig James wrote: >> Right, I do understand that, but reliability is not a top priority in >> this system. The database will be replicated, and can be reproduced >> from the raw data. > > So what you're saying is: > > 1. Reliability is not important. > 2. There's zero write traffic once the database is set up. Well, I actually didn't say either of those things, but I appreciate the feedback. RAID 0 is an interesting suggestion, but given our constraints, it's not an option. Reliability is important, but not as important as, say, a banking system. And as far as zero write traffic, I don't know where that came from. It's a "hitlist" based system, where complex search results are saved for the user in tables, and the write traffic can be quite high. > If this is true, then RAID-0 is the way to go. I think Greg's options > are good. Either: > > 2 discs RAID 1: OS > 6 discs RAID 0: database + WAL > > which is what we're using here (except with more discs), or: > > 8 discs RAID 10: everything Right now, an 8-disk RAID 10 is looking like the best choice. The Dell Perc 6i has configurations that include a battery-backed cache, so performance should be quite good. > However, if reliability *really* isn't an issue, and you can accept > reinstalling the system if you lose a disc, then there's a third option: > > 8 discs RAID 0: Everything I imagine the MTBF on a system like this would be < 1 year, which is out of the question, even with a backup system that can take over. A failure completely wipes the system, OS and everything, so you're guaranteed that once or twice a year, you have to rebuild your system from the ground up. I'd rather spend that time at the beach! Craig