2.看实际案例,有三个进程组配置好了:抓取数据进程组ext1,传送数据组pump1,应用数据组rep1,三个进程组都启动正常运行,ggserr也没有报错,ext1能正常从数据库抓取数据。但是因为pump进程组不能传送数据,所以,同步无反应。
GGSCI (paytest01) 45> info extract ext1
EXTRACT EXT1 Last Started 2017-10-26 18:34 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:09 ago)
Log Read Checkpoint Oracle Redo Logs
2017-10-27 11:57:15 Seqno 104, RBA 737280
SCN 0.3095938 (3095938)
GGSCI (paytest01) 51> info pump1
EXTRACT PUMP1 Last Started 2017-10-27 12:01 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:09 ago)
Log Read Checkpoint File dirdat/sp000000
First Record RBA 0
GGSCI (oracle93.weconex.com) 25> info replicat rep1
REPLICAT REP1 Last Started 2017-10-26 18:34 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:09 ago)
Log Read Checkpoint File dirdat/rp000000
First Record RBA 0
3.分析问题:pump进程读取目录dirdat目录下的sp文件,但是该目录下有这些文件。如:
[oracle@paytest01 gg]$ ls -l dirdat -h
total 3.1M
-rw-rw-rw- 1 oracle oinstall 24K Oct 26 18:30 sp000001
-rw-rw-rw- 1 oracle oinstall 246K Oct 26 18:34 sp000002
-rw-rw-rw- 1 oracle oinstall 2.9M Oct 27 11:31 sp000003
4.最后发现问题:pump1进程读取的是sp000000文件,但是只有sp000001文件,当然 First Record RBA是0.
如果pump进程组路径设置错误,也会出现一样的情况:goldengate同步无反应,不成功,ggserr也没有报错日志,进程不abended 。