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

  1. when disable constraints respective indexes disabled?
  2. it won't indexing @ all?
  3. 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

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -