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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: