My Oracle Support Banner

Discrepancy in 21.1 UCP for getConnectionsClosedCount() When Pool Remains Below minPoolSize (Doc ID 2811396.1)

Last updated on OCTOBER 17, 2022

Applies to:

Universal Connection Pool - Version 21.1 to 21.1 [Release 21]
Information in this document applies to any platform.


When using version 21.1 of UCP, there is a discrepancy in what gets returned for getConnectionsClosedCount() in cases where the number of connections borrowed from the pool never exceeds the pool's specific minPoolSize.

Specifically, given a scenario where an application does not borrow all of the connections from the connection pool before returning them:  

For 18c and 19c UCP, there is no growth in the number returned from the method call getConnectionsClosedCount().  The number returned remains at zero.

However, in UCP 21.1, the returned number from getConnectionsClosedCount() is a nonzero value that increases over time.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.