pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Prepared Statements vs. pgbouncer
Date: Sat, 29 Sep 2007 13:46:34 +0200
Message-ID: <46FE3B1A.7020603@agliodbs.com> (raw)
In-Reply-To: <20070929072159.GI3140@inuus.com>
References: <20070929002513.GG3140@inuus.com>
	<46FDA4F2.8080507@opencloud.com>
	<20070929021522.GH3140@inuus.com>
	<24584.1191033096@sss.pgh.pa.us>
	<20070929072159.GI3140@inuus.com>

Paul Lindner wrote:
> I appear to have stirred the pot a little too vigorously..  Let's take
> a deep breath and take a step back..
> 
> First off, I really appreciate the hard work that's gone into the
> design and implementation of Postgres and the JDBC driver.  I realize
> that what I'm trying to do falls outside of the norms -- hopefully the
> following background information will help everyone understand what
> I'm trying to achieve:

Actually, I wouldn't say it "goes outside the norm".  While the majority 
of JDBC users will use J2EE connection pooling rather than pgBouncer, as 
more and more users want to scale up to 1 million connections (yes, 
really, we even put in a bid for a customer with this spec) J2EE pooling 
won't be enough ... you'll need both.

So we're going to have to troubleshoot this sooner or later.

Actually, in that kind of an application, I don't see the theoretical 
issue with S_1 being reused by different client connections.  In an 
ideal world, this would give us de-facto shared prepared plans.  Or am I 
misunderstanding the issue?

Also, should I understand that there now is no way in pgsql-jdbc to turn 
prepared plans off, even if you want to?

--Jsoh




view thread (48+ messages)  latest in thread

Message-ID: <46FE3B1A.7020603@agliodbs.com>
Permalink:  ../46FE3B1A.7020603@agliodbs.com/
Also on:    postgresql.org/message-id/46FE3B1A.7020603@agliodbs.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: josh@agliodbs.com
  Subject: Re: Prepared Statements vs. pgbouncer
  In-Reply-To: <46FE3B1A.7020603@agliodbs.com>
  References: <20070929002513.GG3140@inuus.com> <46FDA4F2.8080507@opencloud.com> <20070929021522.GH3140@inuus.com> <24584.1191033096@sss.pgh.pa.us> <20070929072159.GI3140@inuus.com> <46FE3B1A.7020603@agliodbs.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