Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.1.3.1, 10.2.2.0, 10.3.2.1, 10.4.1.3, 10.5.1.1
-
None
-
Performance
Description
When using ClientConnectionPoolDataSource and connection pooling, a new connection / transaction is created for every new logical connection, and the resources are not freed / cleaned up in the server. They are not even cleaned up when the physical connection (ClientPooledConnection) is closed.
A logical connection is obtained by invoking ClientPooledConnection.getConnection().
I have observed that if you run the repro enough times against the same server, the number of transaction in the transaction table will be reduced now and then. I believe this is garbage collection, but I have not investigated the problem enough to tell for sure what's going on.
I have also seen some locks not being freed, causing timeouts in some applications. I don't have a repro for the lock problem at this time, but it is very likely related to this issue.
Note that XA connections are handled differently on the server, and do probably not have this problem.
Attachments
Attachments
Issue Links
- is related to
-
DERBY-3313 JDBC client driver statement cache
- Closed