What are other thing should i consider using expdp and impdp

(11g express) r2 windows 2008 and also xp ( i installed it at two places for testing.)
i wanted to make backup of one schema
so i used expdp
please tel me is it ok or is there any thing more reliable to make backup of a schema and import(impdp) of a schema to any oracle database.
from window prompt
MKDIR c:\oraclexe\app\tmp
from sql plus
sqlplus SYSTEM/password
CREATE OR REPLACE DIRECTORY dmpdir AS ’c:\oraclexe\app\tmp’;
GRANT READ,WRITE ON DIRECTORY dmpdir TO hr;
from windows command line.
expdp SYSTEM/password SCHEMAS=hr DIRECTORY=dmpdir DUMPFILE=schema.dmp
LOGFILE=expschema.log
then following to import
impdp SYSTEM/password SCHEMAS=hr DIRECTORY=dmpdir DUMPFILE=schema.dmp
REMAP_SCHEMA=hr:hrdev EXCLUDE=constraint, ref_constraint, index
TABLE_EXISTS_ACTION=replace LOGFILE=impschema.log
2) pls tel me should i consider any thing else while exporting or importing.
3) i have removed EXCLUDE=constraint, ref_constraint, index because i need constrainta index etc.
so pls tel me why in documentation it is written.
yours sincerely
Edited by: 944768 on Mar 31, 2013 2:02 AM

