Sub-Optimal Execution Plan Is Chosen With Index Hint Which Specifies No Particular Index (Doc ID 2282109.1)

Last updated on JUNE 29, 2017

Applies to:

Oracle Database - Standard Edition - Version 12.1.0.2 to 12.2.0.1 [Release 12.1 to 12.2]
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.2.0.1 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

Sub-optimal execution plan is chosen with index hint which specified no particular index.

For example, table TEST has two indexes(IDX_PK and IDX1) and the query is here: 

 

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