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!

Enable the constraints in PARALLEL

USER101Jun 1 2018 — edited Jun 12 2018

Hello all,

I have requirement to import constraints with VALIDATE post a 7 TB database import.. ( Import with the constraints is very slow.. as some of the tables have 19K partitions )  As it stands, it takes around 19 hours to enable it.. Can I parallelize it ? May be using PARALLEL DDL ?

Will this work ? Will it have any issues with dependencies or locking ? Has anyone tried this operation ?

Or may be have a script to enable all the dependent objects in a sequence ? Any help would be appreciated.

SQL> ALTER SESSION FORCE PARALLEL DDL PARALLEL 16;

Session altered.

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 20 2023
Added on Jun 1 2018
18 comments
12,200 views