Hi,
Yes, you can (should) remove exclude parameter if you like import all objects from export.
Here is example how you export full schema
expdp SYSTEM/password SCHEMAS=hr DIRECTORY=dmpdir DUMPFILE=hr.dmp LOGFILE=exp_hr.logAnd import it to another database
impdp SYSTEM/password SCHEMAS=hr DIRECTORY=dmpdir DUMPFILE=hr.dmp LOGFILE=imp_hr.logPlease note that you need create directory dmpdir to target database also.
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Similar Messages

  • What are the things taken care while using multiple suites?

    Hi all,
    I have created a plugin which sends the current file path to an url,
    its working fine with debugging in Visual studio 2005 and while it is added to the Adobe Illustrator its works only once.
    That is its sending the file path only for one file. While i tried for the second time its not working
    I am using following suits in my plugin
    AIDocumentSuite
    AIFilePathSuite
    AIActionManagerSuite
    AIUnicodeStringSuite
    AIURLSuite
    I am using the "AIURLSuite" for calling the url and it is calling the url multiple times while its used alone, and its only working once with the multiple suites.
    What are the things taken care while using multiple suites? , is it neccessary to release all variables and the suites after completing the task?
    Should they released in the same order in which they are acquired?
    Thanks in advance
    Sreejesh K V

    Hi,
    The problem was with the "sAIDocument->GetDocumentModified(mod);"
    The "GetDocumentModified" is crashing after  executing once, i just removed that statement , and now
    i am forcefully saving the document with out checking the modification status!
    Its working fine now!
    Could you please tell me how can we lock a plugin , or a particular function in a plugin.
    There is any specific standard to use the GetDocumentModified function?
    Thanks and Best Regards
    Sreejesh K V

  • Using expdp and impdp instead of exp and imp

    Hi All,
    I am trying to use expdp and impdp instead of exp and imp.
    I am facing few issues while using expdb. I have a Job which exports data from one DB server and then its imported so another DB server. Both DB servers are run on separate machines. Job runs on various clients machine and not on any of DB server.
    For using expdp we have to create DIRECTORY and as I understand it has to be created on DB server. Problem here is Job can not access DB Server or files on DB server. Also dump file created is moved by Job to other machines based on requirement( Usually it goes to multiple DB server).
    I need way to create dump files on server where job runs.
    If I am not using expdp correctly please guide. I am new to expdp/impdp and imp/exp.
    Regards,

    Thanks for quick reply ..
    Job executing expdb/impdp runs on Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    ORACLE server Release 11.2.0.2.0
    Job can not access the ORACLE server as it does not have privileges (In fact there is no user / password to access ORACLE server machines). Creating dump on oracle server and moving is not an option for this JOB. It has to keep dump with itself.
    Regards,

  • Upgrading using expdp and impdp

    I am upgrading from 10.2 to 11.1 by creating a new 11.1 db and then expdp from the 10.2 db and impdp to the 11.1 db. There is Oracle text installed and in use in the 10g db. Should I install the Oracle text in the 11.1 db first before I do a full impdp? Or install Oracle text and only do schema level impdp and ignore importing to ctxsys schema? I would like to know what's the correct way to do this w/o screwing up the text index on the application schema.
    Thanks.

    Hi,
    CTXSYS is never part of an export (think about that, it is the same as with SYS). Only Indexes used by schemas are exported. The best way to work with Oracle Text and an upgrade is to script the indexes before the export by using ctx_report.create_index_script. Make the export and import, and run afterwards the scripts for the text indexes. In the export the preferences for Text indexes are lost (not exported), so you can get in trouble if you need to change such indexes with preferences.
    Herald ten Dam
    http://htendam.wordpress.com

  • How to use expdp and impdp in lnux environment

    Hi .
    I want to export data using expdp in linux envirinment.pls give exaple how to get it.

    Here you are: http://www.oracle-base.com/articles/10g/OracleDataPump10g.php

  • How to use expdp and impdp in oracle 12c on a pluggable database

    Hi,
    I have a pluggable database in a container DB. I have to use expdp to export a table and later import the table into another pluggable database.
    How can i tell expdp to which pluggable database I want to connect?
    Thanks,
    Sarayu

    Then
    1. Add newpdb to  tnsnames.ora ?
    2. connect to pluggable database create a directory.
    sqlplus sys/<password>@newpdb as sysdba
    create or replace directory exp_dir as '/u01/app';
    grant read, write on directory exp_dir to scott;
    3. export emp table of scott user.  -- with sys user
    expdp directory=exp_dir dumpfile=TDUMP.DMP TABLES='SCOTT'.'EMP'
    username: sys@newpdb as sysdba
    password: <password>
    Regards
    Mahir M. Quluzade
    Paste here result.

  • I would like to buy used  Ipad 3gen 32 or 64 GB   .What are the things I should check for.(and how to check it) It is cash deal -no warranty.

    I would like to buy used Ipad 3 32 or 64 GB.It is cash deal and no warranty. What are the things I should check and how to do it ?

    Make sure it is in perfect working order before you turn over any money.
    Test connected to Internet.   Test Safari and several other apps for crashes.
    If it passes this test, it must now have find my iPhone turned off by the seller.   They must also remove the device from their iCloud account.  
    *****Please observe this.   If the seller can't turn off find my iPhone, then it is not his iPad to sell.   It will lock when you try to activate and will be worthless.****
    If this is the owner of the iPad he can also remotely erase the iPad with iCloud.
    http://support.apple.com/kb/HT5661

  • Under Option Summary, the usage includes AUDIO, PHOTOS, APPS and OTHERS. What are the things included in OTHERS? It is using up my storage space.

    Under Option Summary, the usage includes AUDIO, PHOTOS, APPS and OTHERS. What are the things included in OTHERS? It is using up my storage space. Can someone please help?

    To add to Nick's comments, "Other" is typically approximately 1 gigabyte.  Occasionally for some users, it gets much (many times) bigger because they have some corrupt files.  If that's the case, it's best to restore the iPhone.
    Plug the iPhone into (current) iTunes, let it sync, then choose "Restore" on the right.  If restoring from the iPhone backup does not help, then restore (again) as new and then manaully sync the iPhone.

  • What are the things to be tested in sap xi server before going to use th

    1) what are the things to be tested in sap xi server before going to impliment first interface?
    2)what are prerequisites to be configured in xi server before implementing first interface?
    ragards

    Hi Dhanush,
    >>>>><i>1) what are the things to be tested in sap xi server before going to implement first interface?</i>
    >>>>><i>2)what are prerequisites to be configured in xi server before implementing first interface?</i>
    For both of your question the answer would be
    1. Check all the Post installation configuration has been done properly, with the help of the following links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/95d7d490-0301-0010-ce93-c58f9a3cde0b
    http://help.sap.com/bp_bpmv130/Documentation/Installation/Configuration_Guide_FP.pdf
    2. Make sure the latest BASIS Component have been imported into your design time environment
    After this you can start  developing your first interface
    Regards
    Ramesh P

  • What are the major issues to consider in code review? Or performance analys

    What are the major issues to consider in code review? Or performance analysis?

    I would not recommend you to try to optimize performance by checking the coding.
    There is the code inspector which can do all which makes sense automatically.
    The above mentioned points are not the real issues.
    Instead of code review you should execute test cases and measure the exection time.
    1. With STAD if you want to get good time measurement
    2. With SE30 and ST05, if you want to have data for further anaylsis.
    Check total time (SE30), check whether DB part is large, then go to SQL trace. Do the check mentioned here
    /people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy
    to find the SQL bottlenecks.
    The major point about SQL problems is index support, if there is no proper index support then the performance will be poor. Be aware, that problems are only visible, if you tables are filled.
    In a test system where you have very little data, you will never encounter performance problems.
    Check also the Top10 of the SQ30 hit list.
    Be aware that a proper performance analysis is not a 5 minutes job.
    Siegfried

  • What are the things we need to take care while moving from 11g to 12c.

    Dear All,
    One of my client having the application running on 11g and now he wants to move it on 12c.
    Now he is asking to me that, what are the things will not work or impacted due to this. Any code level changes, syntax, functions etc are working in 11g and now there is difference or not working in 12c. Could you please help me in this.
    Is there any document for all these thing. I searched on google but not able to find any specific doc.
    Thanks in advance.
    Regards,
    ganesh

    Gaurav_91 wrote:
    Hi,
    Moving from 11g to 12c will not impact anything.
    Database in 11g will now act as PDB's in 12c.
    And what makes you say so? What about the changes/fixes done in the optimizer that would alter the plans? What about if the client wants to use in-memory database option? And your statement that database in 11g will now act as PDB in 12c doesn't make any sense. What if the client is not willing to move to multitenancy? What about the scripts that are running in 11g without any issues and suddenly, will break in 12c  due to PDB's ? Do you have any technical reference to validate your claim that there won't be any impact ?
    Aman....

  • What are the things we need to install on client desktop?

    Hi all
    I will need to install Peoplesoft Enterprise. However, for my part I will need to try to install it into serveral clients but connect it to a database. Which means that the main database is not in my com but in another com, is it possible that I can still install in my computer without a database and connect my com to the main com database? And I will also like to know what are the things I will need to install or configure into my computer which has no database. Such as do I need to configure PIA, WebLogic Server and etc. Can anyone please help me. I really need help and assistant in doing it.
    Thanks

    The database has been installed and configured with a given Peopletools version, say 8.52.x. You have to have the same version onto your local machine.
    And since you want only third tier connection, no need to have any database client.
    PIA is a server process to make front end users be able to connection onto the application using their own browser.
    AppServer is a server process allowing people to connect in a 3tier mode, and which manage all the Peoplesoft thingy, exclusively to run on the server to make it available for all.
    Batch Server, same as AppServer, exclusively on server side to make job process running out there. Not on any client.
    Consequently, download the Peopletools (same version as the Peoplesoft database), configure the 3tier connectivity within the Configuration Manager and enjoy PSoft.
    Nicolas.

  • What are the things to check after full imp in 10g?

    Dear all,
    Source
    =======
    OS server ==> HP-UX
    Oracle version ==> Oracle 9.2.0.8
    DB Name ==> MSST
    DB total users ==> 320
    Full export in ==> /u02/export/Jan09.dmp
    Tablespaces ==> SC, SC_I, SA, SA_I, PP, PP_I, AC, AC_I, SD
    Destination
    ============
    OS server ==> HP-UX
    DB Name ==> CHDB
    Existg DB users ==> 20
    Oracle version ==> Oracle 10.2.0.4
    copied 9i dump file in ==> /u03/export
    Tablespaces created same as Oracle 9i i.e;
    Tablespaces ==> SC, SC_I, SA, SA_I, PP, PP_I, AC, AC_I, SD
    I had run full import on Destination server i.e; Oracle 10g & following is the command i used:
    imp system/pwd@conn_string file=/u03/export/Jan09.dmp log=/u03/export/Jan09_imp.log full=y ignore=y statistics=none
    Imported successfully with few errors like
    Now my question is
    ===================
    How to check everything is same/similar like Oracle 9i database ( source ), for example ( i used this technique ):
    What are the things to check after full imp in 10g?
    MSST_DB>SHOW USER
    MSST_DB>SA
    MSST_DB>select object_type, count(*) from user_objects group by objects;
    OBJECT_TYPE COUNT(*)
    DATABASE LINK 2
    FUNCTION 23
    INDEX 1795
    LOB 6
    PACKAGE 8
    PACKAGE BODY 8
    PROCEDURE 30
    SEQUENCE 67
    SYNONYM 60
    TABLE 644
    TRIGGER 3
    VIEW 20
    CHDB_DB>SHOW USER
    CHDB_DB>SA
    CHDB_DB>select object_type, count(*) from user_objects group by objects;
    OBJECT_TYPE COUNT(*)
    INDEX 1794
    PROCEDURE 30
    TABLE 644
    TRIGGER 3
    VIEW 20
    FUNCTION 23
    SYNONYM 60
    PACKAGE BODY 8
    SEQUENCE 67
    PACKAGE 8
    LOB 6

    What are the things to check after full imp in 10g?Only public database links which are in use by your these users which you export/import (Only if you did user level export/import and not DB level).
    If you log files does not show error during creation of any object, you don't need to double check any thing. Otherwise do on with the method which you mentioned by counting the objects.
    Or you can create a database link from source to destination and use a query with MINUS to find out if there is any object missing
    select object_name,object_type from user_objects
    MINUS
    select object_name,object_type from user_objects@destination_database;Salman

  • What version of Captivate should I be using with Windows 8.1?

    What version of Captivate should I be using with Windows 8.1? What versions are compatible? Are there any issues running Captive on a Windows 8.1 machine?

    Have you encourtered any issues, such as the preview through the browser not working?

  • 0.41GB of my iPod Touh 4G' is taken up by something called 'Others'. What are 'Others' and can they be deleted or are they an essential part of the iPod and embedded in it? If not essential how do I go about deleting it to enable me to add other pictures

    0.41GB of my iPod Touch 4G's capacity is taken up by something callked 'Others'. What are 'Others' and will it be o.k to delete them? If so how do I go about doing it as there is no trace of a file on either iTunes or my iPod?

    Other content is typically miscellaneous data used by applications you have installed - could be save data (e.g. for games), or documents you've created. There's no easy way to determine precisely what it is, but the only way to clear it is to either delete it from within the respective application, or remove the associated application altogether - neither of which are typically practical.

Maybe you are looking for