oracle - disabling constraints will affect indexes -
i have migrate records 1 db db. involves 200+ tables. migrating records use exp/imp
feature of oracle.
to avoid constraint violation errors disable constraints before importing data. once done enable constraints. , in export not exporting source db indexes.
so, questions here are
- when disable constraints respective indexes disabled?
- it won't indexing @ all?
- will index rebuilds indexes when enable constraints after importing data?
if you're on 10g or above use data pump, , these no longer issues have address.
data pump import , export allow greater control on type of object include, can choose not import indexes if not want them: http://docs.oracle.com/cd/e11882_01/server.112/e10701/dp_import.htm
Comments
Post a Comment