Help determine best action - clone or exp/imp?

I have a three node cluster, running 10.2.0.4 on Windows Server 2008. I need a copy of the database placed on a laptop for temporary training purposes. I know this is not ideal and I expressed my dislike with the idea. I have been told it is a workaround until we can purchase another server and it needs to be done.
What am I looking at here? I have read the Oracle pre-installation requirements for the database and have a few questions that I cannot find anywhere online.
**I have nightly expdp files writing from the cluster.
1. Once I get the laptop configured can I import the database or would it be easier to clone it? My criteria for the cluster is that it cannot be taken down.
2. Does it matter I am exporting from a cluster to a single instance? Are there any differences that I need to be aware of?
3. I have read that I need the tablespaces to exist if I use datapump but can't you have the tablespaces created when doing a full import?
4. Going with question 3, I have 4 schemas in the database and if I only wanted to export the training schema what is the best way to do that?
I REALLY appreciate any help with this. I have been doing a lot of reading but need some guidance.

Hi,
I agree that running a database on a laptop is not the best idea, but well, sometimes we need to do that too.
Regarding your questions:
1. You can either use export/import or clone the database. It depends on how complicated and long will be the process. If the database is small and simple (no unusual features etc.), export/import will work just fine. If it is very large, it might be faster to clone it.
2. It doesn't matter, but you might need to change parameters in the spfile (like cluster_database, instance_name, etc)
3. If you perform full export and full import, it will create the tablespaces for you
4. I think that you should create the tablespaces manually, then expdp only this schema (using schemas=<name>) and then import it to the laptop. It's really easy.
HTH
Liron

Similar Messages

  • 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.

  • Help Determining Best Option for a MacBook Pro

    I will be purchasing a new MBP, and I am having some challenges determining my best option.  I have researched quite a bit, but the more I research the more I get lost. I was hoping that the support community here would be able to assist in my decision.  I am very price consious so I am looking at the refurbished models from the Apple store.  I am also a Web Developer so I need to be able to run Photoshop, Dreamweaver, Illustator plus have a few browsers going with multiple tabs in each.  Speed (both working with files and browsing the web) is of the utmost importance to me as I need a computer that can keep up with me. Basically I need a fast computer so I can get my job done quickly. I would love to purchase a new Mac and max it out, but cost is a very important issue which is why I am looking at these two models.
    I am torn between two models in the Apple Refurbished section:
    Option 1.
    Refurbished 13.3-inch MacBook Pro 2.5GHz Dual-core Intel i5
    Originally released June 2012
    13.3-inch (diagonal) LED-backlit glossy widescreen display, 1280-by-800 resolution
    4GB (2 x 2GB) of 1600MHz DDR3 SDRAM
    500GB Serial ATA @ 5400 rpm
    8x double-layer SuperDrive (DVD±R DL/DVD±RW/CD-RW)
    Intel HD Graphics 4000
    with this model I would max out the RAM to 16GB and switch the HD to an 128GB SSD that I have.
    Option 2.
    Refurbished 13.3-inch MacBook Pro 2.6GHz Dual-core Intel Core i5 with Retina Display
    Originally released February 2013
    13.3-inch (diagonal) Retina display; 2560-by-1600 resolution at 227 pixels per inch

    8GB of 1600MHz DDR3L SDRAM
    
256GB Flash Storage
    
720p FaceTime HD Camera
    
Intel HD Graphics 4000
    What it comes down to is that I like option 1 as the cost is much lower and I can upgrade, but I am nwondering if option 2 would be a faster than option 1 even after I upgrade the RAM and HD. I'm just hesitant about the retina model as I cannot upgrade.  To me most of the numbers look the same, but I do not know much about what is under the hood and what is overall a better machine for my purposes above.  To the retina screen isn't all that important as I plan on connecting the MBP to a larger external monitory.
    Thanks in advance for any help.  If anything needs clarification please ask and I will provide more details.

    Another advantage to the non-Retina MB/Pro with optical drive is the possibility
    of upgrade with a kit, to install a second SSD in place of that drive; as per a
    part number kit that macsales OWC site has listed. That kind of upgrade does
    come up on occasion; however an SSD in that location has a slower data rate
    than one on the hard disk drive bus. 'Data Doubler' is their name for it; a kit
    could include a suitable SSD, too. http://eshop.macsales.com/shop/SSD/OWC/
    About wireless connectivity differences between Retina MB/Pro and non-Retina,
    could vary the results if one were to use a newer Time Capsule wireless base
    station; as these can use two bandwidths of wi-fi. However I am not sure if one
    or both models can utilize this feature when connecting to the base station &
    wireless backup function of the time capsule. The faster speed could be a little
    helpful if using wireless; yet I'd be sure to make a backup clone and directly
    use a wired connection of dependable speed and quality for its use.
    So to read up on the newer specs for the Time Capsule with built in wi-fi base
    station to see if that matters; I doubt there would be an issue as the newer is
    supposed to be compatible with the older.
    Hopefully this helps somewhat. I've found an older AirPort base station can
    affect the internet speed when the source is higher than the base thoroughput.
    This can be an issue, at least with wireless backups or internet access. For
    best connection speeds, it also helps to have a wired network, to fall back on.
    Ethernet is faster and more reliable as a local & internet network path; and a
    wired network is more secure than a wireless one.
    If you have a different question, be sure to ask; you could also start a new thread.
    Good luck & happy computing!

  • 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

  • Need help for full db exp-imp

    Hi,
    My database is having undo segment corruption.I have considered and tried a lot of things to come out of the situation,but didn't get any +ve result. So I have decided to take a full database export,rename the database,create a new database on the same system and import the full database in the new database.Will you plz tell me the steps to do this(full db import)? Plz include a wise syntax for full db exp-imp.
    Thanks a lot

    If your only identified problem was sudden undo corruption to an online instance and you followed the steps referenced on the Burleson site (switch to manual undo management, create a new undo tablespace, drop the old undo tablespace, and switch back to automatic undo management) and then the very next day encountered undo corruption again, I would recommend two simultaneous courses of action:
    1) Get the hardware analyzed, this could be a signal of hard drive or controller problems.
    2) Scour metalink for any bug references that may be related (or just go ahead and open an iTar).
    If you persist in importing to create the database back on this same system and if you must use the same storage, I would at least try to get the file system or volume that the corruption was on taken offline and recreated.
    Just an alternate view of things ... good luck!

  • 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

  • Exp / imp 64 bit - 32 bit

    Hi,
    We have problems to import a dmp file (what exported on a 64 bit OS) on a 32 bit OS:
    IMP-00010: not a valid export file, header failed verification
    IMP-00000: Import terminated unsuccessfully
    Can someone help me with a link, what is the steps / parameters of exp tool to we can import the result dmp file on 32 / 64 bit OS?
    Regards,
    Imre

    Hello,
    IMP-00010: not a valid export file, header failed verification
    what is the steps / parameters of exp tool to we can import the result dmp file on 32 / 64 bit OS?There's no specific step or parameter, Export/Import or Datapump can be used across different platforms in 32 bit or 64 bit.
    The error message is more related about a corrupted "dump".
    So be sure that you export and import with the same Utility. For instance, don't export with Datapump and import with the classical Import utility.
    If you send the Dump by FTP, check that you are in binary mode.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Exp/Import database schema vs Ch 10 Exp/Imp Content

    Hi I'm using Portal 10.1.2.02. I'm a DBA tasked with migrating a Dev portal into Test, then Production.
    There seems to be a number of ways to achieve this and I was hoping to clarify which is best for me.
    I've run through note: 330391.1(copying the Portal schema) which details running a perl script to export and import onto a newly installed server. This process worked will.
    Chapter 10 of the Portal guide details a fairly complex process of creating transports sets and migrating these over and importing.
    My question is: if I want the entire Portal copied is there any difference in these processes? ie. Do you end up with the same result?
    thanks in advance of any advice :-)

    The cloning model is not a rerunnable model, its not granular and conditional migraton is not possible.
    You can do the cloning only if u want to take a copy of the entire setup and rewire to a new midtier.
    Portal exp/imp model helps u to achieve granular, conditional and rerunnable method of moving portal objects.
    Apart from that, it comes with the readily available prechecks to intimate what's going wrong during the process.

  • 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

  • Exp/Imp with tablespace autocreate?

    Hello dear community,
    I've got a question about backup with exp/imp. It's not about RMAN, but nevertheless I hope it's the right board.
    Is there a command to tell imp to automatically create a specified tablespace from a dumpfile?
    For exp I use:
    exp.exe user/pass tablespaces=test file=FILE.DMP
    For imp I use:
    imp.exe user/pass tablespaces=test file=FILE.DMP
    Now, if I drop the tablespace between exp and imp, so imp can't restore it. There I manually have to create the specified tablespace first. It would be nice, if there is a way that imp creates the tablespace if it is not present.
    Are there maybe some parameter like "autocreate" and "use datafile=..." and so on?
    Thanks for help,
    best regards,
    Ronny

    Transportable Tablespaces is a seperate feature whereby you take a physical
    copy of tablespace datafiles and "plug" them into the target database.
    That is different from taking a logical export dump.
    With export dumps, the only way to get the tablespace created is in a FULL
    export and import. The CREATE TABLESPACE commands are written into
    the dmp file only when a FULL export is done. At import time, you can choose
    to import a specific schema in which case, the CREATE TABLESPACE
    commands are not executed by import (they must be precreated). So,
    CREATE TABLESPACE is executed only when you do a FULL import as well.
    Note that this {obviously} creates the same datafile names (including physical
    paths) and sizes as existant in the source database. That may or may not
    meet your requirements on occassion (eg different filesystem structure,
    different sizes planned in the target database).

  • Step by Step EXP / IMP database from Oracle 9i to Oracle 11g

    Please help on the captioned where I did the below
    1. Use EXP to export the database from a Oracle9i database (O9_DB) OLD_Windows2003_SERVER
    2. Install the Oracle 11g (default service name is ORCL) to a new Windows 2003 server and use the IMP to import the O9_DB, however, I need to create the same physical path as the OLD_Windows2003_SERVER (e.g E:\Oralce_9i\Ordata\) in order to complete the IMP
    3. I can launch the SQL Developer and obtain the records count of evey tables being imported
    However, is there any best / proper way to do the EXP/IMP, the ideal outcome would be
    1. Create a new namespace say (OLDDB) which same as the Oracle9i database name so maybe I don't need to modify much on the application side to point to the new database ?
    2. IMP the OLDDB to the new namespace OLDDB
    Thanks in advance

    Hello,
    If you create the new Database on a new Server, you could keep the same name for the Database.
    To switch from the old Database to the new one, you'll have to change the hostname on the "tnsnames.ora" or in any configuration file which define the database connexion.
    About the best way to do the Export/Import, you may have some details on the link below:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/expimp.htm#i262317
    Else, why do you intend to stay on a Windows 2003 Server, why not moving to Windows 2008 ?
    NB: Oracle *11.1* is certified on Windows 2008 and Oracle *11.2* is certified on Windows 2008 R2.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Export / import  exp / imp commands Oracle 10gXE on Ubuntu

    I have Oracle 10gXE installed on Linux 2.6.32-28-generic #55-Ubuntu, and I need soe help on how to export / import the base with exp / imp commands. The commands seems to be installed on */usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin* directory but I cannot execute them.
    The error message I got =
    No command 'exp' found, did you mean:
    Command 'xep' from package 'pvm-examples' (universe)
    Command 'ex' from package 'vim' (main)
    Command 'ex' from package 'nvi' (universe)
    Command 'ex' from package 'vim-nox' (universe)
    Command 'ex' from package 'vim-gnome' (main)
    Command 'ex' from package 'vim-tiny' (main)
    Command 'ex' from package 'vim-gtk' (universe)
    Command 'axp' from package 'axp' (universe)
    Command 'expr' from package 'coreutils' (main)
    Command 'expn' from package 'sendmail-base' (universe)
    Command 'epp' from package 'e16' (universe)
    exp: command not found
    Is there something I have to do ?

    Hi,
    You have not set environment variables correctly.
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#BABDGCHH
    And of course that sciprt have small hickup, so see
    http://ubuntuforums.org/showpost.php?p=7838671&postcount=4
    Regards,
    Jari

  • 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

  • Oracle 11g R2 how to take exp/imp

    hi.. i am using oracle11.2 version. i am try to take logical backup like "EXP" in linux environment but empty table missed out..
    can u say how to take this backup with empty tables...
    Thanks in advance

    Hello,
    i am try to take logical backup like "EXP" in linux environment but empty table missed outIt's due to a new feature in 11.2. By default the Parameter DEFERRED_SEGMENT_CREATION is set to TRUE, so that Segments are just created when the first row is inserted:
    http://download.oracle.com/docs/cd/E14072_01/server.112/e10820/initparams069.htm
    Please, use the DATAPUMP Export/Import instead of the Original Export/Import. The DATAPUMP manages better this new feature. You'll have an example below:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:3014631100346711923
    You'll find on the following link some advices to start with DATAPUMP:
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
    Hope this help.
    Best regards,
    Jean-Valentin

  • Full Database Exp & Imp

    Hi,
    I am trying to Exp & Imp a full database. I am working on Oracle 9i & 10g on Solaris 9. I am not using Data Pump. Can anyone please help me with the following:
    1. I am performing the full export using SYSTEM user.
    1.a Does a Full export include (or backups up) the DATA DICTIONARY of the database?
    1.b Does a Full export include the backup of SYS and SYSTEM objects?
    I am using the following command to export
    exp system/system@testdb file=$HOME/testdbfullexp.dmp full=y statistics=none
    I have tried importing the FULL export to another database and i did see that SYS and SYSTEM objects were also being imported ( got some errors regarding constraints and inconsistencies).
    I would like to ask like what are the ideal steps to follow to copy a database from DB1 to DB2 using EXP and IMP
    Any information will be of a great help
    Thanks,
    Harris.

    1 a) No, as the data dictionary will be automagicall recreated by implicit SQL.
    This means any non dictionary objects under SYS will be lost
    1 b) as above. SYSTEM however is a normal user.
    any %SYS user will NOT be exported (CTXSYS, MDSYS, etc)
    On import of SYSTEM there will be always errors, as SYSTEM is non-empty after initial database creation.
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Output transport to excel sheet

    Dear Friends, One problem facing in SD report. Report contain 61 column in ALV. At runtime it will fetch 30000 to 32000 rows. When i convert this report into excel format. It will store data in excel sheet with one line blank between two record. Mean

  • How to implement this ina partition table

    Hi Friends, I've some issue. Let me explain it - I've one table named - CREATE TABLE syst_part    tx_id   NUMBER(5),    begdate DATE  --begdate will be always system date );1) Every day i need to keep only 3 days data. So, at the start of the program

  • Dashboard makes mouse jump

    Sometimes when I open Dashboard and move my mouse, it resets the pointer to the origin (Top-Left) of the screen. I was just experimenting in it today and I realized that I can mouse anywhere around the screen as long as I don't contact the near-edges

  • IMac blank display

    I walked away from my iMac this afternoon and came back and the display is no longer working. I have tried restarting it as well as the support offered on Apple's site here - http://docs.info.apple.com/article.html?artnum=303138 My problem is there a

  • BPM schedule problem

    Hello, we have a configured BPM process which also uses JDBC request to external DB. The JDBC adapter initiates the running of BPM process. We need to run BPM at a fixed time (f.e. - at 24.00). But we can only set a periodic interval for JDBC adapter