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!

Disable indexes before imp

833255Feb 1 2011 — edited Feb 1 2011
I am importing large tables from a dmp file created by the exp utility. I would like to disable indexes on these tables for the time of import. I tried "alter index ... unusable", but then the imp utility complains, displays the error message that an index is unusable and doesn't do the import.

Do I have to drop indexes? Then my understanding is that I would have to save the SQL statements to recreate these indexes, correct? Or is there a better solution to speed up the import? Some tables have 40 million records.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 1 2011
Added on Feb 1 2011
3 comments
1,781 views