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

Similar Messages

  • Error: ORA-01918

    Hi,
    I have a table: Role.This role table has rolenumber, rolename and rolerank.
    Rolenumber Rolename Rolerank
    1 Admin 1
    2 Datamanager 2
    3 Consultant 3
    4 Fulltime 4
    I have another table: user.
    This table has main field userid followed by other user information.
    I have another table: userrole.
    This table has fields: userid, createdby,createddate,rolenumber
    The requirement is :
    Admin : delete and convert existing users to Datamanager.
    Consultant : delete and convert existing users to Data Entry.
    Full Time : delete and convert existing users to Full Access.
    As the Data Entry and Full Access roles are not available in the role table, i created two new role names through insert statements.Now the role table looks as follows:
    Rolenumber Rolename Rolerank
    1 Admin 1
    2 Datamanager 2
    3 Consultant 3
    4 Fulltime 4
    5 Data Entry 5
    6 Full Access 6
    Then with the update statements, I updated all existing consultant users to Data Entry and all existing Full Time users to Full Access.
    If I want to create a new userid, I need to login as datamanager and create a new userid.So I created a new userid for example as Naina with the role as Data Entry.
    Now the userrole table looks as follows:
    userid createdby createddate rolenumber
    Naina datamanager 11/07/07 5
    This userid appears in the "List of existing users" screen in the datamanager account.We have two modes: add mode and edit mode.
    while creating this userid in the "Create User Screen" during add mode, we have one field Password.I entered " aaaaaa" in that field. In the edit mode of that userid, we have one field change password. This change passowrd allows the user to create a new password for that userid. When I changed the password for Naina and click save button at the bottom of the screen during edit mode, it displayed
    the error message : ORA-01918: user 'NAINA' does not exist.
    I executed select statement on both tables:user and userrole. i could get the output of those two select statements because this userid information is being stored in the database.
    Could any one tell how I can resolve this error: "ORA-01918".
    Thanks,
    Prathima

    No one can possibly help you nor do I think they should.
    First you are a student as is obvious from the exercise.
    Second you seem to be using a front-end tool of which we have no knowledge.
    Third you posted no DDL or DML
    Fourth you posted no version
    We have absolutely no idea what does or does not happen when you push some button.
    I would suggest you discuss this with your teacher.

  • Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918

    Hi,
    I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
    I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
    So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
    My os is win 7 x64(amd processor ).
    Thank you
    Baldwin

    A new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
    12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
    Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues.

  • Impdp error ORA 316931 29913, 31011, 19202

    One of my colleague got this error while importing a database from dump and he passed it to me resolve the issue.
    The import command used:
    impdp raviuyre/systemcr DUMPFILE=3_dir:FITHA_0.dmp LOGFILE=import_0.log TABLES=SLATIONS TABLE_EXISTS_ACTION=APPEND*
    Error:
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39153: Table "RAVIUYRE"."SLATIONS" exists and has been appended. Data will be loaded but all dependent metadata will be skipped due to table_exists_action of append
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "RAVIUYRE"."SLATIONS" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00217: invalid character 133 (U0085)+
    Error at line 1
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Is the below error
    ORA-31693: Table data object "RAVIUYRE"."SLATIONS" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00217: invalid character 133 (U0085)+
    caused because of the table which has been appended.
    Kindly help me.....
    Thanks in advance,
    NONUDAY

    897910 wrote:
    Hi Srini,
    I found out that this database has a character set WE8MSWIN1252 which doesn't support XML type.Pl elaborate on how you determined this. I am not an expert in XML types, but I do not think support is related to NLS_CHARACTERSET.
    >
    SQL> select * from nls_database_parameters where parameter ='NLS_CHARACTERSET';
    PARAMETER                      VALUE
    NLS_CHARACTERSET               WE8MSWIN1252
    Is above the character set is reason for the error, if yes can you tell me how can I change the WE8MSWIN1252 to AL32UTF8(supports XML)?
    Thanks for your inputs..
    Regards,
    KarthikFor changing charactersets, pl see these MOS Docs
    Changing the NLS_CHARACTERSET to AL32UTF8 / UTF8 (Unicode)          [Document 260192.1]
    AL32UTF8 / UTF8 (Unicode) Database Character Set Implications          [Document 788156.1]
    HTH
    Srini

  • Impdp error ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDL

    Hi,
    I am trying to generate sql script form the dmp file.
    but getting this error.
    C:\Documents and Settings\satish.HTSS>impdp egift/egift@local directory=DIR1 dum
    pfile=exp.dmp sqlfile=create.sql
    Import: Release 10.2.0.1.0 - Production on Saturday, 24 May, 2008 0:16:07
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Master table "EGIFT"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
    Starting "EGIFT"."SYS_SQL_FILE_FULL_01":  egift/********@local directory=DIR1 du
    mpfile=exp.dmp sqlfile=create.sql
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
    Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
    Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
    Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_
    PACKAGE_SPEC
    Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
    Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
    Processing object type SCHEMA_EXPORT/VIEW/VIEW
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling D
    BMS_METADATA.CONVERT []
    ORA-06502: PL/SQL: numeric or value error
    LPX-00007: unexpected end-of-file encountered
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6235
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    20B135F8     14916  package body SYS.KUPW$WORKER
    20B135F8      6300  package body SYS.KUPW$WORKER
    20B135F8     12279  package body SYS.KUPW$WORKER
    20B135F8      3279  package body SYS.KUPW$WORKER
    20B135F8      3956  package body SYS.KUPW$WORKER
    20B135F8      6931  package body SYS.KUPW$WORKER
    20B135F8      1262  package body SYS.KUPW$WORKER
    18E96684         2  anonymous block
    Job "EGIFT"."SYS_SQL_FILE_FULL_01" stopped due to fatal error at 00:16:31and this error always comes when it turns to generate sql for the triggers.
    i am facing this error continuously.
    thanks

    Hi,
    Its an unpatched db.So you must patch it first.Here is what is mentioned about this error
    39125, 00000, "Worker unexpected fatal error in %s while calling %s [%s]" // *Cause: An unhandled exception was detected internally within the worker
    // process for the Data Pump job while calling the specified external
    // routine. This is an internal error. Additional information may be
    // supplied.
    // *Action: If problem persists, contact Oracle Customer Support.
    So the better part is to contact Support.See if this thread can help you.Its not having much but still ,
    Error ORA-39125 and ORA-04063 during export for transportable tablespace
    Aman....

  • Error in Installation 4.6b - error ORA-01918

    Hello all!
    I'm installing SAP R/3 4.6B in Windows 2000 and database Oracle 8.1.7.
    I am following the installation guide 4.6C because the document indicates to me that I must follow this guide when is Windows 2000 and Oracle 8.1.6.
    The progress of installation this in a 85%, but the process this stopping in the phase CRSAPDBAROLE_NT_ORA with the following messages of errors in the file sapdba_role.log:
    old  13: if '&&2' != 'NT' then
    new  13: if 'NT' != 'NT' then
    old  14:  V_User := 'OPS$' || '&&1' || 'ADM';
    new  14:  V_User := 'OPS$' || 'TVD' || 'ADM';
    old  16:  V_User := 'OPS$SAPSERVICE' || '&&1';
    new  16:  V_User := 'OPS$SAPSERVICE' || 'TVD';
    old  22: if Db_Vers = '8.0' or '&&2' != 'NT' then
    new  22: if Db_Vers = '8.0' or 'NT' != 'NT' then
    old  79:   select password into v_pass from dba_users where username = '&Owner';
    new  79:   select password into v_pass from dba_users where username = 'SAPR3';
    old  93: Statement := 'alter user &Owner identified by sap';
    new  93: Statement := 'alter user SAPR3 identified by sap';
    PL/SQL procedure successfully completed.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Connected.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    grant ALL on DBATL to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist
    grant ALL on DBAOBJL to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist
    grant ALL on DBAPHAL to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist
    grant ALL on DBAGRP to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Connected.
    old  15:  Statement := 'alter user &Owner identified by values' || '''' || V_Pass || '''';
    new  15:  Statement := 'alter user SAPR3 identified by values' || '''' || V_Pass || '''';
    PL/SQL procedure successfully completed.
    old  14:   select password into v_pass from dba_users where username = '&Owner';
    new  14:   select password into v_pass from dba_users where username = 'SAPTVD';
    old  24: Statement := 'alter user &Owner identified by sap';
    new  24: Statement := 'alter user SAPTVD identified by sap';
    declare
    ERROR at line 1:
    ORA-01918: user 'SAPTVD' does not exist
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 824
    ORA-06512: at "SYS.DBMS_SQL", line 32
    ORA-06512: at line 25
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Warning: You are no longer connected to ORACLE.
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    Connected.
    old  15:  Statement := 'alter user &Owner identified by values' || '''' || V_Pass || '''';
    new  15:  Statement := 'alter user SAPTVD identified by values' || '''' || V_Pass || '''';
    PL/SQL procedure successfully completed.
    Somebody can help me in this case !!!
    Desiree

    Hi Desiree,
    basically the other two commenters were right, the user
    SAPTVD does not exist on the DB. Actually that's correct, since you're installing a 4.6B system, where the SAP Schemauser ALWAYS is names SAPR3 and never SAP<SID>.
    So the question is, why is it tried to use the SAP<SID> user here?
    I guess you're using a wrong version of the sapdba_role script or something.
    Anyhow, to get around such issues, there's a note:
    #<a href="https://websmp208.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=0000134592&nlang=E">134592</a> - Importing the SAPDBA role ( sapdba_role.sql).
    Use it and the issue will be solved.
    KR Lars

  • Impdp error: ORA-02369

    What's wrong:
    F:\com\Export>impdp system/test@test full=y dumpfile=EXPDP_FULL:com_dp.dmp
    logfile=EXPDP_FULL:fullimp_dp.log
    Import: Release 11.1.0.7.0 - 64bit Production on Donnerstag, 30 Juli, 2009 14:56
    :49
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Angemeldet bei: Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    ORA-39002: Ung³ltiger Vorgang
    ORA-31694: Master-Tabelle "SYSTEM"."SYS_IMPORT_FULL_01" konnte nicht geladen/ent
    laden werden
    ORA-02354: Fehler beim Exportieren/Importieren von Daten
    ORA-02368: the following file is not valid for this load operation
    ORA-02369: internal number in header in file F:\com\Export\com_dp.dmp is not val
    id
    roger

    Roger,
    Like everyone else here has already mentioned, this sounds like corruption. One way to verify is to try the import where the dumpfile was created. You can try this command and instead of creating objects, it will just write the ddl to a sqlfile.
    impdp ...your normal command ... sqlfile=mytest.sql
    If you don't get any errors here, then it has to do with how you got the dumpfile from the source to the target. This command will create a file called mytest.sql with all of the ddl that is contained in the dumpfile.
    Hope this helps.
    Dean

  • 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

  • Impdp triggers always give error ORA-04071:missing BEFORE, AFTER or INSTEAD

    Hello,
    I am using 11g impdp to create a test system.
    I use this cmd to import
    impdp 'SYS/xxxxx@PWRFUN AS SYSDBA' dumpfile=PWRPROD.DMP logfile=PWRFUNimportPROD.log SCHEMAS=pwrplant TABLE_EXISTS_ACTION=REPLACE
    Then I get this error for all the triggers
    ORA-39083: Object type TRIGGER failed to create with error:
    ORA-04071: missing BEFORE, AFTER or INSTEAD OF keyword
    Failing sql is:
    CREATE TRIGGER "PWRPLANT"."APPROVAL_STEPS_HISTORY" PS_HISTORY
    BEFORE UPDATE OR INSERT ON PWRPLANT.APPROVAL_STEPS_HISTORY
    FOR EACH ROW
    BEGIN    :new.user_id := USER;    :new.time_stamp := SYSDATE; END;
    As you can see, the trigger does contain the word "before".
    When I remove " "PWRPLANT"."APPROVAL_STEPS_HISTORY" " and run the trigger below, it compiles correctly. Why is this, and how do I make my impdp to run correctly?
    CREATE TRIGGER PS_HISTORY
    BEFORE UPDATE OR INSERT ON PWRPLANT.APPROVAL_STEPS_HISTORY
    FOR EACH ROW
    BEGIN    :new.user_id := USER;    :new.time_stamp := SYSDATE; END;

    same error, thanks for your attemp
    Error starting at line 1 in command:
    CREATE TRIGGER "PWRPLANT"."APPROVAL_STEPS_HISTORY" PS_HISTORY
    BEFORE UPDATE OR INSERT ON PWRPLANT.APPROVAL_STEPS_HISTORY
    REFERENCING new AS new
    FOR EACH ROW
    BEGIN :new.user_id := USER; :new.time_stamp := SYSDATE; END;
    Error report:
    ORA-04071: missing BEFORE, AFTER or INSTEAD OF keyword
    04071. 00000 - "missing BEFORE, AFTER or INSTEAD OF keyword"
    *Cause:    The trigger statement is missing the BEFORE/AFTER/INSTEAD OF clause.
    *Action:   Specify either BEFORE, AFTER or INSTEAD OF.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Impdp Procedure or function 10.2.0.4 Error ORA-00904

    I have error ORA-00904: "USERNAME" : identificateur non valide. What is the problem ?
    My command impdp :_
    **impdp datapump/password@%ORACLE_SID% DIRECTORY=datapump schemas=gcom INCLUDE=PROCEDURE remap_tablespace=gpao_indx:indx remap_tablespace=gpao_data:data DUMPFILE=%ORA_DUMPFILE% LOGFILE=Imp_%annee%%mois%%jour%%hh%%min%%sec%_%ORACLE_SID%.log**
    The result :_
    Import: Release 10.2.0.4.0 - Production on Jeudi, 15 Septembre, 2011 17:47:16
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connecté à : Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Table maître "DATAPUMP"."SYS_IMPORT_SCHEMA_29" chargée/déchargée avec succès
    Démarrage de "DATAPUMP"."SYS_IMPORT_SCHEMA_29" : datapump/********@gpao DIRECTORY=datapump schemas=gcom INCLUDE=PROCEDURE remap_tablespace=gpao_indx:indx remap_tablespace=gpao_data:data remap_tablespace=gpao_temp:TEMP DUMPFILE=GPAO_DATAPUMP.DUMP LOGFILE=Imp_20110915174715_gpao.log TABLE_EXISTS_ACTION=replace
    Traitement du type d'objet DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    Traitement du type d'objet DATABASE_EXPORT/SCHEMA/PROCEDURE/PROCEDURE
    ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur: tampon de chaîne de caractères trop petit
    ORA-01001: curseur non valide
    ORA-06512: à "SYS.KUPW$WORKER", ligne 5241
    ORA-06512: à "SYS.KUPW$WORKER", ligne 12750
    ORA-01001: curseur non valide
    ORA-00904: "USERNAME" : identificateur non valide
    Tâche "DATAPUMP"."SYS_IMPORT_SCHEMA_29" arrêtée en raison d'une erreur grave à 17:47:35
    Tkprof result :_
    [http://wattman44.dnsalias.net/telechargement/result_2844.txt]

    Refer MOS note 814896.1
    Since it is not describing your exact scenario, I would advise you to get in touch with Oracle support for this.

  • Impdp errors with ORA-01400: cannot insert NULL into

    Hi Experts,
    I have very intresting situation when I use impdp to import table back to DB.
    Environment:
    Database Server: 10.2.0.4 Enterprise
    OS: RHEL 5.5 64-bit
    We have a table and it's size is 350+ GB and so to reclaim space I want to perform expdp/impdp operation. When I following below steps:
    1) expdp table
    2) drop table
    3) impdp full table
    It works like a charm and I am able to reclaim 83% space and table size shows about 20GB.
    But when I follow below method:
    1) expdp table
    2) truncate table (To save some time not to import indexes, stats, constraints , etc)
    3) impdp table
    I get following error:
    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
    Master table "SYS"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
    Starting "SYS"."SYS_IMPORT_TABLE_01": sys/******** tables=<schema>.<table_name> directory=test_dir dumpfile=<table_name>_%u.dmp logfile=impdp_<table_name>.log parallel=16 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "<schema"."table_name" failed to load/unload and is being skipped due to error:
    ORA-01400: cannot insert NULL into ("schema"."table_name"."ID")
    Job "SYS"."SYS_IMPORT_TABLE_01" completed with 1 error(s) at 16:12:28
    Please advise how to proceed further, it seems like I am hitting some sort of Bug but metalink does not show any.
    Regards,
    MS
    Edited by: user10651321 on Nov 9, 2012 4:38 PM

    expdp and impdp operations should not be executed as SYS - try SYSTEM account instead. See first Note section here - http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_import.htm#sthref243
    Pl post the complete expdp and impdp commands used, along with a description of the table for which you encounter this error.
    HTH
    Srini

  • While import the table i got error "ORA-39166"

    I got error "ORA-39166: Object XXXXXXX_030210 was not found." while importing.
    Edited by: AshishS on 03-Feb-2012 04:37

    Pl post details of OS and database versions, along with the complete impdp command used and the sections from the log file where this error occurs.
    HTH
    Srini

  • Import Error: ORA-01435 : User does not exist

    Hi all,
    I am importing a dump into 11g Database, the dump taken from Old Financial release 6 [EBIZ]
    i given this command:
    IMP FILE=EXPDUMP.DMP BUFFER=524288000 FULL=Y IGNORE=Y
    Import user system and password given...
    Once its started and getting error
    +"ALTER USER "PERFUSER" QUOTA UNLIMITED ON "OTHERD""+
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'PERFUSER' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    +"ALTER USER "DUB_QUERY" QUOTA UNLIMITED ON "OTHERD""+
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'DUB_QUERY' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    +"ALTER USER "OEMV22" QUOTA UNLIMITED ON "OEM_REPOSITORY""+
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'OEMV22' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    +"ALTER USER "W03063_ITD" QUOTA UNLIMITED ON "TEMP" QUOTA UNLIMITED ON "OEM_R"+
    +"EPOSITORY""+
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'W03063_ITD' does not exist
    +. importing APPS's objects into APPS+
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    +. importing DUB_QUERY's objects into DUB_QUERY+
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    +. importing SYSTEM's objects into SYSTEM+
    +. importing APPLSYS's objects into APPLSYS+
    +"ALTER SESSION SET CURRENT_SCHEMA= "APPLSYS""+
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    IMP-00000: Import terminated unsuccessfully
    Kindly advice me what is the wrong,,
    I have created all the data files same like Old Database. so while importing All the USERs will created, if its correct then why this "*ORA-01435 : User does not exist*" coming...
    Regards
    Paja
    Edited by: Hameed on Jul 2, 2012 4:50 AM

    Create tablespace :
    select 'CREATE TABLESPACE '||TABLESPACE_NAME||' DATAFILE '||FILE_NAME||' SIZE '||BYTES||' autoextend on '||';'
    from dba_data_files
    order by tablespace_name;
    Create User :
    select ' CREATE USER '||USERNAME||' IDENTIFIED BY '||USERNAME||' DEFAULT TABLESPACE '||DEFAULT_TABLESPACE||' temporary tablespace ' ||' TEMP quota unlimited on '|| DEFAULT_TABLESPACE||';'
    from dba_users
    order by USERNAME;
    Create Role
    select 'CREATE ROLE ' || ROLE || ' ;'
    from DBA_ROLES
    order by ROLE
    Grant Role :
    select ' GRANT '|| GRANTED_ROLE || ' to ' || GRANTEE || ' ;'
    from DBA_ROLE_PRIVS
    order by GRANTED_ROLE
    Br
    osama
    Edited by: Osama-mustafa on Jul 2, 2012 5:47 PM

  • How to avoid ORA-01918 and ORA-00959 while impoting a dump file

    While importing a dump file, I encountered the ora-01918 (user does not exist) and ora-00959 (tablespace does not exist) errors. This has occurred due to the fact that the user and tablespace mentioned in the dump file did not exist in my database.
    Is there a way to avoid these errors via specifying some values to IMP parameters?
    Appreciate help.

    user7864190 wrote:
    While importing a dump file, I encountered the ora-01918 (user does not exist) and ora-00959 (tablespace does not exist) errors. This has occurred due to the fact that the user and tablespace mentioned in the dump file did not exist in my database.
    Is there a way to avoid these errors via specifying some values to IMP parameters?
    Appreciate help.If you import with FULL=Y parameter (and of course if you exported with FULL=Y), imp will create tablespace and users.
    imp full=y file=xxxxxxxxxx.dmpOn the other hand, it could be better to create tablespaces manually (according to your disk structure)
    Btw, this is wrong forum. :)
    Regards
    Gokhan

  • Not valid month Error Ora 01843

    hi
    This is an error while running a report 6i. in Oracle 8i Environment.
    "Not valid month Error Ora 01843"
    This report is working fine in Production. But it is not working in Development Database.
    Development database is the image of Production system.
    Any reason for this Error?

    Dear Naseer C ,
    We got similar experiences for several time.
    We quried like that.
    Selet moth from table;
    08-AUG-1988
    08-08-1988
    08-08-88
    We changed several time until diappear the message.
    Hopefully, it will help you.
    Best regards,
    S!G

Maybe you are looking for

  • File association in Bridge

    I have CS PS6, Win 7, but recently installed PS Elements 10 to help a friend who is new to photo ediing so that we'd both be looking at the same picture if and when he ran into problems. However, the Elements installation changd the file associations

  • Too many time to open a session with oracle odbc

    I have to migrate an internet site in Sql Server to Oracle. When I connect Oracle Database with Oracle ODBC, it takes 2 or 3 seconds. So if i have 8 or 10 recordset to open, it takes 20 s. But when sessions are open, they live about 1 m and during th

  • I cannot access books in my collections starting from D to Z

    My collections only shows authoe from a to c. Where are the books

  • Grants Management and UE Seventh Framework Programme

    Hi all, I'm studying about potential implementation of Grants Management in order to manage research project budgeting and reporting towards sponsor. Do someone has already addressed the following issues? Issue 1: how to manage the need to report exp

  • Pointers for ideal OC settings for a H55M-ED55?

    H55M bios is at 01.03. Using an i3 540 @ 3.07GHz with OCZ DDR3 10666 Memory. I've had the CPU running at 4.01GHz with memory set to auto, but I'd like to try and get it right. Thanks in advance for any pointers/help.