传输表空间时,要被复制的表空间必须置于read only 模式或者rman备份也可以传输
可以跨平台支持
查看支持哪些平台
select * from v$transportable_platform t order by t.PLATFORM_ID
使用限制
源库与目标库的本地字符集与国家字符集相同
select userenv('language') from dual;
select * from nls_database_parameters;
创建参数文件
create spfile from pfile='/home/oracle/app/oracle/admin/orcl/pfile/init.ora.11172013103336'
expdp system/oracle dumpfile=test_tbs.dmp directory=utl_file_dir transport_tablespaces=test_tbs nologfile=y
select t.block_size from dba_tablespaces t where t.tablespace_name='TEST_TBS'
更改表所属的表空间
alter table schema.AC01 move tablespace AA;
删除表空间及所属的数据文件
drop tablespace test_tbs including contents and datafiles;
更改表空间状态
alter tablespace test_tbs read write;
alter tablespace test_tbs read only;
show parameter block_size;
impdp hyomswas/hyomswas dumpfile=test_tbs.dmp directory=utl_file_dir nologfile=y transport_datafiles=/home/oracle/study_ora/transpoert_tablespace/test_tbs.dbf remap_schema=hyomswas:hyomswas
利用rman进行表空间传输
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27057145/viewspace-1985577/
,如需转载,请注明出处,否则将追究法律责任。