Solved

Copy schema from one database to another?

Posted on 2006-06-12
2
5,044 Views
Last Modified: 2009-05-04

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
Comment
Question by:tdsimpso
2 Comments
 
LVL 34

Accepted Solution

by:
johnsone earned 500 total points
ID: 16886658
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
 

Author Comment

by:tdsimpso
ID: 16886703

Okay thanks.
Troy
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Export BLOB data from Oracle 10g 4 35
Encryption Decryption in Oracle 12 108
Get the parent node - XMLTYPE 9 56
Oracle Pivot Question 8 45
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now