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

(Doc ID 465019.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 30-Jan-2015***

Symptoms

DataPump import (IMPDP)

#> impdp emsuser/passwd DIRECTORY=dmp_dir table_exists_action=replace DUMPFILE=$dmp schemas=emsuser

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 "EMSUSER"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "EMSUSER"."SYS_IMPORT_SCHEMA_01": emsuser/******** DIRECTORY=dmp_dir table_exists_action=replace DUMPFILE=expdp_emsuser_071029_081108.dmp schemas=emsuser
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"EMSUSER" 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 "EMSUSER"."SYS_IMPORT_SCHEMA_01" completed with 1 error(s) at 09:42:02

Cause

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 hundreds of Community platforms