Gathering Statistics Against a Table with Function-Based Index May Cost Much More Time Then Without Function-Based Index
(Doc ID 2339663.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Standard Edition - Version 188.8.131.52 and later
Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
- When gathering statistics information using DBMS_STATS.GATHER_TABLE_STATS against a table, it can finish in short time
- But after adding a function-based index, DBMS_STATS.GATHER_TABLE_STATS will cost much more time than before even CASCADE=> FALSE is specified:
DBMS_STATS.GATHER_TABLE_STATS(OWNNAME=>'TCB', TABNAME=>'TEST', CASCADE=> FALSE);
Creating a function-based index on the table.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!