Connections must be idle for at least 5 minutes (and up to 10) with 
these settings:

minEvictableIdleTimeMillis="300000"
timeBetweenEvictionRunsMillis="300000"

If requests are very infrequent, then I agree that they will be much 
slower. For more frequent requests there should be no loss of performance.

On 04/06/14 14:40, Andrea Aime wrote:
> Yes, that combination would work, but the cure will imho damage the
> patient in the process, as it will reduce
> the performance of the system, especially against Oracle, where grabbing
> a new connection is expensive.

-- 
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to