Refresh using exp/imp

Hi All,
I need to refresh one of my development database using exp/imp utility,i did refreshing using the copy datafiles but new to this ,i have gone thru this forum and did some search on google too but the part that am not getting is suppose my development db already created with same tablespaces name and size and containes every schema as that of source and has data in it which is refreshed earlier, so do i need to wipe out everything and do it right from scratch(create db,tablespace,users) or just wipe out tables and import with (ignore=Y) .Any feedback would be apperciated.
Thanks

<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">>> do i need to wipe out everything and do it right from
scratch(create db,tablespace,users)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Well you have choices, and you can do whatever you want,
but there are some “best practices”.  I’m assuming that you are copying your
PROD database into DEV (a great practice to have a full-sized production system
the TEST and DEV):</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">- You can restore PROD into TEST using RMAN.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">- You can use the
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://download-east.oracle.com/docs/html/B16227_02/oui7_cloning.htm">
Oracle Universal Installer</a> to clone a database.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">- You can “<a style="color: blue; text-decoration: underline; text-underline: single" href="oracle_tips_db_copy.htm">clone
the whole database</a>”, moving the current datafiles and recreating the
instance</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">- You can export from PROD, truncate the tables in DEV
(after a backup) and import IGNORE=Y.  This can be very slow, especially for a
large database.  However, there are some
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1240595435323">
tips to speed-up imports</a>.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Check the
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://search.oracle.com/">
Oracle docs</a>.  Also, Dave Moore has a book on
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://www.amazon.com/Oracle-Utilities-Programs-Oradebug-Dbverify/dp/0972751351">
Oracle Utilities</a> that you might like.</p>
Hope this helps . . . .
Don Burleson
<p>
www.dba-oracle.com

