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

Thread: import/export with diff tablespaces

  1. #1
    Join Date
    Sep 2000
    Posts
    96
    I am exporting data from one db with tablespace name LIMS_TEST. I want to import this data to another db with tablespace name PRDLIMS. When performing the import I am receiving an error on a handful of tables saying that it cannot create that table because the LIMS_TEST tablespace does not exist. Any ideas?

  2. #2
    Join Date
    Jan 2000
    Location
    *
    Posts
    37
    If you pre-build your tables before the import of the data you should be fine. If they are not built the import is trying to build them based on the export. Set ignore=y and prebuild the tables.

  3. #3
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    You can do an import with options fromuser=XX touser=XXX and for this user do his default tablespace the tablespace PRDLIMS.

    But probably you will have the same problem with indexes.

    Other option is do the import with show=yes. This will generate the creation scripts, and then you will be able to change the tablespace with replace.

    Hope that helps

    Angel

  4. #4
    Join Date
    Jan 2002
    Posts
    7
    In the database where you are importing, create the tables that you want to import in the tablespace PRDLIMS. Then perform the import with the option to ignore the create errors.
    When you create the tables, leave off the constraints and indexes until you have completed the import. It will load faster that way.
    Tommy
    Senior Oracle Consultant
    Datapoint Consulting, Inc.

  5. #5
    Join Date
    Sep 2000
    Posts
    96
    This may be a stupid question, but here it goes anyway. I have pre-built the tables.....how do I do the import and only import the data without re-creating the tables?

  6. #6
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Just use Ignore=Y in the import parfile.

    Sanjay

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