Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2697D632B55 for ; Fri, 21 May 2010 09:15:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 88257-02 for ; Fri, 21 May 2010 12:15:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sci.pam.szczecin.pl (sci.pam.szczecin.pl [212.14.5.155]) by mail.postgresql.org (Postfix) with ESMTP id 8D55E632670 for ; Fri, 21 May 2010 09:15:24 -0300 (ADT) Received: from flox.pam.szczecin.pl ([212.14.5.130] helo=[192.168.1.18]) by sci.pam.szczecin.pl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OFR8L-0001QM-Be; Fri, 21 May 2010 14:15:21 +0200 Message-ID: <4BF67959.2000507@ams.edu.pl> Date: Fri, 21 May 2010 14:15:21 +0200 From: Piotr Legiecki User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Scott Marlowe CC: pgsql-performance@postgresql.org Subject: Re: old server, new server, same performance References: <4BED08B4.4030507@sci.pam.szczecin.pl> <4BF0F8FF.5040703@ams.edu.pl> <4BF111D1.2000101@ams.edu.pl> 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-Spam-Status: No, hits=-0.5 tagged_above=-10 required=5 tests=BAYES_05=-0.5 X-Spam-Level: X-Archive-Number: 201005/140 X-Sequence-Number: 38724 Scott Marlowe pisze: > Is one connecting via SSL? Is this a simple flat switched network, or > are these machines on different segments connected via routers? SSL is disabled. It is switched network, all tested computers are in the same segment. Finally I have switched the production database from old server to new one and strange things happened. The same query on new server I have used before with 30sec results now runs about 9 sec (so the same time as the old production server). Hm... Is it possible that database under some load performs better because it makes some something that database not used is not doing? P.