My Oracle Support Banner

DataPump Import (IMPDP) Seems To Hang When Importing Referential Constraints (Doc ID 2308198.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


DataPump Import (impdp) is running slow when loading referential constraints:


The slowness of import when importing data with constraints enabled is introduced when validating the integrity of all existing data.

This behavior can introduce a serious performance problem when the amount of data to be checked is large and also there is a large number of constraints involved in this process.

The time spent on the ref_constraint load is directly proportional to the amount of data involved in the load operation.
Enabling the constraints in SQL*Plus or SQL*Loader will take same amount of time because by default, the constraint is created with "ENABLE VALIDATE" option;
VALIDATE ensures that existing data conforms to the constraint. So it is taking long time to validate the integrity of the constraint and appears to hang.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.