SQL Plan Baseline Not Working for Query with ORDER BY <num>
(Doc ID 1565991.1)
Last updated on MARCH 03, 2022
Applies to:Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
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!
In this Document