|
-
 Originally Posted by pascal01
Before I import, I need to truncate or delete all the data. I am afraid that I will be hit with all kind of constraint issues.
For faster import process you may try:
- Script all indexes, PKs and other constraints in your target database.
- Drop all indexes, PKs and other constraints -keep only flat empty tables in your target database.
- Import with indexes=N constraints=N ignore=Y options
- Check import log, when flawless go ahead
- Build/create indexes, Pks and other constraints using script from step #1
- Gather fresh stats
Hope this helps.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|