If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Connection Reuse

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-02-04, 23:26
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Connection Reuse

I know that DB2 LUW version 8 has "connection pooling" that provides a connection concentrator (limits the number of simultaneous connections that can occur). But does it really provide connection reuse in the same manner provided by DB2 Connect or Websphere (or some 3rd party tools)?

If DB2 V8 does have connection reuse, does the built-in DB2 connection pooling require extra jdbc coding, and is it as robust as DB2 Connect? I assume the DB2 V8 connection reuse would only run on the DB2 server, and not on the application server (this is an issue if there are multiple application servers).

I have a customer that is using a type 4 driver with a 3rd party tool that provides connection pooling at the application server tier (there are at least 4 different app servers), but it is not working well (it maybe a jdbc type 4 driver problem, maybe a DB2 problem, or maybe a problem with the 3rd party connection tool). It seems to me that maybe DB2 Connect might provide a more compatible interface (at least they can blame IBM if it does not work).

Any thoughts?
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 10-02-04 at 23:30.
Reply With Quote
  #2 (permalink)  
Old 10-04-04, 10:03
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Marcus_A
I know that DB2 LUW version 8 has "connection pooling" that provides a connection concentrator (limits the number of simultaneous connections that can occur). But does it really provide connection reuse in the same manner provided by DB2 Connect or Websphere (or some 3rd party tools)?
I don't think you can call it "connection re-use" - it's rather "agent re-use". An application still needs to establish and release a connection when it needs to access the database. For this reason only I think the concentrator will have poorer performance as compared with traditional connection pooling since establishing a connection is a costly operation.

So, in my opinion the DB2 connection concentrator cannot be used instead of a traditional JDBC connection pool.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On