Reputation: 3082
I have to migrate records from one db to another db. It involves nearly 200+ tables. For migrating records I use exp/imp
feature of oracle.
To avoid constraint violation errors I disable all constraints before importing data. Once done will enable constraints. And in export I am not exporting source db indexes.
So, my questions here are
Upvotes: 0
Views: 622
Reputation: 52386
If you're on 10g or above use data pump, and these will no longer be issues that you have to address.
Data pump import and export allow much greater control over the type of object to include, so you can choose not to import indexes if you do not want them: http://docs.oracle.com/cd/E11882_01/server.112/e10701/dp_import.htm
Upvotes: 3