Gathering Statistics Against a Table with Function-Based Index May Cost Much More Time Than Without Function-Based Index
(Doc ID 2339663.1)
Last updated on JUNE 02, 2021
Applies to:Oracle Database Cloud Service - Version N/A and later
Oracle Database - Standard Edition - Version 184.108.40.206 and later
Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Oracle Database Cloud Schema 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.
- 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=>'<OWNNAME>', TABNAME=>'<TABNAME>', 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!
In this Document