Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 94F3F2E0037 for ; Tue, 17 Jun 2008 11:34:24 -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 51212-06 for ; Tue, 17 Jun 2008 11:34:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ppsw-9.csi.cam.ac.uk (ppsw-9.csi.cam.ac.uk [131.111.8.139]) by developer.postgresql.org (Postfix) with ESMTP id A20572E0072 for ; Tue, 17 Jun 2008 11:33:48 -0300 (ADT) X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from flymine.sysbiol.cam.ac.uk ([131.111.60.120]:50330 helo=flymine.flymine.org) by ppsw-9.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25) with esmtp id 1K8cFg-0000wm-U7 (Exim 4.67) for pgsql-performance@postgresql.org (return-path ); Tue, 17 Jun 2008 15:33:40 +0100 Received: from host103 ([192.168.128.103] helo=aragorn.flymine.org ident=Debian-exim) by flymine.flymine.org with esmtp (Exim 4.12) id 1K8cFg-0005TZ-00 for pgsql-performance@postgresql.org; Tue, 17 Jun 2008 15:33:40 +0100 Received: from mnw21 (helo=localhost) by aragorn.flymine.org with local-esmtp (Exim 4.69) (envelope-from ) id 1K8cFg-0008OM-8x for pgsql-performance@postgresql.org; Tue, 17 Jun 2008 15:33:40 +0100 Date: Tue, 17 Jun 2008 15:33:40 +0100 (BST) From: Matthew Wakeling X-X-Sender: mnw21@aragorn.flymine.org To: pgsql-performance@postgresql.org Subject: Re: Which hardware ? In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1; FORMAT=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: X-Archive-Number: 200806/74 X-Sequence-Number: 30424 On Tue, 17 Jun 2008, Lionel wrote: > I need to install a 8.3 database and was wondering which hardware would be > sufficient to have good performances (less than 30s for=B2 slowest select= ). > It's almost impossible to predict what users will do via the webapplicati= on > that queries this database: almost all select, join, group by, where... > possibilities are available. Well, Scott has given you some good pointers on how to make a fast system.= =20 However, your original question ("is this fast enough") is impossible to=20 answer, especially if the users are allowed to run absolutely anything=20 they want. I bet you I could craft a query that takes more than 30 seconds= =20 regardless of how fast you make your system. Having said that, I'll add the suggestion that you should put as much RAM= =20 in the box as possible. It can only help. As others have said, if you only= =20 have four users, then CPU power isn't going to be such a problem, and=20 given that, I'd disagree with Andrew and say as long as you have plenty of= =20 RAM, Java can play well with a database on the same box. Depends what it=20 is doing, of course. Matthew --=20 To be or not to be -- Shakespeare To do is to be -- Nietzsche To be is to do -- Sartre Do be do be do -- Sinatra=