度量快速开发平台-专业、快速的软件定制快开平台
标题: ORA-19706: 无效的 SCN 解决方法 [打印本页]
作者: fteair 时间: 2020-2-22 17:49

作者: caixuqad 时间: 2020-4-15 18:14

作者: caixuqad 时间: 2020-4-22 21:31

作者: caixuqad 时间: 2020-4-23 19:17

作者: 张兴康 时间: 2020-5-30 13:41
标题: ORA-19706: 无效的 SCN 解决方法
A库通过dblink访问B库数据,由于B库scn号增长过快,(dblink两段式提交,A库需要同步B库的scn),A库拒绝同步B库scn号,出现此提示。
解决方法,如果A数据库版本低于11.2.0.4,需要给数据库打补丁,或直接升级至11.2.0.4及以上版本。然后修改隐含参数_external_scn_rejection_threshold_hours, 此参数的含义为:当前库达到最大合理scn至少需要多少个小时,默认值为24,最小可调整至1。
--修改增长到最大合理scn的最小时间
alter system set "_external_scn_rejection_threshold_hours" = 12
comment='set threshold on 2015/09/01 - See MOS Document 1393363.1'
scope=spfile;
--重启数据库
--查询修改是否成功
select x.ksppinm name, y.ksppstvl value, x.ksppdesc describ
from sys.x$ksppi x, sys.x$ksppcv y
where x.inst_id = userenv('instance')
and y.inst_id = userenv('instance')
and x.indx = y.indx
and x.ksppinm like '%_external_scn_rejection_threshold_hours%';
作者: 张兴康 时间: 2020-5-30 13:42

作者: 陈晓龙 时间: 2020-5-30 14:36

作者: 陈晓龙 时间: 2020-5-30 14:36

作者: 张兴康 时间: 2020-6-3 14:02
欢迎光临 度量快速开发平台-专业、快速的软件定制快开平台 (http://plat.delit.cn/) |
Powered by Discuz! X3.2 |