Solved

Copy schema from one database to another?

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

744 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

8 Experts available now in Live!

Get 1:1 Help Now