• 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

Oracle10g implicit caching with jdbc - cache only grows?

 
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Does the implicit cache of Oracle's 10g drivers (using ojdbc14.jar) ever release unused connections? For example, we set the MinLimit property in the OracleDataSource to 15 and the MaxLimit to 40. Already opened connections get reused as expected, and when they're not enough new ones are opened. However, once the load on the application dies down, the number of connections never decreases back down to the MinLimit. If 40 connections are opened, all 40 remain until the application shuts down. Are we supposed to call the OracleConnectionCacheManager.purgeCache() method to free up unused connections at regular intervals? That doesn't seem right....

Thank you,
Yuriy
[ June 25, 2007: Message edited by: Yuriy Zilbergleyt ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic