Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TKEFy-0006R7-Rw for pgsql-jdbc@postgresql.org; Fri, 05 Oct 2012 20:12:22 +0000 Received: from plane.gmane.org ([80.91.229.3]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TKEFu-0003mu-UP for pgsql-jdbc@postgresql.org; Fri, 05 Oct 2012 20:12:22 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TKEFw-0002wH-Gc for pgsql-jdbc@postgresql.org; Fri, 05 Oct 2012 22:12:20 +0200 Received: from ppp-188-174-173-118.dynamic.mnet-online.de ([188.174.173.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 22:12:20 +0200 Received: from spam_eater by ppp-188-174-173-118.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 22:12:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver Date: Fri, 05 Oct 2012 22:12:00 +0200 Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-188-174-173-118.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Pg-Spam-Score: -3.0 (---) X-Archive-Number: 201210/16 X-Sequence-Number: 23340 emergency.shower@gmail.com wrote on 05.10.2012 21:27: > after the upgrade the latest PortgreSQL 9.2-1000 JDBC 4 driver, we > discovered a severe performance degradation when connecting to 8.4, > 9.0, 9.1, and 9.2 servers. In a test application the > DriverManager#getConnection(String, String, String) call constantly > took > 4500 ms compared to < 20 ms with the previous 9.1-903 JDBC 4 > driver. This makes the driver virtually unusable in production > environments. > > Client: Windows 2008 R2, Windows 7 > Server: PostgreSQL 8.4, 9.0, 9.1, 9.2 on Linux 2.6 I cannot confirm that. I actually have the impression that it's faster (at least using "localhost", can't test a remote server right now).