Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6066073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:27:42+00:00 2026-05-23T09:27:42+00:00

I know how to use the imp to import the .dmp data . But

  • 0

I know how to use the “imp” to import the .dmp data . But I wonder if I have to create the tablespace first,for example?

Other people have a oracle database instance,and he create a user “sa_one” whose defaule tablespace is “tabspace_one”,then he create some tables under this tablespace.

Then he export the objects under the user “sa_one” to a xx.dmp.

Now,in my machine,I have my own database instance,and I create a user “sa_two” whose defaule tablespace is “tabspace_two”.

Now if I want import the xx.dmp to the user “sa_two”. I use the cmd:

imp fromuser=sa_one touser=sa_two file=xx.dmp

But I wonder if I have to create a tablespace “tabspace_one” in my database instace?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:27:42+00:00Added an answer on May 23, 2026 at 9:27 am

    hguser,

    If you do what you said:

    imp fromuser=sa_one touser=sa_two file=xx.dmp
    

    Then the data will be imported into the table space that the ‘sa_two’ schema has set to as a default table space. Although I must admit – I can’t find the oracle documentation that explicitly says this it true, but I did find this oracle wiki:
    http://wiki.oracle.com/thread/1284972/EXP+%26+IMP+only+restores+to+same+tablespace(s)

    Alternatively, you could just use EXPDP and IMPDP and issue remap_tablespace for the import.

    All else, this is what happens when you try to import to a table space that does not exist:

    C:\Users\jslowik\Desktop>impdp user/password@db_name dumpfile=datfile.dat full=y
    
    Import: Release 11.2.0.1.0 - Production on Thu Jun 23 15:34:27 2011
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-31626: job does not exist
    ORA-31633: unable to create master table "SC_BASE.SYS_IMPORT_FULL_05"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT", line 1020
    ORA-00959: tablespace 'TABLES' does not exist
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know how to use JSON to create objects, but there doesn't seem to
I know I use the asp FileUpload control for uploading a file but I
I know you use the C based networking API to do FTP communication but
I know and use eric meyer CSS reset, but is there any more things
I know how to use tags in subversion. I create a tag every time
I am new to jQuery . I know the use of jQuery but I
How to get events from dll? Yeah, but I don't know how use addhandler
I'm trying to create a BMI calculator. This should allow people to use either
I know can use string.find() to find a substring in a string. But what
I know use System.exit(0) can end a java program, for instance, if I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.