12.1.0.2 JDBC Slower Than 11.2.0.4 When Retrieving Resultsets (Doc ID 2210850.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 12.1.0.2.0 and later
Information in this document applies to any platform.

Symptoms

When fetching a resultset from the database, reading the returned data by means of getter calls (such as getInt or getString) takes much longer to complete when using the 12.1.0.2 JDBC driver compared to the 11.2.0.4 JDBC driver.
This reproduces from a very small tests that retrieve data from a single dummy table.
The particular getter calls are getInt() and getString().
Isolating the test to call only one of these makes no difference -- reading through the resultset consistently takes about 2 times as long with the 12.1.0.2 driver compared to the 11.2.0.4 driver.

In both cases, JDK 1.8 is used.
Patch 20884977 has already been applied on top of the JDBC driver, but the problem persists.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms