Oracle JDBC Slow Performance When Invoking PL/SQL procedures Using Types

(Doc ID 2111109.1)

Last updated on FEBRUARY 14, 2017

Applies to:

JDBC - Version 11.2.0.3.0 to 12.1.0.2.0 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

When PL/SQL procedures accepting collection of parameters which are invoked using java.sql.CallableStatement, AWR report shows below query with long execution times and large number of Full Table scans in explain plan:

 

The slow performance manifests while accessing the stored procedures using User-Defined Types (UDTs).

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