• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Maintaining Database Connections w/ JDBC??

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
I think I'll just lie down here for a second. And ponder this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic