昨天,客户要求加一个ogg抽取投递进程。
登陆服务器,add extract 后,配好参数,start ext** ext** abend,检查log发现报错
OGG-00685 begin time *** prior to oldest log in*****************
百度一下没有符合的含有相关错误的文章。mos里搜索下,有如下解决方法
It is resolved by performing a database log switch.
Other causes and solutions:
If some of the nodes in RAC are not active, OGG will hit this error when trying to find the redo logs for those inactive nodes.
The solution in this case is to exclude those inactive nodes from GG, e.g. THREADOPTIONS PROCESSTHREADS SELECT 1
The solution in this case is to exclude those inactive nodes from GG, e.g. THREADOPTIONS PROCESSTHREADS SELECT 1
提供两种方法:
第一种是切归档,这是搜百度时经常见得一个解决方法,大家可以搜索下对比下具体报错,明显不符合我的报错
第二种是RAC的一个节点宕了,那这个节点的日志就不产生了,就在参数文件里加上
edit param ext**
THREADOPTIONS PROCESSTHREADS SELECT 1
1 就是选择你当前活的那个节点。
这里要说的是RAC-ONE-NODE 环境,我这里就是这种环境。当时也是抱着试试看的想法去解决问题的。后来想了想,第二个方法也是使用RAC ONE NODE 环境,都是有节点
宕掉了。
另外:RAC ONE NODE 环境下添加ext抽取进程也要加threads n ,这里的n是你数据库里查到的
select thread# from v$log
显示的是几,n就填几