From: Csaba Nagy <nagy@ecircle-ag.com>
To: Dmitry Tkach <dmitry@openratings.com>
Cc: Fernando Nasser <fnasser@redhat.com>
Cc: Barry Lind <blind@xythos.com>
Cc: wsheldah@lexmark.com
Cc: pgsql-jdbc @ postgresql " ". org <pgsql-jdbc@postgresql.org>
Subject: Re: Prepared Statements
Date: 18 Jul 2003 17:49:20 +0200
Message-ID: <1058543361.25132.314.camel@coppola.ecircle.de> (raw)
In-Reply-To: <3F181511.70609@openratings.com>
References: <OFBD7C18F4.2499D62A-ON85256D66.005245AA@lexmark.com>
<3F174BFF.3070704@xythos.com>
<3F1801C5.9030104@openratings.com>
<3F18065A.1060406@redhat.com>
<3F180FB2.3090408@openratings.com>
<3F181054.5080707@redhat.com>
<3F181511.70609@openratings.com>
That's a hack indeed, but there's no finger crossing :-)
We do chunk our queries if needed, i.e. execute them multiple times if
the parameter set is too big. We mostly use this technique to filter a
set according to some criteria. Now if the set is too big, we do the
filtering chunk-wise, and then cumulate the result. I admit that it
won't work for all situations, but then if you have a big set, you might
be looking for a different solution like dumping them in to a temporary
table.
Cheers,
Csaba.
> Some people are used to hacks, like one described in an earlier post -
> where yuo create a statement with an awful lot of questionmarks, and
> then set each member of the set separately and cross your fingers,
> hoping that you have enough placeholders for your whole set...
>
> Dima
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
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: nagy@ecircle-ag.com, dmitry@openratings.com, fnasser@redhat.com, blind@xythos.com, wsheldah@lexmark.com
Subject: Re: Prepared Statements
In-Reply-To: <1058543361.25132.314.camel@coppola.ecircle.de>
References: <OFBD7C18F4.2499D62A-ON85256D66.005245AA@lexmark.com> <3F174BFF.3070704@xythos.com> <3F1801C5.9030104@openratings.com> <3F18065A.1060406@redhat.com> <3F180FB2.3090408@openratings.com> <3F181054.5080707@redhat.com> <3F181511.70609@openratings.com> <1058543361.25132.314.camel@coppola.ecircle.de>
* 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