Change In Plans With Different Statistics Collection Method For Function Based Index
(Doc ID 458076.1)
Last updated on FEBRUARY 21, 2019
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 to 10.2.0.1 [Release 8.1.7 to 10.2]
Information in this document applies to any platform.
This problem can occur on any platform.
Table has a function based index. Query on this table goes for an Index Range scan when statistics are gathered at table level with cascade as TRUE. However, if the index is dropped and recreated and only index stats gathered this time, query goes for Full Table Scan.
The issue can be illustrated as follows:
Create table, index and gather statistics on both:
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