You can specify a number of reserved connections to be released when a data source reaches a specified number of available connections. Harvesting helps to ensure that a specified number of connections are always available in the pool and improves performance by minimizing connecton initialization. For more information, see Configuring JDBC Data Sources.
To enable connection harvesting:
Note: Connection harvesting is disabled by default. Setting the Connection Harvest Trigger Count to the value of -1 is used to disable connection harvesting.