Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 0CA2F2E0048 for ; Tue, 17 Jun 2008 12:06:43 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 89980-09 for ; Tue, 17 Jun 2008 12:06:31 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by developer.postgresql.org (Postfix) with ESMTP id A17812E003F for ; Tue, 17 Jun 2008 12:06:31 -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 m5HF6VwQ092655 for ; Tue, 17 Jun 2008 12:06:31 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id m5HEnIJZ072234 for pgsql-performance@postgresql.org; Tue, 17 Jun 2008 11:49:18 -0300 (ADT) (envelope-from news) From: "Lionel" X-Newsgroups: pgsql.performance Subject: Re: Which hardware ? Date: Tue, 17 Jun 2008 16:49:17 +0200 Organization: Hub.Org Networking Services Lines: 38 Message-ID: References: <20080617142501.GG68434@commandprompt.com> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/75 X-Sequence-Number: 30425 Andrew Sullivan wrote: > You won't need lots of processer, then. can't find less than quad core for this price range... > How big's the database? with 20 millions of rows, the main table is 3.5 Go on win XP. With 8 Go of indexes. I estimate the whole database around 30 Go / year > If you can have enough memory to hold the > whole thing, including all indexes, in memory, that's what you want. > Apart from that, "dual SATA2" is probably underpowered. But. . . RAID is twice more expansive. (600euros/month for a 5x750Go SATA2 with 12Gb of ram and unnecessary 2x quad core) didn't find any RAID 10 "not too expansive" dedicated server. If this setup is twice as fast, I can afford it. But if it a 30sec VS 40sec...I'm not sure my customer will pay. >> Which OS would you use ? (knowing that there will be a JDK 1.6 >> installed too) > > . . .I think this is the real mistake. Get a separate database box. > It's approximately impossible to tune a box correctly for both your > application and your database, in my experience. My tomcat webapp is well coded and consumes nearly nothing. On such powerful hardware, I prefer to run both on the same server. I could eventually run it on a different server, much less powerfull, but it's not on the same network, I guess this would be an issue.