SQL Plan Baseline Not Working for Query with ORDER BY <num>
(Doc ID 1565991.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124.0 to 126.96.36.199 [Release 11.2 to 12.1]
Information in this document applies to any platform.
- A SQL Plan Baseline is created to control the plan for a query using ORDER BY with a position (ORDER BY 1 to sort by the first select list item, for example).
- The baseline is found not to work.
- The cursor_sharing parameter is set to FORCE (or SIMILAR).
- Display_sql_plan_baseline may throw ORA 1785
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!