Function Based Index on SUBSTR Not Used When Cursor_Sharing=Force
Last updated on JUNE 15, 2017
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 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)).
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