Configuring the connection pool
- Last Updated: June 5, 2018
- 1 minute read
- DataDirect Connectors
- JDBC
- Aha! 6.0
- Amazon Redshift 6.0
- Apache Cassandra 6.0
- Apache Hive 6.0
- Apache Spark SQL 6.0
- Atlassian Jira 6.0
- Autonomous REST Connector 6.0
- Cloudera Impala 5.1
- + 24
You can configure attributes of a connection pool for optimal performance and scalability using the methods provided by the DataDirect Connection Pool Manager classes.
Some commonly set connection pool attributes include:
- Minimum pool size, which is the minimum number of connections that will be kept in the pool for each user
- Maximum pool size, which is the maximum number of connections in the pool for each user
- Initial pool size, which is the number of connections created for each user when the connection pool is initialized
- Maximum idle time, which is the amount of time a pooled connection remains idle before it is removed from the connection pool