Transportable Tablespace
Transportable Tablespace feature was first introduced with Oracle database release 8i. This feature is used to copy a set of tablespaces from one Oracle database to another. It can be used to transport tablespaces across different database platforms as well.
Transporting Tablespace
There are 4 steps to transport a tablespace
- Grant the necessary privileges
- Make the tablespace is transportable
- Generate the transportable tablespace set (data dictionary information)
- Copy the data files to the target server
- Perform the tablespace import
- Steps to Transporting Tablespace.
Source Machine
- First Create Tablespace and User.Grant role to that user.
- Check tablespace is ready to transport or not.when Tablespace object like (Table and Index) are stored in one tablespace these tablespace is ready to transport but these tablespace object are stored on other tablespace these tablespace is not ready to transport.
- Check Tablespace is transportable or not using.
- Check which tablespace object is not in onemb tablespace using.
- If object is found these object are stored on other tablespace. so first the object are transfer to 'ONEMB' Tablespace. else no obj found.
- Transport tablespace using Expdp
- For Cross Platform Transportable Tablespace.
- I want to convert windows 64 bit to 'Linux IA (64-bit)'
- Target Machine
- First Create user test.
- Grant connect,resource to test.
- Copy Export dump file transport_onemb.dmp and transfer to Target machine directory folder. and copy converted tablespace and copy to target machine.
- Then Import transport_onemb.dmp
- after import check;
- select file_name,tablespace_name,file_name from dba_data_files;
- Impdp system/admin directory=data_pump_dir dumpfile=
- Follow all these steps for transportable tablespace.
No comments:
Post a Comment