Solved

Copy schema from one database to another?

Posted on 2006-06-12
2
5,047 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
execute immediate plsql block 5 57
exp/imp 25 85
Can't Access My Database 57 76
format dd/mm/yyyy parameter 16 30
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

839 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