Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> differences connection pooling versus session pooling occi/oci

differences connection pooling versus session pooling occi/oci

From: Jeroen van Sluisdam <jeroen.van.sluisdam_at_thomascook.nl>
Date: Wed, 2 Aug 2006 17:42:25 +0200
Message-ID: <CE3C56B174C83D4597F5FB69CB0FAEDF2A6D3D@pedro.vrijuit.nl>

> Hi,
>
> We are setting up a new library for access to the database where we want
> to replace the old, still oci 7
> interface by occi
> When we create a connectionpool with min 3 session max 5, we see 3
> sessions in the database
> and then we issue a connectionPool->createConnection. Expected behaviour
> would be that 1 of 3 sesions
> will be used. Suprise we got a fourth session in the database according to
> v$session.
>
> I found some posts that explain that this might be the case because
> session pooling is used instead of
> connection pooling. I don't understand this completely because why would
> the connectionPool->createConnection
> get a new connection and not use the pool? Can this behaviour be
> influenced somehow to get the expected behaviour?
>
> In the occi manuals there is no reference to sessionPooling but in the oci
> manuals there is.
> Details: Oracle 9.2.0.6, OCCI, HPUX 11.11,
>
> Regards,
>
> Jeroen
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 02 2006 - 10:42:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US