重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 101|回复: 0
打印 上一主题 下一主题

[Oracle] After table is removed from multimaster replication, ORA-23474, ORA-26500 rep...

[复制链接]
跳转到指定楼层
楼主
发表于 2024-11-17 13:48:01 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
现象:
After the table is removed from multimaster replication, below errors are reported when the table is updated.


ORA-23474: definition of "SCOTT"."EMP" has changed since generation of replication support
ORA-26500: error on caching "SCOTT"."EMP"

原因:
The cleanup was not proper.

处理方法:
Check,  if the trigflag is set on this object.


select obj#, trigflag from tab$ where obj# = <obj# of SCOTT.EMP>

If it is set, then try running the following to remove the triggers



DBMS_REPUTIL.SYNC_UP_REP
PROCEDURE sync_up_rep(canon_sname IN VARCHAR2,
canon_oname IN VARCHAR2);

canon_sname
Schema containing the table or materialized view to be synchronized.

canon_oname
Name of the table or materialized view to be synchronized.

i.e.

exec DBMS_REPUTIL.SYNC_UP_REP('SCOTT','EMP');

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-28 15:12 , Processed in 0.085661 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表