pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: XA support
Date: Fri, 01 Jul 2005 12:15:49 -0500
Message-ID: <1120238149.8208.139.camel@state.g2switchworks.com> (raw)
In-Reply-To: <Pine.OSF.4.61.0506302112310.45052@kosh.hut.fi>
References: <Pine.OSF.4.61.0506291920120.108382@kosh.hut.fi>
	<84DC4D65-95BD-4CB5-AD5E-6C1E80EF6E69@fastcrypt.com>
	<1120078331.8208.128.camel@state.g2switchworks.com>
	<Pine.OSF.4.61.0506302112310.45052@kosh.hut.fi>

On Thu, 2005-06-30 at 13:15, Heikki Linnakangas wrote:
> On Wed, 29 Jun 2005, Scott Marlowe wrote:
> 
> > On Wed, 2005-06-29 at 15:27, Dave Cramer wrote:
> >> I see option A below as the lesser of three evils. Is it reasonable
> >> to believe that people using XA would
> >> know enough to allocate enough connections ?
> >>
> >> Optionally we could have two implementations and choose between A and B
> >
> > If they've used it before with jdbc, yes.  It's the way Oracle does it
> > too.  Under Jboss you have a two to one ration of backend to frontend
> > connections. I.e. every application connection going through an XA
> > connector requires TWO backend connections.
> 
> Do you mean that Oracle opens extra connections behind the scenes? That's 
> not what I saw happening. I ran ethereal while running the test case, and 
> it showed just one TCP connection and all SQL statements flowing through 
> that.

No, our jdbc / jboss connection pooling is doing that.  It needs two
connections to the db for every XA transaction.




view thread (13+ messages)

Message-ID: <1120238149.8208.139.camel@state.g2switchworks.com>
Permalink:  ../1120238149.8208.139.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1120238149.8208.139.camel@state.g2switchworks.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: smarlowe@g2switchworks.com, hlinnaka@iki.fi
  Subject: Re: XA support
  In-Reply-To: <1120238149.8208.139.camel@state.g2switchworks.com>
  References: <Pine.OSF.4.61.0506291920120.108382@kosh.hut.fi> <84DC4D65-95BD-4CB5-AD5E-6C1E80EF6E69@fastcrypt.com> <1120078331.8208.128.camel@state.g2switchworks.com> <Pine.OSF.4.61.0506302112310.45052@kosh.hut.fi> <1120238149.8208.139.camel@state.g2switchworks.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