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 3399752891 for ; Mon, 6 Jun 2005 13:04:47 -0300 (ADT) 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 21725-03 for ; Mon, 6 Jun 2005 16:04:44 +0000 (GMT) Received: from spieden.seattleserver.com (spieden.seattleserver.com [216.57.201.54]) by svr1.postgresql.org (Postfix) with ESMTP id 5D73852812 for ; Mon, 6 Jun 2005 13:04:41 -0300 (ADT) Received: (qmail 3980 invoked from network); 6 Jun 2005 16:01:54 +0000 Received: from pool-71-113-2-184.sttlwa.dsl-w.verizon.net (HELO ?192.168.2.5?) (cshobe@seattleserver.com@71.113.2.184) by spieden.seattleserver.com with RC4-MD5 encrypted SMTP; 6 Jun 2005 16:01:54 +0000 From: Casey Allen Shobe Organization: SeattleServer.com, Inc. To: John A Meinel Subject: Re: Performance nightmare with dspam (urgent) (resolved) Date: Mon, 6 Jun 2005 16:04:39 +0000 User-Agent: KMail/1.8 Cc: Postgresql Performance References: <200506012019.13218.cshobe@seattleserver.com> <200506061454.48018.lists@seattleserver.com> <42A466E7.4080808@arbash-meinel.com> In-Reply-To: <42A466E7.4080808@arbash-meinel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506061604.39122.lists@seattleserver.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.481 tagged_above=0 required=5 tests=AWL, INFO_TLD X-Spam-Level: X-Archive-Number: 200506/115 X-Sequence-Number: 12752 On Monday 06 June 2005 15:08, John A Meinel wrote: > Be very careful in this situation. If any disks in a RAID0 fails, the > entire raid is lost. You *really* want a RAID10. It takes more drives, > but then if anything dies you don't lose everything. We have redundancy at the machine level using DRBD, so this is not a concern. > I don't know if you can do it, but it would be nice to see this be 1 > RAID1 for OS, 1 RAID10 for pg_xlog, and another RAID10 for data. That is > the recommended performance layout. It takes quite a few drives (minimum > of 10). But it means your data is safe, and your performance should be > very good. The current servers have 4 drive bays, and we can't even afford to fill them all right now...we just invested what amounts to "quite a lot" on our budget for these 2 servers, so replacing them is not an option at all right now. I think the most cost-effective road forward is to add 2 more drives to each of the existing servers (which currently have 2 each). Cheers, -- Casey Allen Shobe | http://casey.shobe.info cshobe@seattleserver.com | cell 425-443-4653 AIM & Yahoo: SomeLinuxGuy | ICQ: 1494523 SeattleServer.com, Inc. | http://www.seattleserver.com