X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CF5FA5638B for ; Wed, 9 Mar 2005 09:44:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 37386-08 for ; Wed, 9 Mar 2005 09:44:17 +0000 (GMT) Received: from mosaic02.mosaic.de (mosaic02.mosaic.de [195.247.16.18]) by svr1.postgresql.org (Postfix) with ESMTP id 2094656374 for ; Wed, 9 Mar 2005 09:44:16 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by mosaic02.mosaic.de (Postfix) with ESMTP id DE034778AE for ; Wed, 9 Mar 2005 10:44:42 +0100 (CET) Received: from mosaic02.mosaic.de ([127.0.0.1]) by localhost (mosaic02.mosaic-ag.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23474-08 for ; Wed, 9 Mar 2005 10:44:41 +0100 (CET) Received: by mosaic02.mosaic.de (Postfix, from userid 10) id E8571778A7; Wed, 9 Mar 2005 10:44:41 +0100 (CET) Received: from [172.17.1.87] (aupc287.mosaic-ag.com [172.17.1.87]) by mailsrv.mosaic-ag.com (Postfix) with ESMTP id 0ABF656281 for ; Wed, 9 Mar 2005 10:39:23 +0100 (CET) Message-ID: <422EC44A.3050106@mosaic-ag.com> Date: Wed, 09 Mar 2005 10:39:22 +0100 From: Roland Walter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.5) Gecko/20041217 X-Accept-Language: de-DE,de,en MIME-Version: 1.0 To: "pgsql-jdbc@postgresql.org" Subject: Re: JDBC driver build 215 slow when index contains column References: <422EC149.5040306@mosaic-ag.com> In-Reply-To: <422EC149.5040306@mosaic-ag.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: mosaic-ag.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.47 tagged_above=0 required=5 tests=TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200503/81 X-Sequence-Number: 12473 Roland Walter schrieb: ... > > I use setLong() to set the value of bc_id, but the update > is slow, as the index on bigint does not get used. > > Changing the JDBC-driver to build 310 increases the speed dramatically: > 160 updates with build 215 consumed more than 10 minutes, with build 310 > just about 3 seconds. ... Forgot to mention that the table contains about 1.5 million rows. -- Roland Walter MOSAIC SOFTWARE AG Telefon: 02225/882-411 Fax: 02225/882-201 http://www.mosaic-ag.com