From: Markus Schaber <schabi@logix-tt.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Bind message
Date: Mon, 25 Sep 2006 23:14:24 +0200
Message-ID: <451846B0.6070906@logix-tt.com> (raw)
In-Reply-To: <Pine.BSO.4.63.0609251417310.4350@leary2.csoft.net>
References: <D4D1632DC736E74AB95FE78CD609007923B0F7@mtxexch01.add0.masergy.com>
<Pine.BSO.4.63.0609251417310.4350@leary2.csoft.net>
Hi, Kris,
Kris Jurka wrote:
> Sometimes it is, sometimes the purpose of using a PreparedStatement is
> to avoid escaping data yourself for a plain Statement execution. There
> are potential performance penalties for using a "reusable" server side
> prepared statement because it plans them with generic parameters, not
> those supplied in your query. For this reason we want to be sure that
> people will actually be reusing these statements before switching to
> this mode. I believe the default prepareThreshold is set to 5 despite
> what the documentation says.
I remember having read something about delaying the actual planning
until the first parameterset arrives.
Am I mislead by my weak memory?
Thanks
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
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: schabi@logix-tt.com
Subject: Re: Bind message
In-Reply-To: <451846B0.6070906@logix-tt.com>
References: <D4D1632DC736E74AB95FE78CD609007923B0F7@mtxexch01.add0.masergy.com> <Pine.BSO.4.63.0609251417310.4350@leary2.csoft.net> <451846B0.6070906@logix-tt.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