My Oracle Support Banner

Error ORA-31684 Using dataPump Import (IMPDP) To Create A Full Schema (Doc ID 465019.1)

Last updated on JULY 24, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 30-Jan-2015***

Symptoms

DataPump import (IMPDP)

#> impdp <USERNAME>/<PASSWORD> DIRECTORY=dmp_dir table_exists_action=replace DUMPFILE=<DUMPFILE>.dmp schemas=<USERNAME>

reports the error ORA-31684:

Import: Release 10.2.0.2.0 - 64bit Production on Monday, 29 October, 2007 9:41:56
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Master table "<USERNAME>"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "<USERNAME>"."SYS_IMPORT_SCHEMA_01": <USERNAME>/******** DIRECTORY=dmp_dir table_exists_action=replace DUMPFILE=<DUMPFILE>.dmp schemas=<USERNAME>
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"<USERNAME>" already exists   <<<<<<
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Job "<USERNAME>"."SYS_IMPORT_SCHEMA_01" completed with 1 error(s) at 09:42:02

Cause

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

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


In this Document
Symptoms
Cause
Solution

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