Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 28C1065027E for ; Thu, 28 Aug 2008 16:29:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 93524-02 for ; Thu, 28 Aug 2008 16:29:51 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id BBF6C65026C for ; Thu, 28 Aug 2008 16:29:53 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id m7SJToMh093565 for ; Thu, 28 Aug 2008 16:29:50 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id m7SJMcjs087163 for pgsql-performance@postgresql.org; Thu, 28 Aug 2008 16:22:38 -0300 (ADT) (envelope-from news) From: cluster X-Newsgroups: pgsql.performance Subject: Best hardware/cost tradoff? Date: Thu, 28 Aug 2008 21:22:38 +0200 Organization: Hub.Org Networking Services Lines: 23 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Thunderbird 2.0.0.16 (X11/20080724) To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200808/383 X-Sequence-Number: 31264 I'm about to buy a combined web- and database server. When (if) the site gets sufficiently popular, we will split the database out to a separate server. Our budget is limited, so how should we prioritize? * We think about buying some HP Proliant server with at least 4GB ram and at least a duo core processor. Possibly quad core. The OS will be debian/Linux. * Much of the database will fit in RAM so it is not *that* necessary to prefer the more expensive SAS 10000 RPM drives to the cheaper 7500 RPM SATA drives, is it? There will both be many read- and write queries and a *lot* (!) of random reads. * I think we will go for hardware-based RAID 1 with a good battery-backed-up controller. I have read that software RAID perform surprisingly good, but for a production site where hotplug replacement of dead disks is required, is software RAID still worth it? Anything else we should be aware of? Thanks!