Performing the mailarchive long->clob conversion results in invalid/unusable indexes (ORA-01502)

Description

This will mostly be a release documentation issue related to the fix for to convert the long to clob. Still seems useful incase it comes up again.

– Detect and repair indexes in an invalid state ORA-01502
– Run this select, it there are any problems with the indexes, run the alter index statements that it generates.

select 'alter index '||index_name||' rebuild online;' from user_indexes where status = 'INVALID' or status = 'UNUSABLE';

– After this you may need to re-gather table stats on the tables with an invalid index (likely just mailarchive)

Collect stats using "analyze table /your_table_name/ compute statistics;' or DBMS_STATS.gather_tables_stats();

Activity

Anthony Whyte July 24, 2009 at 5:04 AM

Added to 2.6.0 release notes in Confluence.

Anthony Whyte June 15, 2009 at 1:36 PM

Change the fix version to 2.6.0. Raise to blocker status so that we don't forget to this in the documentation.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Environment

oracle

Created June 14, 2009 at 11:50 AM
Updated June 23, 2014 at 9:28 AM
Resolved July 24, 2009 at 5:04 AM