Solved

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

Posted on 2006-11-17
3
249 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

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

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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 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.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

747 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

11 Experts available now in Live!

Get 1:1 Help Now