Performance Degradation After Upgrade Of JDBC OracleOCIConnectionPool.getProxyConnection
(Doc ID 2124621.1)
Last updated on MARCH 11, 2022
Applies to:JDBC - Version 126.96.36.199.0 to 188.8.131.52.0 [Release 12.1 to 20c]
Information in this document applies to any platform.
After upgrade to 184.108.40.206 JDBC OCI drivers (full client and ojdbc7.jar with JDK 1.8), markedly slower performance is seen, specifically in the OracleOCIConnectionPool.getProxyConnection() method.
A java program using the OCI Connection Pool takes a long time to get a connection from the pool using ociPool.getConnection() on Windows platforms.
The time varies from a few msec to 5 or 10 seconds, depending on the entries in sqlnet.ora.
If no sqlnet.ora is defined in the environment, the program takes 10 seconds.
If sqlnet.ora is defined in the environment, and NAMES.DIRECTORY_PATH is set to more than one entry like: NAMES.DIRECTORY_PATH = (TNSNAMES,EZCONNECT), the program takes 5 seconds.
The delay is not seen on Linux.
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