X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 798FC329E46 for ; Thu, 23 Sep 2004 08:09:41 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86783-08 for ; Thu, 23 Sep 2004 07:09:33 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id B1BC8329C89 for ; Thu, 23 Sep 2004 08:09:33 +0100 (BST) Received: (qmail 17385 invoked by uid 1112); 23 Sep 2004 07:09:33 -0000 Date: Thu, 23 Sep 2004 02:09:33 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Oliver Jowett Cc: pgsql-jdbc Subject: Re: raising the default prepareTheshold In-Reply-To: Message-ID: References: <414CA8A0.7070707@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/158 X-Sequence-Number: 11048 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. Kris Jurka