Need Help..imp/exp utility

Hi,
I am not a DBA. I don't know how to imp.
I need to import all objects from ABC schema of DB1 to XYZ schema of DB1 or DB2 .
I don't want the actual data(rows) should get imported ..just need the definition in imported data.
Can anyone please help me to sort this problem?
Thanks in advance.
regards,
Rahul.
Note: 9i Database on Windows.

From source database (DB1):
exp abc/pwd@db1 file=somefile.dmp rows=n compress=n log=export.log
At target dtabase (DB1/DB2)
imp system/pwd@db1 file=somefile.dmp fromuser=abc touser=xyz ignore=y log=import.log
HTH

Similar Messages

  • Can I use 9i imp/exp utility after installing 10g

    Hello, all:
    I have two database co-exist in one machine, one is 9i, another one is 10.2, which was just installed recently . Now I need to imp/exp the 9i database, I can't invoke 9i imp/exp utility anymore, even under 9i oracle_home, I can only get 10g's imp/exp screen comes up, can someone help me? Is there anyway that I can use both version of utility in the same machine?
    Thanks a lot in advance.
    wendy

    I can't invoke 9i imp/exp utility anymoreThat might be because the 10G_ORA_HOME\BIN appears first in your PATH environment variable. Either put 9i_HOME\BIN first in your PATH or navigate to the BIN directory of 9i home and run the export/import from there.
    C:\>exp
    Export: Release 10.2.0.1.0 - Production on Wed Oct 25 09:31:50 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: ^C
    C:\>
    C:\>cd Oracle\ora92\bin
    C:\oracle\ora92\bin>exp
    Export: Release 9.2.0.7.0 - Production on Wed Oct 25 09:32:03 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Username: ^C
    C:\oracle\ora92\bin>

  • Imp Exp utility in ubuntu 10.4 with oracle instant client 10

    Hi,
    I have a problem with the imp/exp utility on Ubuntu 10.4.
    I have installed the oracle instant client 10, and I have followed this thread
    [http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/impexp.htm#CHDDBGDF]
    So, I've set env variable in my .bashrc
    ORACLE_HOME=/home/lucia/Programmi/instantclient10_1
    export ORACLE_HOME
    LD_LIBRARY_PATH=/home/lucia/Programmi/instantclient10_1:${LD_LIBRARY_PATH}
    export LD_LIBRARY_PATH
    PATH=/home/lucia/Programmi/instantclient10_1:${PATH}
    export PATH
    SQLPATH=/home/lucia/Programmi/instantclient10_1:${SQLPATH}
    export SQLPATH
    Sqlplus works fine, but when I try to use the utility exp/imp
    exp DB_USER/DB_PW@DB_SCHEMA owner=DB_USER buffer=300000 LOG=DB_USER.log FILE=DB_USER.dmp compress=n
    I have the following error:
    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
    (I cannot use data pump exp)
    Any suggestions?
    thanks in advance.
    Lucia

    root@laptop:~# /tmp/CVU_11.2.0.1.0_lucia/runfixup.sh
    Response file being used is :/tmp/CVU_11.2.0.1.0_lucia/fixup.response
    Enable file being used is :/tmp/CVU_11.2.0.1.0_lucia/fixup.enable
    Log file location: /tmp/CVU_11.2.0.1.0_lucia/orarun.log
    [: 845: true: unexpected operator
    [: 860: unexpected operator
    Any suggestions?
    thanks
    LuciaHello,
    I had the same problem. It was related to the shell script interpreter being used: it is really a bash script asking to be interpreted as sh. For the impatient, the solution was to change the first line of the script orarun.sh to read as:
    #!/bin/bash
    Explanation:
    1. The script runfixup.sh calls orarun.sh. The latter is the one that fails starting at line 845.
    2. The script is really a bash script as can be seen from the if syntax used. For example at line 191 we see the double equall sign ==:
    if [ "`echo $SET_KERNEL_PARAMETERS | tr A-Z a-z`" == "true" ]
    3. The bash man page says:
    string1 == string2
    string1 = string2
    True if the strings are equal. = should be used with the test command for POSIX conformance.
    string1 != string2
    True if the strings are not equal.
    (End of man page excerpt)
    Notice in particular that for a bash script to be POSIX it should avoid the == and just use =
    4. orarun.sh has on its first line #!/bin/sh. On my Ubuntu system, sh is a softlink to dash and the dash man page says:
    s1 = s2 True if the strings s1 and s2 are identical.
    s1 != s2 True if the strings s1 and s2 are not identical.
    5. So this script script uses bash syntax but is interpreted by dash. It is possible that this worked fine for the Oracle developer if on their system sh was softlinked to bash (which is often the case). Apparently, one should then be very careful to not use idioms that are not POSIX compliant.
    6. Another solution is to change the /bin/sh softlink from dash to bash. Personally, I was less comfortable doing this (the possible repercussions were wider than the proposed solution above).
    After making the change, the script ran perfectly. I think the best solution is for Oracle to update the script to be POSIX compliant or to identify itself as bash.
    Hope that helped,
    Mark Gaber
    Edited by: user1112514 on Jun 30, 2010 3:28 AM

  • Upgrading IMP/EXP utility in ORACLE 10g

    Hi,
    I have installed Oracle 10g 10.2 Enterprise edition.Can I upgrade the the version of the EXP/IMP utility od my oracle so that i can import dump files which are exported from Oracle 11g 11.2 version.
    Thanks in advance,
    Anindya

    user13006709 wrote:
    Hi,
    I have installed Oracle 10g 10.2 Enterprise edition.Can I upgrade the the version of the EXP/IMP utility od my oracle so that i can import dump files which are exported from Oracle 11g 11.2 version.
    Thanks in advance,
    Anindya
    No, you must use the imp utility from target database which is 10g.
    Cheers

  • NEED HELP!  Disk Utility mixed up HD and erased 2TB of data!

    I just encountered a disaster thanks to disk utility and am asking for your help. PLEASEEEEEEE
    Details: MacBook Pro using Lion OSX
    Here is the short story. Like any semi-computer nerd, I have a lot of external harddrives for all my work.  One was having issues and showed symptoms of a break down.  So I backed-up everything on the drive and tried to reformat it.  Half-way through, disk utility seemed to get stuck or something.  The bar did not progress, and the estimated time to complete continued to go up.  After about two hours, I needed to grab some files off another harddrive.  No big deal.  I left the harddrive being reformatted still plugged in, so the process would continue undisturbed.  In the second USB port, I plugged in an expansion port with 2 other external harddrives connected to it.  ...Within seconds, literally seconds, diskutility erased one of the new harddrives and renamed it.  I'm not kidding.  It happened so fast, I couldn't stop it.  It worked faster then I've ever seen DiskUtility erase a drive…10…20 seconds max.  I lost 2 terrabits of files.  Information, files and personal documents that cannot be replaced.  This is a huge disaster!
    Is there anyway to fix this? Is the restore image feature in disk utility bring back files? Worst of all, there is no reasonable argument for why disk utility mixed it up.  I never unplugged the drive it was reformating.  I never touched the program or clicked anything.  And how did it mix them up?  You have to select the drive explicitly that you want to erase.  One was a Western Digital HD and the other aSeagate, both with different names, models and serial numbers. Computers don't simply mix up drives.  It's coded.  Second, how could it erase the drive so fast?  It never even mounted.  By the time the new drive appeared, it was already erased and renamed.
    This is huge.  I cannot replace these files.  Does anyone know how to fix this?

    Hello HB3, and a warm welcome to the forums!
    8) Attempted to restart with literature saying that you can restart Disk Utility as though it would delete temp files and start again. System could not be found (folder/face/folder/face showed on the screen)
    You really shouldn't use a lower OSes DU to work on a higher one.
    2) Used Disk Warrior to rebuild directory on disk, but I believe that there is NO space at all. Disk Warrior took a very long time...more than an hour.
    What version of DW?
    Anyone know of a utility that can help?
    If DiskWarrior can't fix it, you might try Data Rescue II...
    http://www.alsoft.com/DiskWarrior/
    http://www.prosofteng.com/products/data_rescue.php
    (Has a Free Demo to see if it could or not, but you'll need another drive to recover to).
    Or FileSalvage...
    http://www.subrosasoft.com/OSXSoftware/index.php?%20mainpage=product_info&productsid=1
    to recover what you can, both can work when Disks are unmountable.

  • Need help it disk utility!!

    when i try to erase the HD macintosh, it doesn't give me the option to erase. The erase button is transparent and I can't click on it. what do I do?

    well, that's not what you asked...
    by the way, if you have an installation dvd you could be able to restart your mac WITH it (i mean that the dvd must be the startUp disk).
    You can do that in many way, as via system preferences -> startup disk , then choose the dvd inserted
    then restart your mac and now search for the utility "disk utility" in the dvd (usually it is available in the main menu of a dvd-system)
    with that now you should be able to erase your HD with lion installed (loosing all the data in your HD, of course...)
    and then you can install a new (or older, but it depends on the hardware of your Mac, read the system requirements of the system you want to install, it could be incompatible) system in your HD
    luca

  • Need help regarding export utility

    How to take the export of a schema if there is no space in the disk ..i came to know that it is possible without having space but not sure on that…

    Sybrand - I am quite amazed who gave you the label as guru and this is not stupid question..I am a RHCE and i know that if a mount point has no space we cannot extend it unless it is logical volume..I am talking about oracle not about linux and I told that i dont know the answer but i came to know from an experienced oracle dba it is possible..Just forgot to talk to him on that...Please dont annoy anyone and dont think you have become an expert...If you dont know the answer just comment that you dont know rather than making fun of others...
    Edited by: user13038999 on Jun 21, 2011 8:32 AM

  • Imp/exp stdout language

    Hi all,
    I am interested in changing language in exp and/or imp log files? Oracle version is 10.2.0.4.0, OS version is Win 2k3R2.
    I have Oracle DB installed on hungarian-language OS, and when issue an exp command, I get log file on hungarian language. I need stdout language for imp/exp utility to be on english. Can I do this?
    As far as I know stdout language for sqlplus query for current session can be changed with alter session set nls_language=ENGLISH.
    A little demonstration:
    current logfile:
    . . a következo tábla exportálása:                         A          3 sor exportálva
    . . a következo tábla exportálása:                         B          2 sor exportálva
    . . a következo tábla exportálása:                         C          0 sor exportálva
    desired logfile:
    . . exporting table                       A          3 rows exported
    . . exporting table                       B          2 rows exported
    . . exporting table                       C          0 rows exported
    . . . . .Tnx in advance.

    Prior to running exp or imp (and why still use exp and imp?)
    set nls_lang=<Region>_<territory>.<characterset>
    Don't know why but it seems it is 'Doc question day' again.
    Sybrand Bakker
    Senior Oracle DBA

  • Imp/exp command on linux

    hi guys,
    can someone please give me the complete steps on how to use the imp/exp utility for 8.1.7db runing on linux?
    also if possible what are the requirements and steps to install db 8.1.7 on linux?
    would really appreciate it,.....thanks in advance....

    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76955/toc.htm
    http://www.oracle.com/pls/tahiti/tahiti.docindex
    http://www.google.com/search?hl=en&q=installation+8i+linux&btnG=Search+v+Google&meta=

  • Need help in building a utility...?

    Gurus,
    I need to build a dynamic selection screen for a utility that will extract data from a legacy database. I am not sure how to do it....I have the design in mind but will need help from you experts in the implementation.
    So i need to have to twol radip buttons on the selection screen such that when one radio button is clicked then few other select options come on the screen and when the other radio button is selected then different select options come on the screen.
    Once the user any of these two radio buttons and fill in the respective values for the parameters, then i have to fire native SQL queries on the legacy SQL database.
    Any suggestions...
    First i need to code the dynamic selection screen ....Your help will be appreciated...
    Thanks

    Please have a look at below link. May be helpful to you...[Dynamic Selection Screen|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a07a330f-126c-2910-c684-d2a45f0f37dd]
    I hope it helps.
    Best Regards,
    Vibha

  • Need Help Recovering Hard Drive Space on Disk Utility

    I recently wanted to resize my Boot Camp hard drive partition as I did not need it to be 194 gb. In the process I screwed something up and now that space that was once my Boot Camp Partition is now "free space." My Mac Partition still says that I have 305 gb left and I am unsure how to expand this partition to get back that "grey" space. I've tried using Boot Camp Assistant, starting with Command+R after the "chime," and restoring my OSX (not completely however).
    I need help in getting back this missing space. It seems that I have looked everywhere and although people seem to have a similar issue I can't figure it out.
    Would restoring Mountain Lion completely by using a USB jump drive solve this problem? I have an external hard drive that uses Time Machine to back up my MacBook so a complete restore shouldn't be an issue.
    Any advice would be greatly appreciated!
    Thank you!
    P.S. This is what my disk utility currently looks like...

    You can try to use Boot Camp Assistant to completely remove the Windows partition but it might not work.
    Simple fact is once you setup a Windows partition you can't fool with it at all, that is unless you use some add on program specifically designed to do that on a Mac computer. If you need to resize the Windows partition you first need to use BCA and remove the partition completely and then recreate it at the new size you want and reinstall Windows.
    You might have to use Time Machine and backup your Mac partition then repartition the complete drive and then restore from that Time Machine backup. Then setup the Windows partition and reinstall Windows.

  • I need help on my MacBook Pro. Recently I've deleted another partition of my disk from the disk utility and I found out that my disk capacity wasn't get into the normal one which is 750GB. Meanwhile I installed window 7 into the partition disk.

    I need help on restoring my disk capacity back to normal. I installed window 7 into the partition disk through bootcamp and I deleted it from disk utility. After I erase the partition disk,I get my capacity to 499GB but not 750GB. Do I need to reinstall my MacBook or something to do with the restoring?

    Welcome to the Apple Support Communities
    Rodney Lai wrote:
    I installed window 7 into the partition disk through bootcamp and I deleted it from disk utility
    You shouldn't do it. You have to erase the Windows volume with Boot Camp Assistant, so it will restore the space onto the OS X volume and that volume will have 750 GB.
    As you did it with Disk Utility, you have to resize your OS X partition manually:
    1. Open Disk Utility, select your hard disk at the top of the sidebar, and go to Partition tab.
    2. You will see a bar with Macintosh HD. You have to click it at the bottom right corner and drag it to the end of the bar, so Macintosh HD will use all the space of the hard drive, and press Apply.
    3. Close Disk Utility and your OS X partition will have 750 GB

  • I need help Guys I might of deleted the Archive utility How do i get it back.

    i Have a Mac Air Book OS  X and i think i might of deleted the Archive utility How do i get it back please need help.

    Why do you think you deleted it?

  • Hi, I have Imac 10.8.5 and Aiport Express 802.11n wi-fi. I need a airport admin utility that I can't download. How do I do? Help me, please!

    Hi, I have Imac 10.8.5 and Aiport Express 802.11n wi-fi. I need a airport admin utility that I can't download. How do I do? Help me, please!

    Welcome to Apple Support Communities
    Your iMac comes with AirPort Utility (in /Applications/Utilities). You can open it from the Launchpad by going to the "Utilities" or "Other" folder

  • Disk utility can't repair disk, back up and restore files......I need help, I'm worried I'll lose all my photos, files etc

    Mac started hanging up while streamlining a kids show. Restarted and got the screen with the apple and the circle. restarted with control-option p and r. Ran disk repairitem got the following results;
    invalid index key,
    it rebuilds catalog b-tree,
    volume repair complete,
    updating boot support partitions for the volume as required,
    Error disk utility can't repair disk
    I'm then prompted to back up all files, reformat the disk and restore backed up files.
    Obviously need help here as I think I'm in danger of losing my files, photos etc if I don't do this right.
    Can anyone help
    Steve

    You might want to back up the disk as soon as possible, do the repair, then back it up again. First time will have the issues that Disk Utility can't fix, however, you'll have the data saved.  Then, once you get things repaired, make a new backup, and go from there.
    If you're going to use a hard drive directly connected to your iMac for backup, this is what I mentioned earlier: http://twelvesouth.com/products/backpack/ Great way to use space behind the iMac without adding something else to the desk top. You can buy it through Apple online/stores or Amazon, and there are probably other sources too.
    For external hard drives, I like those sold by OWC at http://eshop.macsales.com/shop/firewire/ as many of them use Oxford chip sets, wihch work well with macs (I've used several for years with no issues). Most pre-packaged drive/cases have a 3 year warranty, although you can buy a case and add your own hard drive. I like Western Digital Scorpio Blacks that have a 5 year warranty.

Maybe you are looking for

  • Formula variable using Replacement path not working

    Dear All, I am using a query to calculate YTD values in the report. I am using a formula variable to calculate the number of months. Formula is Month To - Month From+1 When I am giving the range from 001 to 006 for period in th evariable screen, I am

  • How do I open a mac .fla file in a pc version of Flash?

    I have files from a class that I took in 2D animation. There are things that I wanted to fix and finish, but the computers that we did the assignments on were macs. I no longer have access to a mac and my computer at home is a pc but whenever I go to

  • How do I flip individual characters in a text frame.

    I have some outlined text, with tracking decreased so they overlap, and every second letter's size slightly different so the paths don't merge. I would like the 1st letter to be on top, without breaking it all into individual text frames, and i don't

  • Different aggregations at different levels

    When I view the data using 'Measure Data Viewer', the items in a dimension are showing in random order. How do I load the data in a dimension in ascending order so I can view it in ascending order. Also, is it possible to apply different aggregations

  • How to get IP address from login screen in 10.7 Lion

    Hi All, In 10.7 I didn't find any option to get IP address from login screen as used to got in 10.4,10.5,10.6 Thanks