EXPDP/IMPDP run simultaneously

Are there any foreseeable problems running expdp and impdp contemporaneously? I'd imagine that 10g could handle it, but maybe there may be some sort of deadlock issues. Purely theoretical situation.
Captain Obvious: "Be kind, he's a newbie."

I had an import running that bumped up against a known bug that caused it to take a long time to complete. I was worried that it might cause a problem when the scheduled export kicked off later tonight. Is it that the dump that is being imported, was supposed to be in the export dump scheduled later. If yes, then only those tables which have been imported, till the point of the time at which the export starts and export that particular table is going, will be exported.
But if import is finished, then you will get all the tables/objects in the exp dump.
Anand
Edited by: Anand... on Oct 16, 2008 5:24 AM

Similar Messages

  • Expdp / impdp - Private synonyms using DB link not imported

    Hi
    I'd appreciate any help with this.
    We are taking an export (expdp) of a database on Oracle EE 10.2.0.3 in Prod and then importing it into an identical DB on 10.2.0.5 in Dev.
    I doubt the minor version difference is an issues, but I mention it for completeness.
    Our expdp in prod used to look like this:
    expdp agdba/x directory=DATA_PUMP_DIR dumpfile=X.DMP logfile=X.LOG schemas=A,B,C,D
    We have changed it to:
    expdp agdba/x directory=DATA_PUMP_DIR dumpfile=X.DMP logfile=X.LOG full=y EXCLUDE=SCHEMA:"IN ('E', 'F')"
    ( so basically do a full export, but exclude schemas E & F )
    The impdp in dev has not changed (we import one schema at a time):
    impdp agdba/x DUMPFILE=X.DMP LOGFILE=imp_X.LOG SCHEMAS=A DIRECTORY=DATA_PUMP_DIR TABLE_EXISTS_ACTION=SKIP
    DB user AGDBA has been granted the DBA role...
    The Issue:_
    Private synonyms that use a DB link are NOT imported, but private synonyms that do NOT use a DB link ARE imported.
    I can fix the issue by simply recreating the private synonyms using the DB link - e.g.:
    CREATE SYNONYM EVENTLOGTBL FOR EVENTLOGTBL@FCISTOSMS;
    Things were working fine until we change the expdp to use FULL. I see a few posts about synonyms and FULL=Y issues, but nothing quite like our problem.
    Any ideas?
    Thanks,
    Andreas

    Andreas Hess wrote:
    So the problem is expdp FULL=Y for some reason does not export synonyms that refer to objects via DB links. I doubt that ... More than few times a week I refresh non-prod databases from a prod db, (it is schema level export not FULL=Y), and two of the schema own db links, and others have synonyms pointing to them. I have never encountered synonym problem (except that if db_links are invalid then impdp takes extremely long time to timeout while compiling pl/sql code.). We normally change db_links after the impdp is done, or (while it is importing table via another session).
    I just re-ran sqlfile option with include=db_link,synonym option and i can see statements that create synonyms and create db links.
    However i think the order in which impdp runs might be the source of your problem ... see this
    Starting "ME"."SYS_SQL_FILE_SCHEMA_01":  ME/******** dumpfile=xxxx.%u.dmp directory=xxxx_exp schemas=schema1,schema2,schema3 sqlfile=schema.sql include=db_link,synonym
    Processing object type SCHEMA_EXPORT/SYNONYM/SYNONYM       <<<< Synonyms are created first
    Processing object type SCHEMA_EXPORT/DB_LINK               <<<< db_links come later
    Job "ME"."SYS_SQL_FILE_SCHEMA_01" successfully completed at 08:32:02So, it is conceivable that if you drop synonyms/db_links from your schemas before impdp, some synonyms will fail to create properly. This could be a version specific issue, mine is 11.2 and I don't see failures for synonym creation, i.e. no error messages while impdp. Next time you could try to drop objects except db_links and see if you still have the same issue.
    Raj

  • XE11: expdp/impdp

    Hello,
    i would like to use expdp and impdp.
    As i installed XE11 on Linux, i unlocked the HR account:
    ALTER USER hr ACCOUNT UNLOCK IDENTIFIED BY hr;
    and use the expdp:
    expdp hr/hr DUMPFILE=hrdump.dmp DIRECTORY=DATA_PUMP_DIR SCHEMAS=HR
    LOGFILE=hrdump.log
    This quits with:
    ORA-39006: internal error
    ORA-39213: Metadata processing is not available
    The alert_XE.log reported:
    ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB"
    ORA-06550: line 1, column 807:
    PLS-00201: identifier 'DBSNMP.BSLN_INTERNAL' must be declared
    I read some entries here and did:
    sqlplus sys/******* as sysdba @?/rdbms/admin/catnsnmp.sql
    sqlplus sys/******* as sysdba @?/rdbms/admin/catsnmp.sql
    sqlplus sys/******* as sysdba @?/rdbms/admin/catdpb.sql
    sqlplus sys/******* as sysdba @?/rdbms/admin/utlrp.sql
    I restarted the database, but the result of expdp was the same:
    ORA-39006: internal error
    ORA-39213: Metadata processing is not available
    What's wrong with that? What can i do?
    Do i need "BSLN_MAINTAIN_STATS_JOB" or can this set ro FALSE?
    I created the database today on 24.07. and the next run for "BSLN_MAINTAIN_STATS_JOB"
    is on 29.07. ?
    In the Windows-Version it is working correct, but not in the Linux-Version.
    Best regards

    Hello gentlemen,
    back to the origin:
    'Is expdp/impdp working on XE11'
    The answer is simply yes.
    After a view days i found out that:
    - no stylesheets installed are required for this operation
    - a simple installation is enough
    And i did:
    SHELL:
    mkdir /u01/app > /dev/null 2>&1
    mkdir /u01/app/oracle > /dev/null 2>&1
    groupadd dba
    useradd -g dba -d /u01/app/oracle oracle > /dev/null 2>&1
    chown -R oracle:dba /u01/app/oracle
    rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm
    /etc/init.d/./oracle-xe configure responseFile=xe.rsp
    ./sqlplus sys/********* as sysdba @/u01/app/oracle/product/11.2.0/xe/rdbms/admin/utlfile.sql
    SQLPLUS:
    ALTER USER hr IDENTIFIED BY hr ACCOUNT UNLOCK;
    GRANT CONNECT, RESOURCE to hr;
    GRANT read, write on DIRECTORY DATA_PUMP_DIR TO hr;
    expdp hr/hr dumpfile=hr.dmp directory=DATA_PUMP_DIR schemas=hr logfile=hr_exp.log
    impdp hr/hr dumpfile=hr.dmp directory=DATA_PUMP_DIR schemas=hr logfile=hr_imp.log
    This was carried out on:
    OEL5.8, OEL6.3, openSUSE 11.4
    For explanation:
    We did the style-sheet-installation for XE10 to have the expdp/impd functionality.
    Thanks for your assistance
    Best regards
    Achim
    Edited by: oelk on 16.08.2012 10:20

  • EXP/IMP..of table having LOB column to export and import using expdp/impdp

    we have one table in that having colum LOB now this table LOB size is approx 550GB.
    as per our knowldge LOB space can not be resused.so we have alrady rasied SR on that
    we are come to clusion that we need to take backup of this table then truncate this table and then start import
    we need help on bekow ponts.
    1)we are taking backup with expdp using parellal parameter=4 this backup will complete sussessfully? any other parameter need to keep in expdp while takig backup.
    2)once truncate done,does import will complete successfully..?
    any SGA PGA or undo tablespace size or undo retention we need to increase.. to completer susecfully import? because its production Critical database?
    current SGA 2GB
    PGA 398MB
    undo retention 1800
    undo tbs 6GB
    please any one give suggestion to perform activity without error...also suggest parameter need to keep during expdp/impdp
    thanks an advance.

    Hi,
    From my experience be prepared for a long outage to do this - expdp is pretty quick at getting lobs out but very slow at getting them back in again - a lot of the speed optimizations that may datapump so excellent for normal objects are not available for lobs. You really need to test this somewhere first - can you not expdp from live and load into some test area - you don't need the whole database just the table/lob in question. You don;t want to find out after you truncate the table that its going to take 3 days to import back in....
    You might want to consider DBMS_REDEFINITION instead?
    Here you precreate a temporary table (with same definitiion as the existing one), load the data into it from the existing table and then do a dictionary switch to swap them over - giving you minimal downtime. I think this should work fine with LOBS at 10g but you should do some research and see if it works fine. You'll need a lot of extra tablespace (temporarily) for this approach though.
    Regards,
    Harry

  • Log file's format in expdp\impdp

    Hi all,
    I need to set log file format for expdp\impdp utility. I have this format for my dump file - filename=<name>%U.dmp which generates unique names for dump files. How can i generate unique names for log files? It'd better if dump file name and log file names will be the same.
    Regards,
    rustam_tj

    Hi Srini, thanks for advice.
    I read doc which you suggest me. The only thing which i found there is:
    Log files and SQL files overwrite previously existing files.
    So i cant keep previos log files?
    My OS is HP-UX (11.3) and database version is 10.2.0.4
    Regards,
    rustam

  • Expdp/impdp :: Constraints in Parent child relationship

    Hi ,
    I have one table parent1 and tables child1, child2 and chld3 have foreign key created on this parent1.
    Now I want to do some deletion on parent1. But since number of records are very high on parent1 , we are going with expdp / impdp with querry option.
    I have taken query level expdp on parent1. Now I dropped parent1 with cascade constraints option and all the foreign keys created by child1 ,2 and 3 which references parent1 are automatically dropped.
    Now If i fire the impdp for the query level dump file , will these foreign key constraints will get created automatically on child1 ,2 and 3 or I need to manually re-create it ??
    Regards,
    Anu

    Hi,
    The FK's will not be in the dumpfile - see the example code below where i generate a sqlfile following pretty much the process you would have done. THis is because the FK is part of 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;
    /Regards,
    Harry
    http://dbaharrison.blogspot.com/

  • System generated Index names different on target database after expdp/impdp

    After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different names on the target database, which caused a major issue with GoldenGate. Could anyone provide any tricks on how to perform the expdp/impdp and have the same system index name generated to be the same on both source and target?
    Thanks in advance.
    JL

    While I do not agree with Sb choice of wording his solution is correct. I suggest you drop and recreate the objects using explicit naming then you will get the same names on the target database after import for constraints, indexes, and FK's.
    A detailed description of the problem this caused with Golden Gate would be interesting. The full Oracle and Golden Gate versions is use might also be important to the solution, if one exists other than explicitl naming.
    HTH -- Mark D Powell --
    Edited by: Mark D Powell on May 30, 2012 12:26 PM

  • I have several firefox tasks running simultaneously but when I try to access a site, it opens in another task, not the one I am currently using.

    On my task bar I have several copies of firefox running simultaneously - I need this for work. Recently, however, when I access one of these and go to a new web site, firefox opens the web site in one of the other tasks instead of opening a new tab in the current one. It's probably some setting but I can't correct it. Can you help? Thanks in advance.

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies
    See also http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • Firefox 3.6.10 on WinXP spontaneously shuts down without warning after a certain time, whether or not the Internet is in active use, without disrupting or otherwise affecting any non-Internet programs running simultaneously.

    Ffox 3.6.10 on a Compaq Evo N8OOv began spontaneously shutting down w/o warning, closing all Internet applications w/ot affecting the operation of the computer, including non-Internet programs running simultaneously. Avira AntiVir Personal and with Spybot gave no hits suggesting infection.

    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * [[Firefox crashes]]
    Your above posted system details show multiple Java Console extensions.
    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension as you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    See also http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0
    Disable the Java Quick Starter extension: Tools -> Addons -> Extensions
    Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)

  • Expdp+Impdp: Does the user have to have DBA privilege?

    Is a "normal" user (=Without DBA privilege) allowed to export and import (with new expdp/impdp) his own schema?
    Is a "normal" user (=Without DBA privilege) allowed to export and import (with new expdp/impdp) other (=not his own) schemas ?
    If he is not allowed: Which GRANT is necessary to be able to perform such expdp/impdp operations?
    Peter
    Edited by: user559463 on Feb 28, 2010 7:49 AM

    Hello,
    Is a "normal" user (=Without DBA privilege) allowed to export and import (with new expdp/impdp) his own schema?Yes, a User can always export its own objects.
    Is a "normal" user (=Without DBA privilege) allowed to export and import (with new expdp/impdp) other (=not his own) schemas ?Yes, if this User has EXP_FULL_DATABASE and IMP_FUL_DATABASE Roles.
    So, you can create a User and GRANT it EXP_FULL_DATABASE and IMP_FULL_DATABASE Roles and, being connected
    to this User, you could export/import any Object from / to any Schemas.
    On databases, on which there're a lot of export/import operations, I always create a special User with these Roles.
    NB: In DataPump you should GRANT also READ, WRITE Privileges on the DIRECTORY (if you use "dump") to the User.
    Else, be accurate on the choice of your words, as previously posted, DBA is a Role not a Privilege which has another meaning.
    Hope this help.
    Best regards,
    Jean-Valentin

  • What causes multiple "plugin-container.exe" to run simultaneously?

    I sometimes have up to four "plugin-containers" running simultaneously. What causes that AND what are the possible ramifications of that?

    plugins like flash & java etc that are currently running on sites are outsourced into the plugin-container.exe-process that you've discovered for performance and stability reasons - you can have a look at your currently installed plugins in tools > addons > plugins & disable those you don't need.
    in one of the upcoming releases firefox will ship with a feature that allows you to enable plugins on vistited sites on a per-demand basis, [https://wiki.mozilla.org/Opt-in_activation_for_plugins]
    ''edit - also see [[What is plugin-container]]''

  • Prevent two instances of an application running simultaneously

    Hi,
    This is the code which I use to prevent two instances of an application running simultaneously.
    public void init()
              new Thread(new Runnable() {
                   public void run() {
                   try
                        ServerSocket socket = new ServerSocket(9876);
                        socket.accept();
                   catch (Exception ex)
                       // already running
                        System.out.println("Socket Exception"+ex);
                       System.exit(0);
                   }}).start();
    }This code is not working for mac. Please help with a solution/alternative.
    Regards,
    Rony

    codingMonkey wrote:
    If this is an applet, at least call super.init() in your init() method, though it would probably be better to rename the method.Aside from the fact that I hope the applet is signed, or he can't get a socket of any kind anyway. And it makes the calling of accept that much worse, as now he is opening a port to a client machine (unbeknownst to the user).

  • [ETL] TTS vs expdp/impdp vs ctas (dblink)

    Hi, all.
    The database is oracle 10gR2 on a unix machine.
    Assuming that the db size is about 1 tera bytes (table : 500 giga, index : 500 giga),
    how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ?
    As you know, the speed of etl depends on the hardware capacity. (io capacity, network bandwith, the number of cpu)
    I just would like to hear general guide from your experience.
    Thanks in advance.
    Best Regards.

    869578 wrote:
    Hi, all.
    The database is oracle 10gR2 on a unix machine.
    Assuming that the db size is about 1 tera bytes (table : 500 giga, index : 500 giga),
    how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ?
    As you know, the speed of etl depends on the hardware capacity. (io capacity, network bandwith, the number of cpu)
    I just would like to hear general guide from your experience.
    Thanks in advance.
    Best Regards.http://docs.oracle.com/cd/B19306_01/server.102/b14231/tspaces.htm#ADMIN01101
    Moving data using transportable tablespaces is much faster than performing either an export/import or unload/load of the same data. This is because the datafiles containing all of the actual data are just copied to the destination location, and you use an export/import utility to transfer only the metadata of the tablespace objects to the new database.
    If you really want to know "how much faster" you're going to have to benchmark. Lots of variables come in to play so best to determine this in your actual environment.
    Cheers,

  • Expdp impdp - redo generation?

    Friends...
    Oracle 11gr2 SE
    OS: Linux
    I did tried to search in documentation but couldn't find answer.
    I'm dropping some tables but before that exporting them for backup, db is in archivelog mode.
    Before dropping tables, trying to find whether expdp job generates lots of redo or not since file system only have 20 GB of free space.
    Question.
    1. If I'm performing expdp of some tables with the size of 80 GB (table size.. index not included), does expdp will generate similar amount of redo or will it generate lots of redo?
    2. Does impdp job also generate lots of redo or only during index creation in impdp?
    thanks,
    Mike

    Export do NOT generate any redo. It's just dumping data into files in binary format. Very minimal redo just to maintain data export dump table but very very minimal. IF I have to guess no more than 1 MB.
    Import does generate redo logs. Imports run 'Insert' statement behind the scenes and it does generate lot of redo logs. You can use sqlfile to create index definition and than run it manually with NOLOGGING which will reduce some redo. something like
    impdp user/password exclude=indexes -- this will import everything but indexes.
    impdp user/password include=index sqlfile=index.sql -- this will create a file called index.sql that will contain all of the create statements for the indexes

  • Synonyms Error while EXPDP/IMPDP

    Hi Firends..
    I have to refresh my UAT DB with my Prod DB while doing so i always have to recreate the synonyms and also have to grant the priveleges once again on the target DB.
    As i am using EXPDP to backup my DB and as this being a logical backup and a logical backup means the objects which includes synonyms as well, are backed up and then during import this should be recreated in the target DB.
    Following are the command that i am using:
    expdp dumpfile=file_name.dmp logfile=logfile_name.log schemas=abc_liv directory=DATA_PUMP_DIR status=100 exclude=statistics
    impdp dumpfile=file_name.dmp logfile=logfile_name.log remap_schema=abc_liv:abc directory=DATA_PUMP_DIRwhere:
    abc_liv = prod schema
    abc = uat schema
    Note:
    UAT and Prod DB both has three schemas each and there are lots of dependencies among the three schemas.
    UAT schemas names are different and Prod schemas names are different.
    Kindly enlighten me...
    BR

    Thanks Guys,
    OS:RHEL 64 bit
    DB:11.2.0.2 64 bit SE
    I do drop the entire schema and then recreate the same schema. Following is the command that i use:
    drop user schema_name cascade;As the cascade keyword is used, all the schema objects are also dropped along with the user and then i have a fresh schema of the same name which is dumped with the data of the Prod DB.
    Following are the errors that i am getting during Import:(Too many errors)
    ALTER_PACKAGE_SPEC:"schema_name"."PKG_LMS_ALO_PKG_MAIN" created with compilation warnings
    ORA-39082: Object type ALTER_PACKAGE_SPEC:"schema_name"."PKG_REROUTE_MASTERS" created with compilation warnings
    ORA-39082: Object type ALTER_PACKAGE_SPEC:"schema_name"."PKG_WF_GLOBAL_VARIABLES" created with compilation warnings
    Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CHECKDUPLICAT" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CHG_FUN_GET_CHARGE_DETAILS" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CHG_FUN_GET_CHGBASIS_DESC" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CHG_FUN_GET_PENAL_APPLIC_YN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."CPF_FUN_EXT_AGENCY_OTHER" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."DOC_FUN_GETSMDESC" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUNCTION_SET_EXPECTEDAPPRDATE" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUNCTION_SET_EXPECTEDFIDATE" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ACTIVITY_COMPLETED_YN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ACTIVITY_DONEYN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ACTUAL_DISB_DONE_YN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ADD_UPD_EXP" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ADV_INSTALL_DISPLAY_YN" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."WFS_GET_USER_MODULE_SPECIFIED" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."WF_FUN_GET_AVL_PARAM_DETAILS" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."WF_FUN_GET_NO_OF_CASES" created with compilation warningsProcessing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."ADD_PARAMETER" created with compilation warningsORA-39082: Object type ALTER_PROCEDURE:"schema_name"."CHECK_APPL_IMPACT_PERF_REROUTE" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."CHECK_FAULT" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."FEE_WAIVER_REQ_M_YN" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."FIND_DEDUP_MATCH" created with compilation warningsORA-39082: Object type ALTER_PROCEDURE:"schema_name"."FIND_DEDUP_MATCH_APPL" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."GENERATE_ENVELOPE" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."GENERATE_TRNAUDIT_LOG" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."GET_DOCUMENTS_FORADDITION_XML" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."GET_DOCUMENTS_FORWAIVER_XML" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_CMPSUM_OUTSTPORTFOLIO" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_CUST_OS_EXP_SUM" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_FUTURE_INFLOWS" created with compilation warningsORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_INTEREST_CERTIFICATE" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_NONSTARTERCASE_DET" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_NONSTARTERCASE_SUM" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_ODPREEMI_EMISUMMARY" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LMSRSP_SHORT_PDC_REPORT" created with compilation warningsORA-39082: Object type ALTER_PROCEDURE:"schema_name"."LOS_BATCH_PROCEDURE" created with compilation warnings
    ORA-39082: Object type ALTER_PROCEDURE:"schema_name"."PC_CALC_RISK_PARAMETERS" created with compilation warnings
    ORA-39082: Object type ALTER_FUNCTION:"schema_name"."FUN_ALLOC_SPFC_USER" created with compilation warnings
    ORA-39082: Object type
    CHEMA_EXPORT/VIEW/VIEWProcessing object type SCHEMA_EXPORT/VIEW/GRANT/OWNER_GRANT/OBJECT_GRANT
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_ASSET" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_ASSETTYPE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_ASSET_TYPE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_ASTCLASS" created with compilation warningsORA-39082: Object type VIEW:"schema_name"."AST_VEW_ATTR_MAPPING" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_EXT_AGENCY" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."AST_VEW_VEHICLE_TYPE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."BASE_SEC_MST_USERPROFILE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_RPT_VEW_CHGBASISCODE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_RPT_VEW_TAX_DETAILS" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_ACC_BOOKS" created with compilation warningsORA-39082: Object type VIEW:"schema_name"."CHG_VEW_ACC_METHOD" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_AMORT_METHOD" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_CALC_BASIS" created with compilation warnings
    ORA-39082: Object type
    VIEW:"schema_name"."CHG_VEW_CALC_FROM" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_CALC_TYPE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_CHG_RECOMODE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_EVENT" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEES" created with compilation warningsORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEES_RANGE" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEE_ACC_DETAILS" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEE_DETAILS" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."CHG_VEW_FEE_MST_DETAILS" created with compilation warnings
    ORA-39082: Object type IEW:"schema_name"."V_LMS_CHEQUE_BOUNCE_LETTER" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."V_LMS_ACCRUED_INCOME_REPORT" created with compilation warnings
    ORA-39082: Object type VIEW:"schema_name"."V_LMS_REPAY_FREQ" created with compilation warnings
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."AST_PKG_ASSET" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."CHG_PKG_API" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."DOC_PKG_DOCUMENT" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."EXT_PKG_EXT_AGENCY" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ACCOUNT" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ACCOUNTING" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ADV_ALLOCATION" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ALLOCATION" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_ASSET" created with compilation warningsORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_BASE_SEC_AUDIT" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_CHARGES" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_CRS_XML" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_DDP_MAIN" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_EODDETAILS" created with compilation warnings
    ORA-39082: Object type PACKAGE_BODY:"schema_name"."PKG_EOD_PROCESS" created with compilation warnings
    ORA-39082: Object type
    TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_BUSINESS_IN" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_BUSINESS_IN" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_ADDRESS_DETAILS" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_ADDRESS_DETAILS" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_EMPLOYMENT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_EMPLOYMENT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_LIABILITIES" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_APPLICANT_LIABILITIES" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_SUBPRODUCT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_SUBPRODUCT" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_ORG_APPLICANT_DETAILS" created with compilation warnings
    ORA-39082: Object type TRIGGER:"schema_name"."TRNTRG_T_ORG_APPLICANT_DETAILS" created with compilation warnings
    Processing object type SCHEMA_EXPORT/JOB
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1687 error(s) at 17:32:05Once the import is done, I recreate the synonyms and also give the required grants and then i get around 1750 invalid objects in the DB and when i run the UTLRP to compile the objects the invalid count is reduced to 89..
    BR
    Edited by: user12045405 on 11 Jul, 2012 5:28 AM
    Edited by: user12045405 on 11 Jul, 2012 5:29 AM

Maybe you are looking for

  • Settings are not saved.

    Every time i start the computer it's like if i'm doing it for the first time, and i have to set it up again. mouse configuration, apps in the dock, Apple ID... But all software installed still there and works good. how can i solve this?

  • Using the shared review function with a Captivate including Edge animations

    Hello, We are working on a Captivate (Captivate 8) project that includes several modules of which many of the slides have animations created using Edge. We would like to utilize the shared review but when I publish the course and view the course in t

  • Deploy process in Oracle BPM Enterprise.

    Hi, I have a process which i have developed in Oracle BPM studio. Now I need to deploy this process in Oracle BPm Enterprise version. The other problem is how to access this process from enterprise. Where all the roles and participants maintained. I

  • Disk/Permissions Repaired, User Info/Data Lost

    This is my first mac, switched from windows a few months back. Today my machine crashed severely (while working in ical), so I did a hard reboot. When the machine came back on, there was an icon in the middle of the screen alternating btw a ? and a f

  • Communication between Frames

    Hi, I am trying to write a GUI Application, import javax.swing.JFrame; import java.awt.BorderLayout; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import jav