Home » RDBMS Server » Server Utilities » Transportable Tablespaces
Transportable Tablespaces [message #74700] Mon, 07 February 2005 00:01 Go to next message
Milind Deshpande
Messages: 93
Registered: May 2004
Member
Hi experts,

I am not clear on the transportable tablespaces option of Export/import utility of Oracle.
Can u give me information on that what is does and how to use this option through the command line.

I have read the docs but it is not clear to me what exactly this option.

Pls. clear my doubts on the same.
if you can provide me with some good link it will be helpful.

Thanks in advance.

Milind.
Re: Transportable Tablespaces [message #74702 is a reply to message #74700] Mon, 07 February 2005 01:11 Go to previous messageGo to next message
Frank Naude
Messages: 4580
Registered: April 1998
Senior Member
Look at the example at http://www.orafaq.com/scripts/back_rec/ttstest.txt

Best regards.

Frank
Re: Transportable Tablespaces [message #74703 is a reply to message #74700] Mon, 07 February 2005 01:22 Go to previous messageGo to next message
devika
Messages: 21
Registered: November 2004
Junior Member
First of all make sure you bring the TS to readonly mode.

Then

Step1- make sure that the users associated with the Tablespace you want to transport exist in the destination database as well. Eg. if tomcat is a user in Source Databse who is associated with the tablespace A ,then he must also exist in the destination DB also.

Step 2. Execute dbms_tts.transport_set_check ('<TS name say- A>', TRUE);
This will check if the TS can be transported or not i.e no dependencies should exist.

Step 3. Select * from transport_set_violations;

This statement should not display any rows i.e, your TS is ready to be transported.

Step 4 (os command) $exp file='filename' transport_tablespace=y tablespaces=A

Step 5. copy all the datafiles in that TS to a backup location.

Step 6. Bring the TS back to read-write mode.

Step 7. Through ftp connect to destination machine

Step 8. mput the dump file and the datafiles to the destination path

Step 9. imp file=dumpfile name tablespaces=A transpport_tablespace=y datafiles=<specify your datafiles'

That's it!!!

Happy TRANSPORTING !!!
Re: Transportable Tablespaces [message #74704 is a reply to message #74703] Mon, 07 February 2005 03:09 Go to previous messageGo to next message
Milind Deshpande
Messages: 93
Registered: May 2004
Member
Thanks a lot devika. You have been resourceful.

If you can give me your e-mail id for any future communications with u regarding this i will highly obliged.

Thanks

Milind
Re: Transportable Tablespaces [message #74705 is a reply to message #74702] Mon, 07 February 2005 03:10 Go to previous message
Milind Deshpande
Messages: 93
Registered: May 2004
Member
Thanks Frank. You are doin a great job on this forum.

Thanks a lot.
Previous Topic: In which directory initSID.ora is present
Next Topic: getting error ( ora-01031 ) while connecting to database
Goto Forum:
  


Current Time: Wed Jul 03 10:44:55 CDT 2024