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!

IMPDP - Contraints already exist Error on New Instance

user-gor50Jun 9 2023

Hi Everyone,

We have created a New Database on a Different server and we are trying to Import Dumpfile from production using IMPDP (12c to 12c), and we are getting:

 ORA-31684: Object type CONSTRAINT:"PRODONE"."SYS_C00213326" already exists. 

There are no users Created nor existing as this is a Newly created Database.

Used to Export using the Below Command:

EXPDP 'sys/qwerty@PROD as sysdba' DIRECTORY=EXPDP DUMPFILE=DEV_EXPDP_FRI-06-09_300.dmp LOGFILE=PRODONE_EXPORT_12C_09JUNE2023.log SCHEMAS=DEVONE PARALLEL=2 COMPRESSION=ALL

Used to Import using the Below Command:

IMPDP 'sys/qwerty@SFMS as sysdba' DIRECTORY=EXPDP DUMPFILE=EXPDP DUMPFILE=DEV_EXPDP_FRI-06-09_300.dmp LOGFILE=IMPORT_PRODONE_EXPORT_12C_09JUNE2023.log .log  SCHEMAS=DEVONE PARALLEL=2 TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y

Any help would be much appreciated.

Comments
Post Details
Added on Jun 9 2023
2 comments
796 views