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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: RE: connection pooling from an application server to oracle

Re: RE: connection pooling from an application server to oracle

From: Boris Dali <boris_dali_at_yahoo.ca>
Date: Mon, 15 Dec 2003 07:34:26 -0800
Message-ID: <F001.005D9F6D.20031215073426@fatcity.com>


I might be totatly off here, but I think it depends on the type of the pool. For example in OCI land there are two - connection pool and session pool. The former is stateful, while the latter is stateless. Again unless I am totally off base, with a session pool I think your session gets returned to a pool manager (for potential re-use) after _about_ every statement, effectively making tx:stmt relationship to become about 1:1.

This is exactly what I am dealing with here and as a result when user navigates on the screen the app server instead of issuing say 30 selects, adds additional 30 implicit rollbacks, one after each select.

This is also the reason I think I see pattern like this for example all over on DMLs:

XCTEND rlbk=0, rd_only=0 -- explicit commit here
WAIT #0: nam='SQL*Net message to client'... WAIT #0: nam='SQL*Net message from client'... XCTEND rlbk=1, rd_only=1 -- implicit rollback right after commit due to OCITransRollback() call

Thanks,
Boris Dali.


Post your free ad now! http://personals.yahoo.ca
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Boris Dali
  INET: boris_dali_at_yahoo.ca

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Dec 15 2003 - 09:34:26 CST

Original text of this message

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