Database Administration (MOSC)

MOSC Banner

Why index needs to be dropped and recreated?

edited Jul 21, 2011 8:19PM in Database Administration (MOSC) 3 commentsAnswered ✓
The table was purged using the below command :
alter table <table_name> truncate partition <partition_name> drop storage update indexes parallel 6;

After the purge, the following error was encountered:

ORA-01410: invalid ROWID

After investigation from the application logs we found 2 tables for which we dropped and recreate the indexes and after that it was fine. Also note that all the related indexes were valid before and after purging activity.

Need to know why the indexes have to be dropped and recreated?  The indexes were in valid state before and after purging.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center