Oracle GoldenGate 监控工具:ggserr.log 错误日志不可忽视.pdf
文本预览下载声明
DDBBAA nneevveerr sslleeeepp--DDBBAA,,永永不不眠眠
FFooccuuss oonn OOrraaccllee DDaattaabbaassee,, GGooddeennGGaattee aanndd UUnniixx
[[ 顶顶]] OOrraaccllee GGoollddeennGGaattee 监监控控工工具具::ggggsseerrrr..lloogg 错错误误 日日志志不不可可忽忽视视
分类: Oracle GoldenGate 2013-03-05 23:42 799人阅读 评论 (0) 收藏 举报
OracleGoldenGateggserr.logerror log监控
Oracle 原厂最近在生产环境的主数据库安装了 OEM 12C 的监控插件后,主数据库对外十几个库同步同步的
Oracle GoldenGate 实例出现异常,疯狂地往 GoldenGate 根 目录的 ggserr.log 输入出如下错误日志:
2013-02-22 22:33:26 WARNING OGG-01930 Oracle GoldenGate Capture for Oracle, pcqstqz1.prm :
Datastore error in dirbdb: BDB0060 PANIC: fatal region error detected; run recovery.
2013-02-22 22:33:26 WARNING OGG-01930 Oracle GoldenGate Capture for Oracle, pzj_cx9.prm :
Datastore error in dirbdb: BDB0060 PANIC: fatal region error detected; run recovery.
2013-02-22 22:33:26 WARNING OGG-01930 Oracle GoldenGate Capture for Oracle, pzj_cx9.prm :
Datastore error in dirbdb: BDB0060 PANIC: fatal region error detected; run recovery.
2013-02-22 22:33:26 WARNING OGG-01930 Oracle GoldenGate Capture for Oracle, pzj_cx9.prm :
Datastore error in dirbdb: BDB0060 PANIC: fatal region error detected; run recovery.
2013-02-22 22:33:26 WARNING OGG-01930 Oracle GoldenGate Capture for Oracle, pcqstqz1.prm :
Datastore error in dirbdb: BDB0060 PANIC: fatal region error detected; run recovery.
对于我这个刚刚真正意义上接触 GoldenGate 的人来说可是心惊胆战,500G 的/goldengate VG 不到几天就被
1-200 G 的ggserr.log日志撑的差不多了。这个文件终于开始走入我的视野了。
ggserr.log 对于 GoldenGate 监控来说非常重要,只是我们很少关注,Oracle 原厂工程师来了都会看这个。
利用 Oracle GoldenGate 错误日志可以查看许多非常重要的信息,比如:
GGSCI 命令的历史记录
停止和启动的 Oracle GoldGate 进程
已经执行过的处理信息
出现的错误
一些有用的 INFO 和 WARNING 信息
由于 ggserr.log 错误日志按发生的顺序显示事件,因此在定位错误原因的时候它是一个非常好的
工具。比如,你在定位问题的时候想找出:
哪个时间点停止了某个进程
某个进程无法进行TCP/IP 通信或建立数据库连接
某个进程无法打开某个文件
有很多方法可以查看 ggserr.log 错误日志:
1、使用标准的 shell 命令在 Oracle GoldenGate 根 目录中查看 ggserr.log
2、通过 Oracle GoldenGate Director 监控工具来查看
3、在 GGSCI 中通过 VIEW GGSEVT 命令查看
其中,VIEW GGSEVT 命令的语法:VIEW GGSEVT
很多时候
显示全部