From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: raising the default prepareTheshold
Date: Thu, 23 Sep 2004 19:16:40 +1200
Message-ID: <41527858.6060909@opencloud.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0409230201390.25933@leary.csoft.net>
References: <414CA8A0.7070707@opencloud.com>
<Pine.BSO.4.56.0409200354270.12765@leary.csoft.net>
<Pine.BSO.4.56.0409230201390.25933@leary.csoft.net>
Kris Jurka wrote:
>
> On Mon, 20 Sep 2004, Kris Jurka wrote:
>
>
>>At the same time do you think we should change the default fetchSize to
>>1000 or so? Even though it only works for FORWARD_ONLY ResultSets it
>>could reduce the number of complaints we see here without much penalty.
>>Previously the cursor implementation was more limiting by ruling out
>>server prepared statements.
>>
>
>
> Actually a little testing shows that a non-zero fetchSize implies using a
> named statement instead of the unnamed statement. So there will be some
> potentially negative planning differences, so I'm going to retract this
> suggestion.
Ah, this is because if we used the unnamed statement, the created portal
gets closed when the unnamed statement is reused. I forgot about that.
-O
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, books@ejurka.com
Subject: Re: raising the default prepareTheshold
In-Reply-To: <41527858.6060909@opencloud.com>
References: <414CA8A0.7070707@opencloud.com> <Pine.BSO.4.56.0409200354270.12765@leary.csoft.net> <Pine.BSO.4.56.0409230201390.25933@leary.csoft.net> <41527858.6060909@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