Re: Use, Set Catalog and JDBC questions - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Use, Set Catalog and JDBC questions
Date
Msg-id 512BB626.9030202@gmail.com
Whole thread Raw
In response to Re: Use, Set Catalog and JDBC questions  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On 02/25/2013 10:59 AM, John R Pierce wrote:
> On 2/25/2013 10:34 AM, Adrian Klaver wrote:
>>
>> Not sure if this will do what want?:
>> http://jdbc.postgresql.org/documentation/91/datasource.html#ds-intro
>
> a connection pool is something completely different.   pools are used
> when you have many client threads connecting and disconnecting to the
> same database, you can use a pool to reduce the actual number of
> connections by sharing a pool of ready-made connections.

 From here:
http://jdbc.postgresql.org/documentation/91/ds-ds.html

Table 11.2. DataSource Implementations

Pooling    Implementation Class
No    org.postgresql.ds.PGSimpleDataSource
Yes    org.postgresql.ds.PGPoolingDataSource


There seems to a no pooling version that allows you to aggregate
datasources.

>
>
>


--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Use, Set Catalog and JDBC questions
Next
From: "ktm@rice.edu"
Date:
Subject: Re: [ADMIN] Use, Set Catalog and JDBC questions