ORA-39083 - During Impdp

Hi all,
My db is in 10.1.0.5
I took export of an table in my prod db and tried to import the table in preprod db.
But It threw the following error.
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'LFOPRODSELECT' does not exist
Failing sql is:
GRANT SELECT ON "LFO_UAT"."QUESTION" TO "LFOPRODSELECT"
Because of this error few of the constraints are not getting created.
Please help....
Thanks in advance

Hello,
Here is a test case using expdp/impdp option you posted here. So my recommendation create a role without any grants in UAT schema before importing your table, hope this helps
create role LFOPRODSELECT;
EXPORT*
1. created a table in "prd" schema: my_objects
2. bitmap index on my_objects.owner (just for test purpose)
3. A role "myrole" with grant select on my_objects
grant select on prd.my_objects to myrole;
C:\expdp prd/prd directory=TEST_DIR dumpfile=myobjects.dmp logfile=myobjects.log tables=prd.my_objects
Export: Release 10.2.0.1.0 - Production on Friday, 26 December, 2008 22:19:10
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
Starting "PRD"."SYS_EXPORT_TABLE_01": prd/******** directory=TEST_DIR dumpfile=myobjects.dmp logfile=myobjects.log tables=prd.my_objects
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 184 MB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "PRD"."MY_OBJECTS" 141.6 MB 1516176 rows
Master table "PRD"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
Dump file set for KLONDIKE.SYS_EXPORT_TABLE_01 is:
E:\U01\ORADATA\DSS\LOG\MYOBJECTS.DMP
Job "KLONDIKE"."SYS_EXPORT_TABLE_01" successfully completed at 22:19:34
Import test case 1: Without ROLE to recreate error at import_
C:>impdp uat/uat directory=TEST_DIR dumpfile=myobjects.dmp remap_schema=prd:uat remap_tablespace=orion_data_ts:ama_data logfile=myimport.log table_exists_action=replace
Import: Release 10.2.0.1.0 - Production on Friday, 26 December, 2008 23:09:30
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
Master table "UAT"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "UAT"."SYS_IMPORT_FULL_01": uat/******** directory=TEST_DIR dumpfile=myobjects.dmp remap_schema=prd:uat remap_tablespace=orion_data_ts:ama_data logfile=myimport.log table_exists_action=replace
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "UAT"."MY_OBJECTS" 141.6 MB 1516176 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'MYROLE' does not exist
Failing sql is:
GRANT SELECT ON "UAT"."MY_OBJECTS" TO "MYROLE"
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "UAT"."SYS_IMPORT_FULL_01" completed with 1 error(s) at 23:10:16
Test Case 2: With role_
SQL> create role myrole;
C:\>impdp uat/uat directory=TEST_DIR dumpfile=myobjects.dmp remap_schema=klondike:testme remap_tablespace=orion_data_ts:ama_data logfile=myimport.log table_exists_action=replace
Import: Release 10.2.0.1.0 - Production on Friday, 26 December, 2008 23:12:55
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
Master table "UAT"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "UAT"."SYS_IMPORT_FULL_01": uat/******** directory=TEST_DIR dumpfile=myobjects.dmp remap_schema=prd:uat remap_tablespace=orion_data_ts:ama_data logfile=myimport.log table_exists_action=replace
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "UAT"."MY_OBJECTS" 141.6 MB 1516176 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "UAT"."SYS_IMPORT_FULL_01" successfully completed at 23:13:43Regards
Edited by: OrionNet on Dec 26, 2008 11:32 PM
Edited by: OrionNet on Dec 26, 2008 11:33 PM
Edited by: OrionNet on Dec 26, 2008 11:33 PM

Similar Messages

  • ORA-39083 during import

    Hi,
    I did a datapump export from a 10.2.0.3 db and did an import to another 10.2.0.3 db but got the following error;
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    ORA-01403: no data found
    ORA-01403: no data found
    Failing sql is:
    DECLARE IND_NAME VARCHAR2(60); IND_OWNER VARCHAR2(60); BEGIN DELETE FROM "SYS"."IMPDP_STATS"; SELECT index_name
    NTO IND_NAME, IND_OWNER
    FROM (SELECT UNIQUE sgc1.index_name, sgc1.index_owner,
    COUNT(*) mycount
    FROM sys.ku$_find_sgc_view sgc1,
    TABLE (sgc1.col_list) myc
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    I had SKIP_UNUSABLE_INDEXES=y. Can anyone please advise. Thanks

    Is it possible ALL your indexes (which should be part of this datapump export) are unusable? The import tries to create index_statistics, but has no data for it.
    Werner

  • How can I avoid the display of ORA-31684 during impdp import?

    Hello,
    I'm working on a cross-platform tablespace migration (from SunOS to RedHat Enterprise Linux).
    During the import with DataPump, I have several ORA-31684 error messages ("Object type TYPE : "OWNER"."OBJ_NAME" already exists"). Some of my TYPE objects exist already in the Linux instance of the DB. The messages appear only for 4-5 TYPE objects, while overall I have around 180 TYPE objects owned by the schema owner.
    How can I avoid the display of these error messages? I don't want to drop the TYPE objects individually from the Linux instance, as the object list may vary in time.
    Thank you,
    Adrian

    Hi,
    There is no way to tell the impdp to ignore those errors. They will be printed to the error log and to the screen where the job is being run.
    Dean

  • ORA-01727 during impdp transportable datafiles:numeric precision specifier

    I started impdp the rman converted the datafiles into tartget and got error on one of the table:
    ORA-01727: numeric precision specifier is out of range 1 to 38
    I tried to fix it by create the table definition by change several columns number (126) to number (38), it worked, and then I tried to impdp again with tables=tablename
    content=data_only, it give me error that the imp dump file is specific for transportable tablespace.
    I dont know how to fix this issue. Can anybody help on this?
    Thanks in advance.

    Here is the error after I created the table and then trying to import the data:
    impdp system/password dumpfile=dp_tts.dmp table_exists_action=APPEND tables=asset.customer_ticket content=data_only;
    Import: Release 11.2.0.3.0 - Production on Mon May 6 01:01:41 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39061: import mode TABLE conflicts with export mode TRANSPORTABLE

  • How to turn off ORA-31684 during impdp?

    when impdp a schema like:
    impdp emsuser/mypwd DIRECTORY=dmp_dir table_exists_action=replace DUMPFILE=$dmp schemas=emsuser
    got the ignorable annoying ora-31684. HERE ignore=y doesn't work anymore.
    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

    syntax issue:
    impdp emsuser/mypwd DIRECTORY=dmp_dir table_exists_action=replace DUMPFILE=$dmp exclude=USER:\"=\'EMSUSER\'\"
    Import: Release 10.2.0.2.0 - 64bit Production on Monday, 29 October, 2007 13:28:47
    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_FULL_01" successfully loaded/unloaded
    Starting "EMSUSER"."SYS_IMPORT_FULL_01": emsuser/******** DIRECTORY=dmp_dir table_exists_action=replace DUMPFILE=expdp_emsuser_071029_081108.dmp exclude=USER:"='EMSUSER'"
    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_FULL_01" successfully completed at 13:28:52

  • IMPDP  Errors  ORA-39083  ORA-01918

    Oracle Database 10.2
    OS IBM AIX
    Hi
    I have to do one datapump import into one database. The source database is different.
    The dumpfile contains 3 different schemas. And I need to import into one schema with a different name.
    For example, Export dump contains AB, CD and EF.
    I need to import only EF user into new database and it should become MN.
    I have used remap_schema=EF:MN
    The following is the import parfile.
    userid='/ as sysdba'
    directory=DF_DUMP
    dumpfile=AMRC%U.dmp
    remap_schema=EF:MN
    remap_tablespace=RM100:TS100
    remap_tablespace=DATA100:DATA300
    job_name=MNIMPORT
    logfile=MNIMPORT.log
    parallel=4
    I have started the import. But I see the below errors
    ORA-39083: Object type TABLE failed to create with error:
    ORA-01918: user 'AB' does not exist
    Failing sql is:
    CREATE TABLE
    After this, import of MN has begun.
    How to resolve the below error ? What is the reason for this error ? What changes are needed in parfile ?

    Three errors
    - You didn't look up the error messages in the online documentation.
    - impdp by default imports the entire file (Full=y). You need the SCHEMAS= clause
    - expdp and impdp shouldn't be run as SYS
    All in all you could have found the answer very easily in the online documentation.
    Please avoid asking redundant questions in the future.
    Sybrand Bakker
    Senior Oracle DBA

  • IMPDP  ORA-39083:  ORA-06564

    Hi all,
    Doing EXPDP & IMPDP again.
    How do I avoid this error at running impdp time? When doing the expdp process?
    ORA-39083: Object type TABLE:"SPRODADM"."ET$0A9D022D0001" failed to create with error:
    ORA-06564: object CCB_MIG_DIR does not exist
    Failing sql is:
    CREATE TABLE "SPRODADM"."ET$0A9D022D0001" ("ADJ_ID" CHAR(12 BYTE), "SEQNO" NUMBER(5,0), "TOU_CD" CHAR(8 BYTE), "UOM_CD" CHAR(4 BYTE),
    "SQI_CD" CHAR(8 BYTE), "RS_CD" CHAR(8 BYTE), "EFFDT" DATE, "RC_SEQ" NUMBER(4,0), "DST_ID" CHAR(10 BYTE), "CURRENCY_CD" CHAR(3 BYTE),
    "CHAR_TYPE_CD" CHAR(8 BYTE), "CHAR_VAL" CHAR(16 BYTE), "PRT_SW" CHAR(1 BYTE), "APP_IN_SUMM_SW"
    ORA-39083: Object type TABLE:"SPRODADM"."ET$099803190001" failed to create with error:
    ORA-06564: object CCB_MIG_DIR does not existThe client just give us this dump and when I impdp it I encountered this error. What will I tell them to include things in the expdp so that
    I will not encounter this?
    Thanks a lot,
    Kinz

    How do you create directories? It is the same format at creating data_pump_dir? yes
    How about the data in the external tables? How do I migrate it? Or what will I tell the client to send to me?external table doesn't hold any data but just a pointer of files which are located under this directory.
    http://docs.oracle.com/cd/B19306_01/server.102/b14215/et_concepts.htm
    Or what will I tell the client to send to me?create table script and files if these are required to read from external table.better check the use of this table and whether they really need this table.

  • IMPDP Help needed please...ORA-39083: Object type PROCOBJ failed to create

    OS=Win2003
    DB=10gR2
    Version = 102.0.4
    Hi,
    I am running a impdp on a 30gb file and well it seems to have gone fine (much faster then it normally does to be honest), but towards the end it fails, and when researching this error, it seems to be very vague and I was wondering if someone can help me. Below is the log, but I have taken parts out of it that are not relevant.
    Import: Release 10.2.0.4.0 - Production on Wednesday, 16 April, 2008 15:22:18
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."IMPGEMDEV041608" successfully loaded/unloaded
    Starting "SYSTEM"."IMPGEMDEV041608": system/********@iworksdb directory=DATA_PUMP_DIR dumpfile=expdpgemdev.dmp job_name=impgemdev041608 TABLE_EXISTS_ACTION=APPEND SCHEMAS=GEMDEV LOGFILE=IMPIWORKS_BOON.log REMAP_SCHEMA=GEMDEV:IWORKS REMAP_TABLESPACE=IWORKS_INDEX:IWORKS_IDX REMAP_TABLESPACE=IWORKS_IOT:IWORKS_IDX REMAP_TABLESPACE=IWORKS_TABLES:IWORKS_TABLES EXCLUDE=GRANT exclude=statistics STREAMS_CONFIGURATION=N
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"IWORKS" 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
    Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
    ORA-31684: Object type TYPE:"IWORKS"."T_NUMBER_TAB" already exists
    ORA-31684: Object type TYPE:"IWORKS"."T_VARCHAR2_TAB" already exists
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39152: Table "IWORKS"."SYS_TOKENTYPE" exists. Data will be appended to existing table but all dependent metadata will be skipped due to table_exists_action of append
    ORA-31684: Object type PACKAGE:"IWORKS"."CONT_FEE_DEF_UC" already exists
    ORA-31684: Object type PACKAGE:"IWORKS"."COPAYCALCFLAG" already exists
    ORA-31684: Object type VIEW:"IWORKS"."VWTREE" already exists
    ORA-31684: Object type VIEW:"IWORKS"."V_ROUTE_DTL_GROUP" already exists
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCOBJ
    ORA-39083: Object type PROCOBJ failed to create with error:
    ORA-06550: line 2, column 11:
    PLS-00103: Encountered the symbol "VARCHAR2" when expecting one of the following:
    := . ( @ % ;
    The symbol ":=" was substituted for "VARCHAR2" to continue.
    ORA-06550: line 3, column 12:
    PLS-00103: Encountered the symbol "VARCHAR2" when expecting one of the following:
    := . ( @ % ;
    The symbol ":=" was substituted for "VARCHAR2" to continue.
    ORA-06550: line 4, column 19:
    PLS-00103: Encountered the symbol "VARCHAR
    ORA-39083: Object type PROCOBJ failed to create with error:
    ORA-06550: line 6, column 16:
    PLS-00103: Encountered the symbol "RAYSQLACCESS9889405" when expecting one of the following:
    * & = - + ; < / > at in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
    The symbol "* was inserted before "RAYSQLACCESS9889405" to continue.
    ORA-06550: line 7, column 17:
    PLS-00103: Encountered the symbol "SQL" when expectin
    Job "SYSTEM"."IMPGEMDEV041608" completed with 2831 error(s) at 15:30:37
    Any help will be much appreciated

    I can not seem to find any object named PROCOBJ.
    As for the object called RAYSQLACCESS9889405...no idea what this is.
    I checked the source for any invalid objects and none.

  • Impdp with error ORA-39083,ORA-00942,ORA-00959,ORA-39112,help!!!

    Hi,Friends,
    I did import a dump file, should be a schema by data pump.Got these errors:
    ORA-39083: Object type TABLE failed to create with error
    followed error:
    ORA-00942: table or view does not exist
    or
    ORA-00959: tablespace 'USERS2' does not exist
    ORA-39112: Dependent object type %s skipped, base object type %s creation failed ORA-39082: Object type created with compilation warnings
    Would anybody here can help me out?Thanks!

    Either pre-create the users2 tablespace in the target database, or use remap_tablespace parameter to specify the target tablespace instead of users2.
    As usual, complete syntax is in the doc - http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#sthref342

  • ORA-39779 during import of types

    Hi ,
    I have executed an export with the following parameters:
    DIRECTORY=DATAPUMP_DIR
    DUMPFILE=exportdp_FULL_%U.dmp
    LOGFILE=exportdp_FULL.log
    FLASHBACK_SCN=6070655498233
    FULL=yes
    CONTENT=ALL
    FILESIZE=2G
    PARALLEL=2
    The source database is of release 10.2.0.4.0 and installed on a HP-UX (HP-UX 11.23) environment.
    The target database is of release 10.2.0.5.0 and installed on Red Hat Linux (Red Hat Enterprise Linux Server release 5.8 ) environment.
    The parameterfile for the import has the following parameters:
    DUMPFILE=exportdp_FULL_%U.dmp
    LOGFILE=importdp_FULL.log
    SCHEMAS=schema_a, schema_b, schema_c, schema_d
    REMAP_TABLESPACE=DEFAULTUSER:DEFAULT_USER
    PARALLEL=4
    METRICS=yes
    During the import the following errors get raised:
    ORA-31693: Table data object "SCHEMA_A"."TEST" failed to load/unload and is being skipped due to error:
    ORA-02354: error in exporting/importing data
    ORA-39779: type "SCHEMA_A"."OT_TEST" not found or conversion to latest version is not possible
    Going through MOS and several forums none of the offered solutions (e.g. TRANSFORM=oid:n) solved this issue.
    Currently I really don't have idea how to solve this issue - it's not clear to me what causes the problem. Running the query
    SELECT o.oid$
    , t.hashcode
    , o.name
    FROM sys.obj$ o
    , sys.user$ u
    , sys.type$ t
    WHERE o.owner# = u.user#
    AND o.oid$ = t.toid
    AND o.name = 'OT_TEST';
    gives different results on source- and target-database (oid and hashcode do both differ).
    Any help will truly appreciated.
    Rgds
    Jan

    Hi ,
    expdp command:
    expdp sys_admin parfile=exportdp_FULL.param;
    first 15 lines of exportdp_FULL.log:
    Export: Release 10.2.0.4.0 - 64bit Production on Mittwoch, 06 Februar, 2013 7:35:52
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYS_ADMIN"."SYS_EXPORT_FULL_01": sys_admin/******** parfile=exportdp_FULL.param
    Estimate in progress using BLOCKS method...
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 199.2 GB
    Processing object type DATABASE_EXPORT/TABLESPACE
    Processing object type DATABASE_EXPORT/PROFILE
    Processing object type DATABASE_EXPORT/SYS_USER/USER
    Processing object type DATABASE_EXPORT/SCHEMA/USER
    Processing object type DATABASE_EXPORT/ROLE
    Processing object type DATABASE_EXPORT/GRANT/SYSTEM_GRANT/PROC_SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLESPACE_QUOTA
    impdp command:
    impdp sys_admin parfile=importdp_FULL.param;
    first 15 lines of importdp_FULL.log:
    Import: Release 10.2.0.5.0 - 64bit Production on Thursday, 07 February, 2013 12:53:58
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    Master table "SYS_ADMIN"."SYS_IMPORT_SCHEMA_02" successfully loaded/unloaded
    Starting "SYS_ADMIN"."SYS_IMPORT_SCHEMA_02": sys_admin/******** parfile=importdp_FULL.param
    Processing object type DATABASE_EXPORT/SCHEMA/USER
    Failing sql is:
    CREATE USER "SCHEMA_A" IDENTIFIED BY VALUES 'A3E66F1F8E9EFE4E' DEFAULT TABLESPACE "DATA" TEMPORARY TABLESPACE "TEMP" PROFILE "SCHEMA_OWNER"
    ORA-31684: Object type USER:"SCHEMA_A" already exists
    ORA-31684: Object type USER:"SCHEMA_B" already exists
    ORA-39083: Object type USER failed to create with error:
    ORA-02380: profile TECHNICAL_USER does not exist
    The errors of the import are due to the fact that I have created all users before...
    Rgds
    Jan

  • ORA-39083,ORA-00959: tablespace 'TEST_LIVE' does not exist

    Hi,
    I am trying to import using impdp but i am facing the below mentioned error..
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "TEST_230511"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "TEST_230511"."SYS_IMPORT_FULL_01": TEST_230511/********@GEMSDB REMAP_SCHEMA=TEST_220511:test_230511 DIRECTORY=dump_dict DUMPFILE=test_live_230511.DMP LOGFILE = test_230511.LOG
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"TEST_230511" 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/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/DB_LINK
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'TEST_LIVE' does not exist
    Failing sql is:
    CREATE TABLE "TEST_230511"."C_EXPENSECLAIMS_EMPLOYEE" ("C_EXPENSECLAIMS_EMPLOYEE_ID" NUMBER(10,0), "AD_CLIENT_ID" NUMBER(10,0), "AD_ORG_ID" NUMBER(10,0), "ISACTIVE" CHAR(1), "CREATED" DATE, "CREATEDBY" NUMBER(10,0), "UPDATED" DATE, "UPDATEDBY" NUMBER(10,0), "TRANSACTION_DATE" DATE, "EXPENSE_DATE" DATE, "EXPENSE_TYPE_ID" NUMBER(10,0), "BUDGETED" CHAR(1) DEFAULT ('N'), "AMOUNT" NUMBER
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'TEST_LIVE' does not exist

    Hi;
    Pelase check below notes which is mention similar error like you hit
    IMPDP REMAP_SCHEMA Option Does Not Import To Default Tablespace [ID 796671.1]
    Also see:
    OERR: ORA 959 "tablespace '%s' does not exist" [ID 18553.1]
    Can't Drop Text Domain Index Which Came Imported To 11.1.0.7 From 10.2.0.4 Export Due to ORA-29868 [ID 751883.1]
    Import Partition Table Fails With Ora-00959: Tablespace '_$Deleted$0$0' [ID 798142.1]
    Regard
    Helios

  • Error During IMPDP

    Hi All
    Oracle 11.2.0.2.0
    OEL 5
    I am trying to impdp getting some errors. Here's the command
    impdp DUMMY01/DUMMY01@DEV01 REMAP_SCHEMA=PRODUSER01:DUMMY01 VERSION=10.2 DIRECTORY=DP LOGFILE=impdp.log JOB_NAME=impdp_job2 DUMPFILE= PRODUSER01_%U.dmp PARALLEL=4
    Here's the error
    Import: Release 11.2.0.2.0 - Production on Sun Nov 6 23:10:47 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "DUMMY01"."impdp_job2" successfully loaded/unloaded
    Starting "DUMMY01"."impdp_job2":  DUMMY01/********@ODDEV0J REMAP_SCHEMA=PRODUSER01:DUMMY01 VERSION=10.2 DIRECTORY=DP LOGFILE=impdp.log JOB_NAME=impdp_job2 DUMPFILE= PRODUSER01_%U.dmp PARALLEL=4
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    CREATE USER "DUMMY01" IDENTIFIED BY VALUES 'S:3D5D3412A9A68AAA7690A50D7F5D9CAA019F573D5EF9DA355944BB3507B5;D8D2FECC0D7DBF3F' DEFAULT TABLESPACE "DATA" TEMPORARY TABLESPACE "TEMP"
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privilegesThanks

    The export has probably been done within system user and/or high privilege. You could try to run the import within system user, or grant DBA to the user used by the import command.
    Note that if the user already exists before the import, an error is also returned, but can be ignored.
    Nicolas.

  • Upgrade from 10gr2 to 11gr2 - error during impdp

    Current server is 10gr2 on windows 2003 64 bit, running TDE. On the new server, I've copied the wallet to the new server, opened it using the alter system set encryption wallet open command. Verifed it's open. When I run impdp on the 11gr2 server, I get a ton of these errors:
    ORA-39083: Object type INDEX failed to create with error:
    ORA-28374: typed master key not found in wallet
    Failing sql is:
    CREATE INDEX "BANK"."RTXN_DX29" ON "BANK"."RTXN" ("RTXNTYPCD") PCTFREE 10 INITRANS 2 MAXTRANS 255  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "INDEXES" PARALLEL 12
    Followed by a ton of errors like this
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39083: Object type REF_CONSTRAINT failed to create with error:
    ORA-02270: no matching unique or primary key for this column-list
    Failing sql is:
    ALTER TABLE "BANK"."ACCT1099M" ADD CONSTRAINT "ACCT1099M004" FOREIGN KEY ("PARENTACCTNBR", "PARENTRTXNNBR") REFERENCES "BANK"."RTXN" ("ACCTNBR", "RTXNNBR") ENABLE NOVALIDATE
    Any ideas? I'm doing my practice runs for the real upgrade, which is this weekend, and I've had several successful upgrades, but this time I can't get past this error.

    I do not have any experience with TDE, but see if MOS Doc 1260584.1 can help
    HTH
    Srini

  • ORA-39083: Object type TRIGGER failed to create with error:

    i m getting these two error when i import data using impdp.
    ORA-39083: Object type TRIGGER failed to create with error:
    ORA-00942: table or view does not exist
    i have exported (expdp) data from production db, when i importing (impdp) the dump file to the test db i m geting the above two errors.
    example:
    ORA-39083: Object type TRIGGER failed to create with error:
    ORA-00942: table or view does not exist
    Failing sql is:
    CREATE TRIGGER "NEEDLE"."CC_BCK_TRG" BEFORE INSERT OR UPDATE
    ON NIIL.cc_bck_mgmt REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW
    DECLARE
    w_date DATE;
    w_user VARCHAR2(10);
    BEGIN
    SELECT USER,SYSDATE INTO w_user,w_date FROM DUAL;
    IF INSERTING THEN
    :NEW.cretuser :=w_user;
    :NEW.cretdate :=w_date;
    END IF;
    IF UPDATING THEN
    :NEW.modiuser :=w_user;
    :NEW.modidate :=w_date;
    END IF;
    END;
    status of the above trigger in pro db is valid. and source table also exist even though i m getting error when i import
    please suggest me...

    perhaps you don't have table... (impdp created trigger before create table)
    check about "NIIL.cc_bck_mgmt" table.
    and then create it (trigger) manual ;)
    Good Luck.

  • ORA-39126 during an export of a partition via dbms_datapump

    Hi ,
    i did export using datapump in command line everything went fine but while exporting via dbms_datapump i got this:
    ORA-39126 during an export of a partition via dbms_datapump
    ORA-00920
    'SELECT FROM DUAL WHERE :1' P20060401
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6228
    the procedure is:
    PROCEDURE pr_depura_bitacora
    IS
    l_job_handle NUMBER;
    l_job_state VARCHAR2(30);
    l_partition VARCHAR2(30);
    v_sql VARCHAR2(2000);
    BEGIN
    -- Create a user-named Data Pump job to do a "table:partition-level" export
    -- Local
    select 'P'|| to_char((select min(STP_LOG_DATE) from SAI_AUDITBITACORA),'YYYYMM')||'01'
    into l_partition
    from user_tab_partitions
    where table_name = 'SAI_AUDITBITACORA'
    and rownum = 1;
    l_partition := rtrim (l_partition,' ');
    l_job_handle:= DBMS_DATAPUMP.OPEN
    operation=>'EXPORT',
    job_mode =>'TABLE',
    job_name =>'EXPORT_ORACLENSSA'
    -- Schema filter
    DBMS_DATAPUMP.METADATA_FILTER
    handle => l_job_handle,
    name => 'SCHEMA_EXPR',
    value => 'IN (''ORACLENSSA'')'
    DBMS_OUTPUT.PUT_LINE('Added filter for schema list');
    -- Table filter
    DBMS_DATAPUMP.METADATA_FILTER
    handle => l_job_handle,
    name => 'NAME_EXPR',
    value => '=''SAI_AUDITBITACORA'''
    DBMS_OUTPUT.PUT_LINE('Added filter for table expression');
    -- Partition filter
    DBMS_DATAPUMP.DATA_FILTER
    handle => l_job_handle,
    name => 'PARTITION_EXPR',
    value => l_partition,
    table_name => 'SAI_AUDITBITACORA'
    DBMS_OUTPUT.PUT_LINE('Partition filter for schema list');
    DBMS_DATAPUMP.ADD_FILE
    handle => l_job_handle,
    filename => 'EXP'||l_partition||'.DMP',
    directory => 'EXP_DATA_PUMP',
    filetype => 1
    DBMS_DATAPUMP.ADD_FILE
    handle => l_job_handle,
    filename => 'EXP'||l_partition||'.LOG',
    directory => 'EXP_DATA_PUMP',
    filetype => 3
    DBMS_DATAPUMP.START_JOB
    handle => l_job_handle,
    skip_current => 0
    DBMS_DATAPUMP.WAIT_FOR_JOB
    handle => l_job_handle,
    job_state => l_job_state
    DBMS_OUTPUT.PUT_LINE('Job completed - job state = '||l_job_state);
    DBMS_DATAPUMP.DETACH(handle=>l_job_handle);
    END;
    I've already drop and recreate the directory, granted read, write to public and to user, grant create session, create table, create procedure, exp_full_database to user, restart the database and the listener with the var LD_LIBRARY pointing first to $ORACLE_HOME/lib, and add more space to temporary tablespace.

    The basic problem is:
    Error: ORA 920
    Text: invalid relational operator
    Cause: A search condition was entered with an invalid or missing relational
    operator.
    Action: Include a valid relational operator such as =, !=, ^=, <>, >, <, >=, <=
    , ALL, ANY, [NOT] BETWEEN, EXISTS, [NOT] IN, IS [NOT] NULL, or [NOT]
    LIKE in the condition.
    Obviously this refers to the invalid statement 'SELECT FROM DUAL ...'. I also recommend, you should contact Oracle Support, because it happens inside an Oracle provided package.
    Werner

Maybe you are looking for