Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Delete and recreate indexes or export/import table

Vorlon1Jun 1 2012 — edited Jun 2 2012
I am working on block corruption in several indexes (they are partitioned) and was told to delete and recreate the indexes. The table is not small (2.5b records) and includes a primary key and ~6 other indexes. dbms_metadata.get_ddl is truncating the text of the index, (another issue) so it will be problematic to rebuild the indexes. I have a limited time this weekend to be offline.
IN GENERAL, is it more expedient to rebuild all of the indexes, or simply use the export the table, drop it, and import it approach to recreate the table and indexes?
TIA!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2012
Added on Jun 1 2012
28 comments
536 views