How to confirm if an ALTER INDEX REBUILD ONLINE will Alter the Index Statistics:

(Doc ID 785786.1)

Last updated on APRIL 06, 2015

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 9.2 to 11.1]
Information in this document applies to any platform.
Oracle Server Enterprise Edition - Version: to
Checked for relevance on 31-Oct-2011



How to confirm if an ONLINE INDEX REBUILD will Alter the Index Statistics:

  1. Create test table
  2. Create index
  3. Gather INDEX statistics using DBMS_STATS.GATHER_INDEX_STATS
  4. Confirm LAST_ANALYZED date on the index using USER_INDEXES
  5. Confirm Statistics by populating Stats Table using DBMS_STATS.EXPORT_INDEX_STATS
  6. Alter data and Index data by adding more row data
  7. Confirm new data does not alter Index Stats using USER_INDEXES
  9. Confirm new date for LAST_ANALYZED on the index using USER_INDEXES
  10. Confirm new INDEX statistics using DBMS_STATS.GATHER_INDEX_STATS  


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