I want to transfer one tablespace from one database to another database by using the command for export:
$exp userid=system/manager file='d:oracleora90admindb7dump-filetest.dmp' tablespace=users;
and for imp:
$imp userid=system/manager file='d:oracleora90admindb7dump-filetest.dmp' tablespace=users;
The target database does not have a tablespace named users. My question is, in this situation do I have to create one tablespace with the name users in the target database with its associated users to import the tablespace's data from the dump file? Thanks.

    Requires Free Membership to View

When you use the TABLESPACE parameter for the export utility, this just tells exp to export those objects that reside in the specified tablespace. The export dump does not contain any information on how to create that tablespace on import. So before you import, you must precreate the tablespace in your destination database. If you do not create this tablespace, then the objects will go into the owner's default tablespace in that database.

This was first published in June 2006

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.