My Oracle Support Banner

Connections From ojdbc8.jar Are 2X Slower Than Those From ojdbc6.jar (Doc ID 2759669.1)

Last updated on MAY 02, 2024

Applies to:

JDBC - Version 11.2.0.4.0 to 20.0.0.0.0 [Release 11.2 to 20c]
Information in this document applies to any platform.

Symptoms

Connections to the database are two times slower when using ojdbc8.jar than when using ojdbc6.jar.

Jobs that were running fine with ojdbc6.jar and JDK 16 are now taking more than 1 min on the initial connection to the database with 12.2.0.1 ojdbc8.jar and JDK 1.8.
It appears to be taking about 90 seconds to do the initial connect.  As a result, the following error is received:


Increasing the INBOUND_CONNECT_TIMEOUT_LISTENER=240 (default is 60 seconds) in the database prevents the error, but the main issue is that the connections are slow.


Cause

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
Symptoms
Cause
Solution
References


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