Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-17
3
Medium Priority
?
262 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 2000 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

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

886 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