In a Java web application I am working on, we are using OracleConnectionPoolDataSource for a database connection pool functionality. Each getConnection call includes the user's Oracle ID and password. So each user in a sense ends up with their own database connection pool.
Currently we are using the default values for most properties. This includes
- MinLimit set to 0
- MaxLimit set to Integer.MAX_VALUE
- MaxStatementsLimit set to 0
- InactivityTimeout set to 0
- TimeToLiveTimeout set to 0
- AbandonedConnectionTimeout set to 0
- PropertyCheckInterval set to 900
- ConnectionWaitTimeout set to 0
More info about these properties can be found at Connection Cache Properties.
We currently do not have any glaring database connection problems, but think that the performance could be better. My question is does somebody have good advice or a good resource on what we should consider when adjusting these values.