oname=>’CREDIT_CARD’,
column_list=>’CREDIT_CARD_ID’);
end;
/
8.在主体组中的数据对象可以被复制之前,必须为他们生成复制支持。该方法为复制创建必要的触发器、包或者存储过程:
begin
dbms_repcat.generate_replication_support(
sname=>’SHORACL’,
oname=>’CREDIT_CARD’,
type=>’TABLE’,
min_communication=>TRUE);
end;
/
9.为快速刷新创建实体化视图日志:
creatematerializedviewlogonSHORACL.CREDIT_CARD;
如果是没有主键的表示用一下语句:
creatematerializedviewlogonSHORACL.CREDIT_CARDwith
rowidexcludingnewvalues;
10.启动复制:
begin
dbms_repcat.resume_master_activity(
name=>’sh_rep’);
end;
/