commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan C." <chal...@gmail.com>
Subject [email] DBCP minIdle, maxIdle
Date Wed, 07 Jul 2010 14:37:50 GMT
Hello,
I'm using apache DBCP and I'm not sure what values for those setting I
should chose in a productive environment. If I understand correctly,
when the application releases a connection and maxIdle is not yet
reached, the connection will stay opened and idle in the pool.

Now if the application needs another connection, will one of the idle
be given to the app or a new one opened ? What does it bring to keep
opened idle connections ? Is there a maxActive/maxIdle ratio that
should be respected ?

Thanks,
Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message