pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roland Walter <rwa@mosaic-ag.com>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC driver build 215 slow when index contains column
Date: Wed, 09 Mar 2005 10:39:22 +0100
Message-ID: <422EC44A.3050106@mosaic-ag.com> (raw)
In-Reply-To: <422EC149.5040306@mosaic-ag.com>
References: <422EC149.5040306@mosaic-ag.com>

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




view thread (4+ messages)  latest in thread

Message-ID: <422EC44A.3050106@mosaic-ag.com>
Permalink:  ../422EC44A.3050106@mosaic-ag.com/
Also on:    postgresql.org/message-id/422EC44A.3050106@mosaic-ag.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: rwa@mosaic-ag.com
  Subject: Re: JDBC driver build 215 slow when index contains column
  In-Reply-To: <422EC44A.3050106@mosaic-ag.com>
  References: <422EC149.5040306@mosaic-ag.com> <422EC44A.3050106@mosaic-ag.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox