• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5054
  • Last Modified:

Copy schema from one database to another?


Is there an Oracle tool to copy all the objects from the schema in one Oracle database to a Schema in another Oracle Database?

The only way I know how to do this is to emport from databaseA, copy the file to the other server, and import into databaseB?

Is there a way to do this directly?

Thanks,
Troy
0
tdsimpso
Asked:
tdsimpso
1 Solution
 
johnsoneSenior Oracle DBACommented:
Export/import as you mentioned.

You can create a database link between the databases and copy the data table at a time.  You would need to create indexes, triggers, procedures, grants, etc.  Export/import is cleaner.

One other option is transportable tablespaces, however that will only work if all the objects for the user are in one set of tablespaces that can be isolated.  There should also be no objects for other users in those tablespaces.
0
 
tdsimpsoAuthor Commented:

Okay thanks.
Troy
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now