• Post Reply Bookmark Topic Watch Topic
  • New Topic

min value for connection pools

 
JP Estrada
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Sheriff
Posts: 36015
424
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!