This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Mastering Corda: Blockchain for Java Developers and have Jamiel Sheikh on-line!
See this thread for details.
Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

Maintaining Database Connections w/ JDBC??

Posts: 2
  • Mark post as helpful
  • send pies
  • 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
That new kid is a freak. Show him this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic