pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Péter Kovács <maxottovonstirlitz@gmail.com>
Cc: Roland Roberts <roland@astrofoto.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Very strange performance decrease when reusing a PreparedStatement
Date: Mon, 04 May 2009 12:00:01 +1200
Message-ID: <49FE3001.40006@opencloud.com> (raw)
In-Reply-To: <fdeb32eb0905031347o3f92f228ib0b6d62b2c0e0cd5@mail.gmail.com>
References: <5C2E1645-73B6-4509-96CD-FA77869516AB@noopsis.fr>
	<49F71EDD.2070200@opencloud.com>
	<02437794-A78D-449C-843F-B823195F9623@noopsis.fr>
	<fdeb32eb0905030122t665113e5nd34e7268d9ab1863@mail.gmail.com>
	<491f66a50905030310j5b4cdcd8jbf4f6e757c2ba580@mail.gmail.com>
	<fdeb32eb0905030928j4e72f1e3vbecb78d0cb74be58@mail.gmail.com>
	<49FDEB97.6050800@astrofoto.org>
	<fdeb32eb0905031347o3f92f228ib0b6d62b2c0e0cd5@mail.gmail.com>

Péter Kovács wrote:

> Regardless of what Oracle can or cannot do, the question stays put:
> Can precompiled Postgres SQL statements handle varying parameters?

Yes.

> If
> they can (and people here say they can), why doesn't the JDBC
> PreparedStatement take advantage of it?

It does.

-O



view thread (26+ messages)  latest in thread

Message-ID: <49FE3001.40006@opencloud.com>
Permalink:  ../49FE3001.40006@opencloud.com/
Also on:    postgresql.org/message-id/49FE3001.40006@opencloud.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: oliver@opencloud.com, maxottovonstirlitz@gmail.com, roland@astrofoto.org
  Subject: Re: Very strange performance decrease when reusing a PreparedStatement
  In-Reply-To: <49FE3001.40006@opencloud.com>
  References: <5C2E1645-73B6-4509-96CD-FA77869516AB@noopsis.fr> <49F71EDD.2070200@opencloud.com> <02437794-A78D-449C-843F-B823195F9623@noopsis.fr> <fdeb32eb0905030122t665113e5nd34e7268d9ab1863@mail.gmail.com> <491f66a50905030310j5b4cdcd8jbf4f6e757c2ba580@mail.gmail.com> <fdeb32eb0905030928j4e72f1e3vbecb78d0cb74be58@mail.gmail.com> <49FDEB97.6050800@astrofoto.org> <fdeb32eb0905031347o3f92f228ib0b6d62b2c0e0cd5@mail.gmail.com> <49FE3001.40006@opencloud.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