aspose file tools
The moose likes JDBC and the fly likes min value for connection pools Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "min value for connection pools" Watch "min value for connection pools" New topic
Author

min value for connection pools

JP Estrada
Ranch Hand

Joined: Mar 21, 2006
Posts: 47
Hi guys,

Is it good practice to set a min connection pool size to 0? Or is it better to set it to a value greater than that?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26138
    
  66

Originally posted by JP Estrada:
Is it good practice to set a min connection pool size to 0?

Like everything else, it depends on your application. A min connection pool size of 0 is generally safe because you don't have to worry about stale connections as much.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: min value for connection pools
 
Similar Threads
assignment problem
jspinner minimum value
check Input array null or empty
long post IBM.158
Largest and smallest number