Solved

Copy schema from one database to another?

Posted on 2006-06-12
2
5,049 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

738 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