Similar Messages

  • Schema Refresh using exp/imp.

    Hello All,
    I want to perform Schema Refresh of SAMPLE user from producation to Testing envrionment using export/import.
    Cud u plz tell what is the command to perform it ?
    Also Cud anyone plz tell me whether same user(SAMPLE) in Test environment gets dropped before Import done.
    Can i Perform the exp/imp using sys/system or user SAMPLE?

    tvenkatesh07 wrote:
    Hello All,
    I want to perform Schema Refresh of SAMPLE user from producation to Testing envrionment using export/import.
    Cud u plz tell what is the command to perform it ?
    Also Cud anyone plz tell me whether same user(SAMPLE) in Test environment gets dropped before Import done.
    Can i Perform the exp/imp using sys/system or user SAMPLE?If you're runnnig 10g, then use Data Pump and read the documentation:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1007466
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#i1007653
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • Database upgrade from 8i to 10g using exp/imp

    Dear Friends,
    Please provide the steps to upgrade from 8i to 10g using exp/imp.
    Thanks,
    Rathinavel

    Hi;
    Please also see cold backup option
    How to migrate from 8i to 10g to new server using cold backup [ID 742108.1]
    Also see:
    Upgrading from 8i to 10g with import utility
    http://searchoracle.techtarget.com/answer/Upgrading-from-8i-to-10g-with-import-utility
    Regard
    Helios

  • Using exp/imp to clone a database from Solaris to NT

    Hi All,
    We have an 8.1.6 Oracle database in production under Sun Solaris.
    We actually use this database to run Siebel CRM system.
    We have a Windows NT server which we used as a QA system
    for this application.
    We have a daily full export of our production database on the
    Sun machine. Now my manager wants to import this production
    dmp file into this Win NT database on a weekly basis.
    The goal here is to maintain the state of this NT database
    as much functional and close to the production one as possible.
    I would appreciate your help on this.
    I have some other general question:
    in which case can the Oracle imp utility be run in the
    full=y mode ?
    does this make any sense at all ?
    since the Oracle import utility does not delete
    any existing objects before it imports, these objects
    should be deleted manually and that's what I do
    with all Siebel users schemas; of course I do not
    do this with SYS, SYSTEM and other special Oracle
    users; question: are there any objects in these
    special Oracle schemas that have to be carried over from
    the source database to the target database to
    make the rest of the schemas functional ?
    Somehow I failed to find Oracle documentation on how
    to use exp/imp to create a complete clone of an Oracle
    database.
    Can direct path be used with full=y export/import mode ?
    Thank you in advance,
    Yuriy.

    As an alternative to using daily/weekly exports and imports, what would probably be more effective here would be replication. The databases could synch on a nightly basis and updated tables and rows will be transferred from your OLTP system to your read-only system. More information can be found on replication from "Oracle8i DBA Handbook" by Kevin Loney and Marlene Therialt.
    LM
    PS. IGNORE=Y

  • Using exp imp on 11i apps database

    Hi,
    Does anyone have experience in using exp and imp utility on 11i apps database? Is there any special method to achieve this.
    I want to do a full export and do an import.
    Do we get any performance benefits if we do this?
    Regards,
    SA

    Hi Sa;
    Does anyone have experience in using exp and imp utility on 11i apps database? Is there any special method to achieve this. You want to take exp imp for which issue?
    I want to do a full export and do an import.Follow:
    10g Export/Import Process for Oracle Applications Release 11i [ID 331221.1]
    Export/import process for R12 using 11gR1 [ID 741818.1]
    Do we get any performance benefits if we do this?It depends many segment but finaly u will make one process on server and it has cost,answer you can have some performance issue while you are taking exp-imp
    Regard
    Helios

  • Copy Page/region (incl. elements...) to application ( using exp/imp page) ?

    question and enhancement request(!) -
    some customers/prospects claim teamworking / reusable components. goal is to use a page (including its components like regions,processes,items,...) in another application - could realized by exp/imp if we can do it.
    This would improve reusability and also teamworking.
    I work together with a collegue on an application at htmldb.oracle.com. We exported the appl. and work on our local databases at different tasks by different pages.
    But how we can reimport our results?

    Lutz,
    It's kind of difficult, but Raj described a procedure here: Synonyms
    We are aware of the potential value of being able to copy pages between applications and are looking at ways to provide that in future versions of HTML DB.
    Scott

  • Best way of using exp/imp

    Dear all,
    I wanted to migrate database from 8i to 11g(8.1.5 to 11.1.0). I am going for exp/imp method. Which is the best method of doing this task? I mean Full export and Import Or Schemawise export and import? Is there any chances of missing objects or rows while doing this task? If yes, How to avoid? Please help me to take a best decision. I dont want any problem after migration.
    Approach is (take exp of 8.1.5 and imp in 9.2.0) then (exp of 9.2.0 and imp it to 11.1.0.6)
    OS is HP Unix
    Nishant Santhan

    Have you not yet completed this task? As we have already answered to your question a couple of days back.
    Take a look at the similar duplicate thread created by you.
    Re: Migrating from 8i to 11g
    Regards,
    Sabdar Syed.

  • Using exp/imp appears to fail

    Hello Everyone.
    We are trying to export a set of table from one Oracle Database to another and have come across a problem.
    Exporting via PL/SQL developer (v7) appears to be fine but when we try to import the generated .dmp file using the imp tool, it fails with this error:
    IMP-00017: following statement failed with ORACLE error 905:
    "CREATE TABLE "GEOM_TABLE" ("UUID" VARCHAR2(36) NOT NULL ENABLE, ""
    "NAME" VARCHAR2(50), "ORDINATES" "MDSYS"."SDO_GEOMETRY", "DRAWING_UUID" VARC"
    "HAR2(36))  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65"
    "536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GEOM_SPACE"
    "" LOGGING NOCOMPRESS VARRAY "ORDINATES"."SDO_ELEM_INFO" ELEMENT  STORE AS L"
    "OB  (ENABLE STORAGE IN ROW CHUNK 16384 RETENTION  CACHE  STORAGE(INITIAL 65"
    "536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)) VARRAY "ORDINATES"."
    ""SDO_ORDINATES" ELEMENT  STORE AS LOB  (ENABLE STORAGE IN ROW CHUNK 16384 R"
    "ETENTION  CACHE  STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER"
    "_POOL DEFAULT)) COLUMN "ORDINATES" NOT SUBSTITUTABLE AT ALL LEVELS "
    IMP-00003: ORACLE error 905 encountered
    ORA-00905: missing keyword
    This only appears to happen when there is a reference to MYSYS.SDO_GEOMETRY. It is preventing the data migration from completing so does anyone have any ideas?
    Thanks in advance.

    Hi,
    Table is based on type MDSYS.SDO_GEOMETRY (Spatial Data Types and Metadata), Check spatial is configured on your Target database and you have privilege to access that object using your schema.
    HTH

  • Use exp/imp to migrate a database

    hi,
    I want to migrate a database from window to hp unix,
    Can I use the following way? thanks!
    First,exp from windows:
    1.exp the schema without data
    2.exp the whole database with data
    Second,imp to unix:
    1.use dbca to create a database;
    2.imp the schema
    3 imp the data to all schema.

    Yes. Just make sure that you do a binary file transfer between windows and unix system otherwise you will end up with a corrupted dump.
    Even after transfer, just to make sure, you can have a trial import with indexfile and show options to check the integrity of the dump.
    Probably you can merge steps 2 and 3 of import in 1 step.

  • How to upgrade a DB using EXP/IMP

    Guys
    I need to upgrade a small DB using IMP and EXP from 8i to 9i. Can you guys help me with the steps. Perhaps I was using the wrong search words, but I found no satisfying answers on google.
    1. Recreate the target database TRGT with the correct tablespace definitions.
    I need to query from dba_datafiles, dba_tablespaces, dba_temp_files?
    2. EXPort the source database SRC
    3. IMPort the dump file
    I am little unsure of step #1. Can you help me with the details pls?
    TIA

    . Recreate the target database TRGT with the correct tablespace definitions.I need to query from dba_datafiles, dba_tablespaces, dba_temp_files?
    Before starting the import,u need to create a fresh database on new 9i server.and create new tablespaces with same name that was present in 8i.after it u can start ur import with using ignore=y,otherwise it says following tablespace is already exists.
    **import also automatically create the required tablespaces but if u want to change the storage attributes or location of dbf files ,its better that u create it manually before starting imp.
    Kuljeet

  • How to use exp,imp in oracle 8i version....

    Hi developer ...
    I am using oracle 8i version in windows xp platform. Can you please explain how to export and import my tables in to export.txt file.
    with
    Regards
    sure...:)--

    Hi,
    Did you want to downgrade from 8i to 7.0, 7.3 and 8.0 ?
    To downgrade, you need to use the export utility from the target database.
    So, you will need three export files :
    Run the 7.0 export to export from the 8i database, and import into a 7.0 database with the 7.0 import utility.
    Same for 7.3 and 8.0 database.
    More info into metalink note : Compatibility Matrix for Export & Import Between Different Oracle Versions - Note:132904.1
    Nicolas.

  • Exp/imp related problem

    Hi all,
    I have one problem in Oracle 9.2.0.8 onRHEL4. Iwant to use exp/imp to update one table from one server to another.
    Suppose I have one table abc on A server and it is having around 1 million records and another B server is also having the same no. of records and some of the record have been changed to A server and i also want to imp the same record to another server B.Is there any paramneter in IMP.
    Please suggest me.

    Hi,
    Kamran Agayev A. wrote:
    user00726 wrote:
    but how would i know which table has been updated or modifiedUsing MERGE funtion, you'll merge two tables. This command will updated changed rows and insert non-inserted rows to the second table and make it as the same as the first tableSQL> create table azar(pid number,sales number,status varchar2(20));
    Table created.
    SQL> create table azar01(pid number,sales number,status varchar2(20));
    Table created.
    SQL> insert into azar01 values(1,12,'CURR');
    1 row created.
    SQL> insert into azar01 values(2,13,'NEW');
    1 row created.
    SQL> insert into azar01 values(3,15,'CURR');
    1 row created.
    SQL> insert into azar values(2,24,'CURR');
    1 row created.
    SQL> insert into azar values(3,0,'OBS');
    1 row created.
    SQL> insert into azar values(4,42,'CURR');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from azar01;
    PID SALES STATUS
    1 12 CURR
    2 13 NEW
    3 15 CURR
    SQL> select * from azar;
    PID SALES STATUS
    2 24 CURR
    3 0 OBS
    4 42 CURR
    SQL> merge into azar01 a using azar b on (a.pid=b.pid) when matched
    2 then update set a.sales=a.sales + b.sales, a.status=b.status
    3 delete where a.status='OBS'
    4 when not matched
    5 then insert values(b.pid,b.sales,'NEW');
    3 rows merged.
    SQL> select * from azar01;
    PID SALES STATUS
    1 12 CURR
    2 37 CURR
    4 42 NEW
    Hello Sir, is this correct?
    Regards
    S.Azar
    DBA

  • Exp/Imp In Oracle 10g client

    Hi All,
    I want to take one schema export from Oracle 10g Client. I am in new Oracle 10g.
    In oracle 9i, we can using exp/imp command for Export and Import from Client itself.
    I heard about in Oracle 10g, we can use Expdb/Impdb in Server only. Is there any possibility to take exp/imp in Client also.
    Pls help me...
    Cheers,
    Moorthy.GS

    To add up to expdb from oracle client
    NETWORK_LINK
    Default: none
    Purpose
    Enables an export from a (source) database identified by a valid database link. The data from the source database instance is written to a dump file set on the connected database instance.
    Syntax and Description
    NETWORK_LINK=source_database_link
    The NETWORK_LINK parameter initiates an export using a database link. This means that the system to which the expdp client is connected contacts the source database referenced by the source_database_link, retrieves data from it, and writes the data to a dump file set back on the connected system.
    The source_database_link provided must be the name of a database link to an available database. If the database on that instance does not already have a database link, you or your DBA must create one. For more information about the CREATE DATABASE LINK statement, see Oracle Database SQL Reference.
    If the source database is read-only, then the user on the source database must have a locally managed tablespace assigned as the default temporary tablespace. Otherwise, the job will fail. For further details about this, see the information about creating locally managed temporary tablespaces in the Oracle Database Administrator's Guide.
    Restrictions
    When the NETWORK_LINK parameter is used in conjunction with the TABLES parameter, only whole tables can be exported (not partitions of tables).
    The only types of database links supported by Data Pump Export are: public, fixed-user, and connected-user. Current-user database links are not supported.
    Example
    The following is an example of using the NETWORK_LINK parameter. The source_database_link would be replaced with the name of a valid database link that must already exist.
    expdp hr/hr DIRECTORY=dpump_dir1 NETWORK_LINK=source_database_linkDUMPFILE=network_export.dmp LOGFILE=network_export.log

  • Exp/imp of tablespace

    hi all
    could we use exp/imp of tablespace on same database
    say we have list of objects in a tablespace and we want to shrink the tablespace size. ( as there are not many transactions ) then can we take export of this tablespace onyly , drop the tablespace , create a new tablesapce with same name but of less size and import objects back from the export dump file into this tablespace
    thanks
    kedar

    So basically you want to shrink the tablespace but you've got objects scattered around in there and it won't coalesce.
    There are several ways to do this, not least the one you've mentioned.
    An alternative would be to rebuild the objects into a new (smaller) tablespace. If you haven't got the disk space to accomodate a new tablespace and the existing one then, yes, export/import will do the job.

  • Migrate oracle 9207 DB 8 TB size frm Solaris to AIX?dont want  Exp/Imp

    Hi Guys,PLz help
    I want migrate 8TB oracle database from Solaris 8 to AIX 5.
    In my last post on the same topic I was told to refer Metalink notes
    291024.1,Note:77523.1,Note:277650.1
    acc to these notes 'EXPORT/IMPORT IS THE ONLY OPTION TO MIGRATE FROM SOLARIS TO AIX'.
    I was not convinced as In http://dba.ipbhost.com/index.php?showtopic=9523
    I read
    "As both solaris and AIX are UNIX O/S, cloning the DB is also possible from source box to target box"
    Also
    whats the role of "If the endianness is the same"??????
    Can you guys plz comment on this again.....as I'm really confused because exp/imp of 8TB
    is going to take half of my life :)
    PLz tell in any other option in 9.2.0.7?If we have
    Thanx

    You can do
    SELECT PLATFORM_NAME, ENDIAN_FORMAT
          FROM V$TRANSPORTABLE_PLATFORMto check endianness of different platform.
    -- Note, the view is only on 10g and above.
    datafiles from different endian format can't be directly copied over and use. On 10g you have option to use RMAN convert endianness.
    with that said, since Solaris and AIX are all big engianness. That means you can directly copy datafiles over and clone database without using exp/imp.
    this article has a list of how to clone
    http://www.dba-oracle.com/oracle_tips_db_copy.htm

Maybe you are looking for

  • BUG: Sorting drop-down lists from the field tab when using "specify item values"

    Hi all, I've finished creating my form now, but I came across this whilst writing up my documentation for maintenance tasks. This occurs when adding new values to a drop-down list that has the "Specify item values" checkbox in the binding tab checked

  • Help with Error 14 in Adobe Reader

    I have Adobe X and am trying to download pdf files from a tertiary institute. The first page will often download, and then the rest is blank, with an error 14. What can I do about this please? Thanks!

  • How to put "report total:" line in bold

    I have a report with sums. How can I specify to show the "report total:" line in bold?

  • Oracle Data Integrator Implementation **Queries**

    Hi All, Existing Setup: We have multiple sources to take the data for manipulate. We are getting data from different sources using DB links or Flat tables. We are planning to implement ODI for above scenario. is it suitable for the same ? If yes Ques

  • G4 compatability?

    I have a 466 MHZ G4 power mac I had to extract my installers from the iLife dvd and use pacafist to install them becasue I do not have a DVD drive. Got some help from another computer. Well my problem now is that iPhoto will not edit photos. I doubbl