表空间集自包含检查
在传送表空间前要进行表空间自包含检查,对违反自包含规则的信息记录到Transport_Set_Violations表内
创建表空间TBS3
create tablespace tbs3 datafile '/u01/app/oracle/oradata/orcl2/tbs3.dbf' size 100M autoextend on maxsize unlimited;
创建分区表
Create Table Hr.T062iu11_Part(A Number) tablespace tbs3 Partition By Range(A) (Partition P1 Values Less Than (100) Tablespace Tbs3, partition p2 values less than (maxvalue) tablespace users);
插入数据
Insert Into Hr.T062iu11_Part Values (5); insert into hr.t062iu11_part values (105);
对表空间TBS3执行自包含检查
Begin Dbms_Tts.Transport_Set_Check('TBS3'); END;
查询Transport_Set_Violations表获取违反自包含规则的信息

根据提示信息进行处理
alter table hr.t062iu11_part move partition p2 tablespace tbs3 update indexes;
再次执行自包含检查,直到违反自包含规则的信息处理完毕。
本文来自博客园,作者:霜雪吴钩,转载请注明原文链接:https://www.cnblogs.com/aries0228/p/18073190

浙公网安备 33010602011771号