Performance Degradation When Using RULE Hint With ADT/Collections In JDBC (Doc ID 1476892.1)

Last updated on AUGUST 03, 2016

Applies to:

JDBC - Version 10.2.0.5 to 11.2.0.3.0 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 28-Dec-2013***

Symptoms

ADT/Collections are being used.  
Queries are seen with Rule hint when using JDBC Api Calls on table USER_TYPE_ATTRS, for example:

SELECT /*+RULE*/ATTR_NO, ATTR_NAME, ATTR_TYPE_NAME, ATTR_TYPE_OWNER FROM USER_TYPE_ATTRS WHERE TYPE_NAME IN (SELECT TABLE_NAME FROM ALL_SYNONYMS START WITH SYNONYM_NAME = :1 AND  OWNER = 'PUBLIC' CONNECT BY NOCYCLE PRIOR TABLE_NAME = SYNONYM_NAME AND TABLE_OWNER = OWNER UNION SELECT :2  FROM DUAL) ORDER BY ATTR_NO

Changes


Application makes use of ADT/Collections


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