pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@2ndquadrant.com>
To: Lussier, Denis <denisl@openscg.com>
To: Barry Bell <Barry.Bell@hartehanks.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: [ODBC] BIRT report opening multiple connections
Date: Tue, 19 Aug 2014 09:42:30 +0800
Message-ID: <53F2AB86.7030502@2ndquadrant.com> (raw)
In-Reply-To: <CAHKhnVX=OsxEY9jJY5Lc8qG0RUa8KasQ6Fz+WTqmjjNiOyaEzA@mail.gmail.com>
References: <7d652dd9937d4221805e16bc611c1a7e@BY2PR08MB281.namprd08.prod.outlook.com>
	<CADK3HHK65eSEwEBwGEmHkZkSqvaJ8jvk2i9FhWdyaGo2kAi2vQ@mail.gmail.com>
	<1aa9872970a9484784af32fa50e4521f@BY2PR08MB281.namprd08.prod.outlook.com>
	<CADK3HH+zVTH2ZM5UCkBgoRBq6NdCOJyUiXVUuqsGYF=uZ=VXbw@mail.gmail.com>
	<2aa11512ea054bf996317af5b427ae09@BY2PR08MB281.namprd08.prod.outlook.com>
	<CADK3HH+-vS2-+xxB8uBhTawoDedMho7aSGsyYgOyib47ArNKiA@mail.gmail.com>
	<fec9fbd00e4745c1a77b40f802f39edb@BY2PR08MB281.namprd08.prod.outlook.com>
	<CAHKhnVX=OsxEY9jJY5Lc8qG0RUa8KasQ6Fz+WTqmjjNiOyaEzA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 08/15/2014 09:49 PM, Lussier, Denis wrote:
> My suspicion is that Barry is deploying his BIRT reports in a web
> container that is using connection pooling to the RDBMS.   Since the
> BIRT report doesn't seem to be issuing a a close(), the connection
> pooler keeps using a new physical connection for each subquery.

My own WAG is that they've configured PgJDBC using org.postgresql.Driver
or org.postgresql.ds.PGSimpleDataSource but have used DataSource
implementations with internal pooling on other vendors' drivers.

All we can do is hand-wave, guess, and waste time without at minimum seeing:

- The code; and
- the database connection configuration details

so Barry, please provide those details.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (15+ messages)  latest in thread

Message-ID: <53F2AB86.7030502@2ndquadrant.com>
Permalink:  ../53F2AB86.7030502@2ndquadrant.com/
Also on:    postgresql.org/message-id/53F2AB86.7030502@2ndquadrant.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: craig@2ndquadrant.com, denisl@openscg.com, Barry.Bell@hartehanks.com, pg@fastcrypt.com
  Subject: Re: [ODBC] BIRT report opening multiple connections
  In-Reply-To: <53F2AB86.7030502@2ndquadrant.com>
  References: <7d652dd9937d4221805e16bc611c1a7e@BY2PR08MB281.namprd08.prod.outlook.com> <CADK3HHK65eSEwEBwGEmHkZkSqvaJ8jvk2i9FhWdyaGo2kAi2vQ@mail.gmail.com> <1aa9872970a9484784af32fa50e4521f@BY2PR08MB281.namprd08.prod.outlook.com> <CADK3HH+zVTH2ZM5UCkBgoRBq6NdCOJyUiXVUuqsGYF=uZ=VXbw@mail.gmail.com> <2aa11512ea054bf996317af5b427ae09@BY2PR08MB281.namprd08.prod.outlook.com> <CADK3HH+-vS2-+xxB8uBhTawoDedMho7aSGsyYgOyib47ArNKiA@mail.gmail.com> <fec9fbd00e4745c1a77b40f802f39edb@BY2PR08MB281.namprd08.prod.outlook.com> <CAHKhnVX=OsxEY9jJY5Lc8qG0RUa8KasQ6Fz+WTqmjjNiOyaEzA@mail.gmail.com> <53F2AB86.7030502@2ndquadrant.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