Function Based Index on SUBSTR Not Used When Cursor_Sharing=Force
(Doc ID 2276684.1)
Last updated on MAY 07, 2020
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
- Function Based Index on SUBSTR not used when cursor_sharing=force (cursor_sharing=EXACT setting makes the optimizer choose the index):
Max_string_size=extended was added.
Old function based indexes cannot be created after upgrade to max_string_size=extended because of ORA-1450 <Document 136158.1>. So indexes must be created on substring (substr(<fnc>,1,n)).
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