DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: impdmp remap_tablespace parameter

Hybrid View

  1. #1
    Join Date
    Jan 2001
    Posts
    2,828

    impdmp remap_tablespace parameter

    Hi

    I need to remap multiple tablespaces using the imp command.

    Can somebody help me with this

    I tried

    Code:
    impdp REMAP_TABLESPACE=DATA_MEDIUM:USERS remap_tablespace=DATA_LARGE:USERS      
    remap_tablespace=DATA_MEDIUM:USERS remap_tablespace=DATA_HUGE:USERS       
    remap_tablespace=DATA_TINY:USERS   
    remap_tablespace=DATA_PIC:USERS 
    SCHEMAS=OWNER   directory=my_dir dumpfile=ema_owner_meta.dmp logfile=hrishy.log
    But it fails with a error message saying
    ORA-39001: invalid argument value
    Metadata remap REMAP_TABLESPACE has already been specified

    Any help on getting the syntax right

    regards
    Hrishy

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    You cannot include more than one remap_tablespace parameter per source tablespace; as I can see you are writting two remap_tablespace for source tablespace DATA_MEDIUM
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Jan 2001
    Posts
    2,828
    Hi Pavb

    Thanks for spotting that error :-).
    It is running now

    regards
    Hrishy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width