Solved

Can I clone a Tablespace from one Database into another without using Import?

Posted on 2006-11-17
3
250 Views
Last Modified: 2013-12-11
Hi All, this should be easy. I've know about cloning Databases, but can you clone a Tablespace from one Database to another? The reason I ask is that I have a critical path that requires us to Import a 100+ million row table and Index rebuilds that take over 3 hours.

If cloning this physical Datafile(Tablespace) is possible and both Databases use the same Schema name and Db object name what are the steps so that I can create an environment to test this out.

Again thanks,
7Souls
0
Comment
Question by:7Souls
3 Comments
 
LVL 18

Accepted Solution

by:
rbrooker earned 500 total points
ID: 17981320
Hi,

investigate transportable tablespaces.  using oracle exp, you can export the metadata about a tablespace and import that metadata into another database.
steps :

1. mark tablespace as readonly
2. export the tablespace as a transportable tablespace
3. copy the tablespace to the destination database
4. mark the original tablespace read/write
5. import the tablespace into the destination database

this will be a quicker transfer of the objects than using dblinks / copy command and import / export.

good luck :)
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

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
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…

932 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

10 Experts available now in Live!

Get 1:1 Help Now