Teradata Connection pooling : com.teradata.jdbc.TeraConnectionPoolDataSource . Creating large number of connections

Connectivity

Teradata Connection pooling : com.teradata.jdbc.TeraConnectionPoolDataSource . Creating large number of connections

Using com.teradata.jdbc.TeraConnectionPoolDataSource for pool based datasource in a application. Below are the configurations..

       <property name="minPoolSize" value="2" />

        <property name="maxPoolSize" value="60" />

        <property name="maxStatements" value="100" />

        <property name="InitialPoolSize" value="2" />

        <property name="maxIdleTime" value="15" />

Over an hour, even if there are few queries fired from the application, observed that there are about 500+ connections being created.

Questions is: How does the pool work? Does it create 2 as part of the initial poolsize and after 15 seconds (of maxIdletime)...does it destroy the connections? and recreate 2 more connections (minpoolsize) ?

It is quite strange to see so many (500+) connections being created even if the application is not firing any DB queries to use connections.