IMP/exp expdp/impdp vs

Hi all;
which is better in performance the traditional exp/imp or expdp/impdp?

Hello

Oracle Data Pump is a more recent, rapid and flexible alternative to utilities 'exp' and 'imp' used in previous versions of Oracle. In addition to export and import of basic feature data pump provides a PL/SQL API and support for external tables

If Oracle is recommended for all 10g databases and more use of Data Pump and pre 10g use old exp/imp :)

Tags: Database

Similar Questions

  • Accelerate exp/imp or expdp/impdp

    Hello

    Is it possible to speed up and exp/imp or expdp/impdp that already works? Is is possible to speed up a run RMAN backup or restore RMAN process?

    Kind regards

    007

    To accelerate a datapump export market and import you can attach to employment and increase the level of parallelism... impdp attach = job

    I don't know any way to speed up a running RMAN backup.

    To expedite an RMAN restore, you can kill the restoration and re - run using several channels.  The restoration should take up where he left off and can run faster with many channels.  It is relevant only if you have several items from backup.

  • exp/expdp of 32-bit, and then imp/impdp 9i to 11 GR 2 64-bit

    Hi all

    This process is supported?

    exp/expdp of 32-bit, and then imp/impdp 9i to 11 GR 2 64-bit

    Thank you very much

    JC

    Hi, Jenna.

    Yes, it is supported.

    Import/export is done at the level of the data files OS no not really something to do with the system, the data files are the same regardless of the oracle software binary level. However, you should check if any problem with the compatibility of data on levels of oracle version.

    But please make sure that you use the same utility dump file, i.e., imp - exp and expdp-impdp(introduced from 10g)

    Thank you

    AbbasDBA

  • When I do exp (expdp), why use the temporary tablespace?

    Dear

    Imp (impdp) is using temporary tablespace.

    but I'm not using tablespace temp, while exp (expdp) is running.

    I think that exp (expdp) will not use temporary tablespace. is it not?

    Please let me know?

    He could.  It must run queries on the data dictionary.  Some of these applications may require the temp tablespace.

    Hemant K Collette

  • expdp/impdp method in the database upgrade from 11.2.0.4 to 12.1.0.2 an error in logic of "command line"?

    Hi DBA:

    We are evaluating different methods of upgrading 11 GR 2 DB to 12 c (12.1.0.2) this year, it is very important for us to use the right method.  It was reported that when DB version was 9i and has been updated to 11g, there were some order of tables 'line' was wrong when execute SELECT statements in application (Java application) - at the moment I didn't if it is ' select * from... "or any specific part with a"where"clause, and what type of data was wrong (maybe sequence CLOB data, etc.).

    I think I know, ' exp/imp', "expdp/impdp" logical backup of DB methods.  Therefore, Oracle automatically import data and fix it in each table.  If no error in impdp connects after it's over, should not be any mistake, right?

    If the use of the method of 'creates a new data + expdp/impdp basis for schemas user' 11g 12 c port data, questions:

    1. this method will lead to erroneous sequence data when ordering?  If so, how to re - generate the sequence number?

    2. this method can bring CLOB, BLOB data and without any errors?  If error, how to detect and repair?

    I use the same method in the 10.2.0.5 to 11g port data, no problem.

    I'll keep this thread posted after getting more information from application.

    Thank you very much!

    Dania

    INSERT... SELECT, CREATE TABLE in the SELECT and Export-Import will all "re-organize" the table by assigning new blocks.

    In place--update (using DBUA or command line) don't re-create the user tables (although it DOES not rebuild the data dictionary tables).  Therefore, does not change the physical location of lines for user tables.  However, there is no guarantee that a further reason for INSERT, DELETE, UPDATE instructions does not change the physical location of ranks.  Nor is it a guarantee that a SELECT statement will return always stored in the same order unless an ORDER BY is specified explicitly.

    If you export the data while it is still used, you don't avoid update sequences in the source database.  Usually results in a mismatching number sequence between the source database and the new database (imported). In fact, even the numbers may be different, unless you use CONSISTENT or FLASHBACK_SCN.  (These two options in exp / expdp do NOT prevent update sequences).   The right way to manage sequences is to rebuild or increase them in data imported with the values in the data source, once the import is complete.

    Hemant K Collette

  • Add data using EXPDP/IMPDP

    I have a log table that is daily exported and imported to another schema. what I do currently, export the LOG table, delete the existing table of NEWSPAPER on the target schema, and then import in there.
    It is possible to add days of data only lasts rather export full table and import daily target schema table?

    Current exp/imp command:
    expdp system/XXXX SCHEMAS = LOG INCLUDE = TABLE: "IN ('DAILY_LOGGER')" directory = dumpdata dumpfile = daily_logger.dmp logfile = daily_logger_exp.log "

    Impdp system/xxx REMAP_SCHEMA = directory LOG: LOG_BKP = dumpdata PARALLEL = 1 dumpfile = daily_logger.dm logfile = daily_logger.dmp_imp.log'


    DB version:
    BANNER
    Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
    PL/SQL release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    AMT for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

    OS version:
    2.6.18 - 128.el5 Linux CLIENT1 #1 SMP Wed Jan 21 08:45:05 this 2009 x86_64 x86_64 x86_64 GNU/Linux

    Thank you

    Published by: najet on June 3, 2010 23:11

    You have single quotes:

    QUERY = log Journal_quotidien: "where quote_date".< to_char="" (sysdate="">

    Dean

  • Migrate EXP EXPDP discontinuous systems app

    Hi all

    11.2.0.1

    AIX 6.1

    We are forced to migrate our batch processing EXP EXPDP system due to the implementation of the vault of the database and encryption (TDE) data Transparent.

    Our dilemma is the property of files/folder EXPDP systems is "oracle: dba" while existing filesystems EXP file belongs to the "batchuser:batch". There will be a lot of major changes when it comes to backup

    treatment if we are implementing that. Is there a way that an EXPDP folder can still be owned by "batchuser:batch"?

    Helppppp pleasee...

    I presented the traditional backup our APP lot EXP system changes, there was a backlash of the operations group because there will be many changes to batchprocess.

    The major issue and

    the main change is the APP folder "/ discharge/batch/u07 ' who is currently owned by"batchuser:batch"placeholder and the dump of the exp for daily or monthly operating tables, change belonging to" oracle: dba "and operating group do not allow this change. Is it possible that the directory_dump_dir can be owned by other than the oracle user?

    Thank you

    zxy

    Two copies

    How to make the output of g + rw EXPDP

    Question of the ownership of Data_pump_dir

    IMPDP for non - dba

  • problem in expdp/impdp

    Hi, I'm currently expdp/impdp but every time the same mistakes. OS win Server 03 on ORACLE 10 g.

    errors:

    C:\Documents and Settings\Administrateur > impdp rΘpertoire "/ as sysdba" = "data_pump_dir" dumpfile = logfile = scott.log'scott.dmp ' '

    Import: Release 10.2.0.3.0 - Production on Tuesday, March 25, 2014 10:43:18

    Copyright (c) 2003, 2005, Oracle.  All rights reserved.

    Connected to: Oracle Database 10 g Enterprise Edition Release 10.2.0.3.0 - Production

    With partitioning, OLAP and Data Mining options

    ORA-31626: there is no job

    ORA-04063: package body 'SYS. DBMS_INTERNAL_LOGSTDBY"contains errors

    ORA-06508: PL/SQL: called program unit is not found: 'SYS. "DBMS_INTERNAL_LOGSTDBY '

    ORA-06512: at "SYS." "KUPV$ FT", line 834

    ORA-04063: package body 'SYS. DBMS_INTERNAL_LOGSTDBY"contains errors

    ORA-06508: PL/SQL: called program unit is not found: 'SYS. DBMS_INTERNAL_LOGSTDBY ".

    SQL > alter the body of package DBMS_INTERNAL_LOGSTDBY compilation;

    WARNING: The bodies of Package modified with compilation errors.

    SQL > show error

    PACKAGE BODY DBMS_INTERNAL_LOGSTDBY errors:

    LINE/COL ERROR

    -------- -----------------------------------------------------------------

    2563/4 PL/SQL: statement ignored

    2563/20 PL/SQL: ORA-00942: table or view does not exist

    2625/3 PL/SQL: statement ignored

    2625/19 PL/SQL: ORA-00942: table or view does not exist

    2809/2 PL/SQL: statement ignored

    2809/13 PL/SQL: ORA-00942: table or view does not exist

    HELP ME PLEASE

    Since you're using Oracle 10 g version...

    Check if you have columns that contain "TEMESTAMP (6) ' data by using this query type:"

    Select dba_tab_columns owner, table_name, column_name data_type where column_name = 'TIMESTAMP' and data_type like '% TIMESTAMP ';

    If the previous query lists for you a list of tables, you must do the following for each table:

    ALTER table system.table_name change (date timestamp);

    Then recompile the package "DBMS_INTERNAL_LOGSTDBY" again.

    I hope this helps.

    Kind regards

  • expdp/impdp: constraints in the child-Parent relationship

    Hello

    I have a table parent1 and child1, child2 and chld3 tables have foreign key created on this parent1.

    Now, I want to do a delete on parent1. But as the number of records is very high on parent1, we go with expdp / impdp with option querry.

    I took the expdp parent1 level query. Now I dropped parent1 with option of cascade constraints and all foreign keys created by child1, 2 and 3 that parent1 references are automatically deleted.

    Now, if I have the impdp to the query of fire level dump file, are these foreign key constraints will be created automatically on child1, 2 and 3 or I need to manually recreate it?

    Kind regards

    ANU

    Hello
    The CF will not be in the dumpfile - see the code example below where I generate a sqlfile following pretty much the process that you would have done. This is because FK belongs to the DDL for the child table not the parent.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning option
    
    OPS$ORACLE@EMZA3>create table a (col1 number);
    
    Table created.
    
    OPS$ORACLE@EMZA3>alter table a add primary key (col1);
    
    Table altered.
    
    OPS$ORACLE@EMZA3>create table b (col1 number);
    
    Table created.
    
    OPS$ORACLE@EMZA3>alter table b add constraint x foreign key (col1) references a(col1);
    
    Table altered.
    
    OPS$ORACLE@EMZA3>
    
    EMZA3:[/oracle/11.2.0.1.2.DB/bin]# expdp / include=TABLE:\"=\'A\'\"
    
    Export: Release 11.2.0.3.0 - Production on Fri May 17 15:45:50 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 option
    Starting "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04":  /******** include=TABLE:"='A'"
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    . . exported "OPS$ORACLE"."A"                                0 KB       0 rows
    Master table "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for OPS$ORACLE.SYS_EXPORT_SCHEMA_04 is:
      /oracle/11.2.0.3.0.DB/rdbms/log/expdat.dmp
    Job "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04" successfully completed at 15:45:58
    
    Import: Release 11.2.0.3.0 - Production on Fri May 17 15:46:16 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 option
    Master table "OPS$ORACLE"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
    Starting "OPS$ORACLE"."SYS_SQL_FILE_FULL_01":  /******** sqlfile=a.sql
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Job "OPS$ORACLE"."SYS_SQL_FILE_FULL_01" successfully completed at 15:46:17
    
    -- CONNECT OPS$ORACLE
    ALTER SESSION SET EVENTS '10150 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10904 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '25475 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10407 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10851 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '22830 TRACE NAME CONTEXT FOREVER, LEVEL 192 ';
    -- new object type path: SCHEMA_EXPORT/TABLE/TABLE
    CREATE TABLE "OPS$ORACLE"."A"
       (    "COL1" NUMBER
       ) SEGMENT CREATION IMMEDIATE
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
     NOCOMPRESS LOGGING
      STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 505
      PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "SYSTEM" ;
    -- new object type path: SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    ALTER TABLE "OPS$ORACLE"."A" ADD PRIMARY KEY ("COL1")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 505
      PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "SYSTEM"  ENABLE;
    -- new object type path: SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    DECLARE I_N VARCHAR2(60);
      I_O VARCHAR2(60);
      NV VARCHAR2(1);
      c DBMS_METADATA.T_VAR_COLL;
      df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS';
     stmt varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,NULL,:14,:15,NULL,:16,:17)';
    BEGIN
      DELETE FROM "SYS"."IMPDP_STATS";
      c(1) := 'COL1';
    
      DBMS_METADATA.GET_STAT_INDNAME('OPS$ORACLE','A',c,1,i_o,i_n);
      EXECUTE IMMEDIATE stmt USING 0,I_N,NV,NV,I_O,0,0,0,0,0,0,0,0,NV,NV,TO_DATE('2013-05-17 15:43:24',df),NV;
    
      DBMS_STATS.IMPORT_INDEX_STATS('"' || i_o || '"','"' || i_n || '"',NULL,'"IMPDP_STATS"',NULL,'"SYS"');
      DELETE FROM "SYS"."IMPDP_STATS";
    END;
    /
    

    Kind regards
    Harry

    http://dbaharrison.blogspot.com/

  • expdp, impdp Grid 11.2 and ACFS

    Version of the grid: 11.2.0.3
    OS: Red Hat Enterprise Linux 5.4

    A few months, our cluster of CARS, while taking a backup expdp in a local Linux file system, I got some errors. Remember the error code or the script now that I had too much work this day. The problem was solved when we used a location of file system ACFS as the directory for expdp object.

    Today, in the same cluster RAC, to reproduce that issue, I tested it with an expdp backup in a local Linux format
    file system (/ home/oracle/pumpDir) and the expdp finished without any problems.

    Someone at - it all met problems with expdp, impdp in environment RAC cluster in reason to use a local Linux file system?

    The error would be more probably "file not found".

    expdp/impdp (datapump) will begin in several parallel processes on the cluster. If all nodes cannot find the 'local' directory, you will get the above error.

    Bottom line, the parallel processes expdp may or may not be on a single node, so the 'directory' MUST be accessible across the cluster.

  • language of stdout IMP/exp

    Hi all

    I'm interested in changing language exp or imp log files? Oracle version is 10.2.0.4.0, version of the OS is Win 2k3R2.

    I have Oracle DB installed on the OS of the Hungarian language and when starts a command exp, I get the log on the Hungarian language file. I need language stdout for utility imp/exp on English. Can I do this?
    For as far as I know language stdout to query for the current session sqlplus can be changed with alter session set nls_language = ENGLISH.

    A little demonstration:

    current log file:
    . . . . .
    . . a következo tábla exportálása:                         A          3 sor exportálva
    . . a következo tábla exportálása:                         B          2 sor exportálva
    . . a következo tábla exportálása:                         C          0 sor exportálva
    . . . . . 
    desired logfile:
     . . . . .
    . . exporting table                       A          3 rows exported
    . . exporting table                       B          2 rows exported
    . . exporting table                       C          0 rows exported
    . . . . .
    TNX in advance.

    Before walking exp or imp (and why use exp and imp?)

    Set nls_lang =_.

    Don't know why but it seems that it is "Question Doc day" again.

    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • Expdp/impdp can be used to upgrade the database (instead of DBUA) R12

    Hi all

    (1) could as possible to convert the database to UTF8 value as part of the database
    upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?

    (2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
    with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
    Can I use expdp/impdp instead so I can convert the character at a time? All documentation
    that I can follow to use expdp/impdp to do the upgrade?

    (3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
    the value UTF8?

    Thanks in advance!

    (1) could as possible to convert the database to UTF8 value as part of the database
    upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?

    I do not. You must upgrade, and then convert the characters or convert then upgrade - you can save an SR to confirm this with the support of the Oracle.

    (2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
    with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
    Can I use expdp/impdp instead so I can convert the character at a time? All documentation
    that I can follow to use expdp/impdp to do the upgrade?

    Only DBUA is the way supported in Oracle EBS instance level. Please see this similar thread - Oracle EBS 11i Database Upgrade to 11 GR 2 - Upgrade method Support Manual is?

    (3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
    the value UTF8?

    Please see the documentation referenced in this thread - ADADMIN convert character set CUSTOM_TOP

    Thank you
    Hussein

  • IMP/exp utility will not work

    Hello world
    I have windows 7 64 bit, I installed oracle 10 g 2 and oracle 11G without obstacles or problems.
    recently I formatted and reinstalled the same windows, but when I install oracle 10 g 2 imp/exp utility does not work, and he just gave

    C:\Users\Ashraf\Oracle\product\10.2.0\db_1\BIN > imp
    Import: Release 10.2.0.1.0 - Production on Fri Apr 15 18:12:58 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    IMP-00058:
    IMP-00000: Import terminated unsuccessfully
    C:\Users\Ashraf\Oracle\product\10.2.0\db_1\BIN >

    any ideas? I thought virus, about reinstalled again a new to different drives, but the same...

    Thanks a lot guys

    Right-click on cmd.exe, then "Run as Administrator". After that command the class IMP.

  • IMP/exp and charactersets

    We have been important (not datapump) export with a provider, and it appeared at the top of the log file:
    import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses US7ASCII character set (possible charset conversion)
    Previously, we only used expdp/impdp and then only between our servers configured in the same way. What kind of problem that can create, if any?

    Thank you
    -= Chuck

    What kind of problem that can create, if any?

    NO result of problems

  • imp exp/full FUL grant allows select u / drop all tables... How to avoid this?

    Hi all

    We do nightly exp as our backup for certain pattern... and shell script we used the password hardcoded in the script system and we want to avoid this... so I try to create another user who can make exp/IMP... and what's my user statement like... to give full grant create imp exp/full...

    CREATE test USER
    IDENTIFIED BY THE VALUES OF 'PASS '.
    DEFAULT TABLESPACE USERS
    TEMPORARY TEMP TABLESPACE
    DEFAULT PROFILE
    RELEASE OF ACCOUNT;
    -3 roles for test
    GRANT IMP_FULL_DATABASE TO test.
    GRANT CONNECT TO test;
    GRANT permission TO test;
    Test of ALTER USER DEFAULT ROLE;
    -1 privilege system for test
    GRANT UNLIMITED TABLESPACE TO test;

    but now, here's the thing... This test user is able to query every single table in any schema... or drop something... . How can I stop that...

    all I want to do for test user is exp/imp and nothing else... the user can select on any table but cannot modify or drop whatever it is... what according to give for it? some exp/IMP...

    If not, how can I avoid hard codding the password in my shell script? Can I have one parfile but then again who will need to have the password... and we try to avoid that...

    Anyone (with the appropriate privileges) can import the dump file later. You wouldn't need the TEST user to be able to import the file. If the only thing that the TEST user generates a FULL dump file = a, then the user would only need permission privileges. If the user does not have a full export because you're that concerned about a few diagrams, the user didn't even need permission privileges.

    Justin

Maybe you are looking for

  • Where can I find the settings of Firefox

    I want to warn the details being shared with third parties.

  • NO SOUND AFTER WINDOWS UPDATE 8

    Hello Please help me, lost after installing important updates for Windows Mobile 8, all audio sounds. I don't know what happened. Bearly need an audio. Thanks in advance.

  • How to use the Live hi fi s head on sony xperia play

    Hi all, I bought a new sony ericsson live hi fi helmet of America last month, at the moment I buy sony xperia mobile s on this butterfly. Direct hi fi: head series is not working for xpeia, is there any adapter is avaiible in the Indian market, pleas

  • The network is disconnected (and display problems too)

    Every day if I'm on my computer or not eventually at some point my network disconnects and refuses to reconnect. Finally he "reconnect" on its own, but it still will not let me connect to the internet. When I go to network and sharing Center and diag

  • Is impossible to activate Windows 7 Home Premium.

    Original title: Win 7 Activation. Hello I have an ASUS desktop computer that has WIN 7 HOME PREMIUM pre-installed. I needed to re - install due to several registry problems. I found the product key using 'magic jelly bean key finder' I had then an is