- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
1#
发表于 2013-11-27 21:19:22
|
查看: 4429 |
回复: 2
Extract: Could not find archived log…
Redo thread 2: Could not find archived log for sequence 5242 thread 2 under default destinations SQL <SELECT name FROM gv$archived_log WHERE sequence# = :ora_seq_no AND thread# = :ora_thread AND resetlogs_id = :ora_resetlog_id AND archived = 'YES' AND deleted = 'N>, error retrieving redo file name for sequence 5242, archived = 1, use_alternate = 0...
错误分析:
OGG会缺根据gv$archived_log查找归档日志位置.
可以通过参数指定归档日志目录
tranlogoptions PRIMARY altarchivelogdest instance ora1 /arch1, altarchivelogdest instance ora2 /arch2
配置该参数并加入primary选项可以避免Extract持续查询归档日志位置,降低对主库的压力,建议无论归档日志是否放在数据库中指定位置均应配置此参数
|
|