• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Maintaining Database Connections w/ JDBC??

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all-
sorry if this is a stupid question, I'm not a developer, and just a basic ws admin-

I'm using an oracle 8.1x data source w/ 8.1.7 client, and connecting via JDBC on Websphere 5.0

I've noticed over 120 different database connections are created every minuite- not just seperate queries, but seperate network connections (and creating a socket connection to the oracle listener has quite a lot of overhead). Is there a way in websphere to specify to re-use data source connections? or is this specified in the servelet?
I only use 2 JDBC connections (2 different data sources on the same server throught the same oracle listener)
my JDBC connection pool properties for each data source are shown below (both data sources are set the same)

Connection Timeout 1800 seconds
Max connections 30
Min connections 1
Reap Time 180
Unused Timeout 1800
Aged Timeout 0
Purge policy Entire Pool

thanks for any info-
-Phil Chadwick
 
reply
    Bookmark Topic Watch Topic
  • New Topic