oracle goldengatee OGG-01028 报错求助

博客访问: 105497
博文数量: 27
注册时间:
IT168企业级官微
微信号:IT168qiye
系统架构师大会
微信号:SACC2013
分类: Oracle
OGG抽取进程报错如下:
ERROR&& OGG-01028& encountered commit SCN 739 (79) that is not greater than the highest
SCN already processed 101 (41) Redo Thread 2 (2) xid 18.24.xaff67d), starting seq.rb
a 8, scn 738 (78), commit seq.rba 6 commit timestamp
22:02:35.000000.
GGSCI (nhdb16) 16>& info ESCDB002
EXTRACT&&& ESCDB002& Last Started
11:03&& Status ABENDED
Checkpoint Lag&&&&&& 00:00:02 (updated 11:24:37 ago)
Log Read Checkpoint& Oracle Redo Logs
&&&&&&&&&&&&&&&&&&&&
21:28:38& Thread 1, Seqno 4735, RBA
Log Read Checkpoint& Oracle Redo Logs
&&&&&&&&&&&&&&&&&&&&
21:28:54& Thread 2, Seqno 3585, RBA
-rw-rw-rw-&&& 1 oracle&& oinstall&&& 9999525 Mar 20 16:36 esc00019
-rw-rw-rw-&&& 1 oracle&& oinstall&&& 7943251 Mar 20 18:55 esc00020
Solution Details:
1. Do an ETROLLOVER on Extract, and take note of the new sequence number of the trail file.
ALTER EXTRACT ESCDB002, ETROLLOVER
2. Start extract
START EXTRACT ESCDB002
GGSCI (nhdb16) 76> info ESCDB002
EXTRACT&&& ESCDB002& Last Started
15:05&& Status RUNNING
Checkpoint Lag&&&&&& 20:10:38 (updated 00:00:08 ago)
Log Read Checkpoint& Oracle Redo Logs
&&&&&&&&&&&&&&&&&&&&
18:54:46& Thread 1, Seqno 4791, RBA
Log Read Checkpoint& Oracle Redo Logs
&&&&&&&&&&&&&&&&&&&&
18:55:00& Thread 2, Seqno 3661, RBA
3. Send PUMP, LOGEND, to see if it's at the end of the previous trail.
SEND EXTRACT PNFHC002, LOGEND
4. Once it is at the end of the trail file, You must stop the pump, and do an ETROLLOVER for it too. Take note of the new trail file sequence number that is created from this step.
STOP EXTRACT PNFHC002
ALTER EXTRACT PNFHC002, ETROLLOVER
GGSCI (nhdb16) 80> info PNFHC002
EXTRACT&&& PNFHC002& Initialized&&
14:35&& Status STOPPED
Checkpoint Lag&&&&&& 00:00:00 (updated 00:00:11 ago)
Log Read Checkpoint& File /gglog/dirdat/enfzh002/esc00020
&&&&&&&&&&&&&&&&&&&&
18:54:47.000000& RBA 7943251
14:17:30& INFO&&& OGG-01520& Rollover performed.& For each affected output trail of Version 10 or higher format, after starting the source extract, issue ALTER EXTSEQNO for that trail's reader (either pump EXTRACT or REPLICAT) to move the reader's scan t& it will not happen automatically.
EXTRACT altered.
[nhdb25:oracle]ls -la
drwxr-xr-x&&& 2 oracle&& oinstall&&&&&&& 256 Mar 20 21:29 .
drwxr-xr-x&& 12 oracle&& oinstall&&&&&& 4096 Mar 14 16:53 ..
-rw-rw-rw-&&& 1 oracle&& oinstall&&
Mar 20 18:55 rsc0004
5. Alter the pump to SEQNO to the new trail file created from step #1.
ALTER EXTRACT PNFHC002, EXTSEQNO 21 EXTRBA 0
6. Restart pump
START EXTRACT PNFHC002
7. Send Replicat, LOGEND to make sure it has processed all the remaining data, and stop Replicat.
SEND REPLICAT RSCDB002, LOGEND
STOP REPLICAT RSCDB002
8. If replicat is not at end of trail, generate a report and forcestop replicat
SEND REPLICAT RSCDB002, REPORT
STOP REPLICAT RSCDB002
9. Add the following parameters to replicat parameter file to allow replicat to process each trail record as a single transaction, or set them to 1 if you have any of these parameters:
GROUPTRANSOPS 1
MAXTRANSOPS 1
10. Restart replicat
START REPLICAT RSCDB002
11. Once replicat has completely processed the trail, stop the replicat
STOP REPLICAT RSCDB002
12. Edit the replicat parameter file:
&&&& - Add parameter HANDLECOLLISIONS to Replicat parameter file
&&&& - Remove or comment out GROUPTRANSOPS and MAXTRANSOPS or revert them back to their original values.
Note: There are pre-conditions for using& HANDLECOLLISIONS . Ther emust be either
a. no pkupdates
b. extract& has "FETCHOPTIONS FETCHPKUPDATECOLS"Also all the tables should have Primary key or unique index on the table to avoid data integrity issues when using handlecollisions.
13. ALTER REPLICAT, SEQNO to the new trail file created in step #4.
ALTER REPLICAT RSCDB002, EXTSEQNO 5 EXTRBA 0
14. Start Replicat
START REPLICAT RSCDB002
15. Once Replicat has processed the out of order SCN operations, disable HANDLECOLLISIONS. You could also look for the CSN and wait for Replicat to checkpoint past it.
SEND REPLICAT RSCDB002, NOHANDLECOLLISIONS.
16.Edit the replicat parameter and comment out the HANDLECOLLISIONS parameter. You do not need to stop/restart replicat. This will ensure that on any subsequent replicat restarts the parameter is disabled.
根据oracle给出的文档,测试参数如下:
THREADOPTIONS MAXCOMMITPROPAGATIONDELAY 60000 IOLATENCY 90000
阅读(448) | 评论(0) | 转发(0) |
相关热门文章
给主人留下些什么吧!~~
请登录后评论。1039人阅读
GoldenGate(5)
现象:GG做init data load时报错OGG-00869 OGG-00199
15:54:18 INFO OGG-03501 Oracle GoldenGate Delivery for Oracle, initrep.prm: WARNING: NLS_LANG environment variable is invalid or not set. Using operating system character set value of AL32UTF8.
15:54:18 INFO OGG-01236 Oracle GoldenGate Delivery for Oracle, initrep.prm: Trace file /tmp/s.out opened.
15:54:19 INFO OGG-01815 Oracle GoldenGate Delivery for Oracle, initrep.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/home/oracle/ogg/dirtmp.
15:54:19 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, initrep.prm: REPLICAT INITREP started.
15:54:19 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, initrep.prm: Failed to retrieve column list handle for table SYMICS.A.
15:54:19 ERROR OGG-00199 Oracle GoldenGate Delivery for Oracle, initrep.prm: Table SYMICS.A does not exist in target database.
15:54:24 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, initrep.prm: PROCESS ABENDING.
15:54:24 INFO OGG-01237 Oracle GoldenGate Delivery for Oracle, initrep.prm: Trace file /tmp/s.out closed.
TARGET端只建立了数据库账号,没有创建相关表,如下:
&SQL& describe SYMICS.A
ORA-04043: object SYMICS.A does not exist
对于init data load时,需要先在目标端将source的表创建好,否则会报错。
解决方法:
init data load前,先通过exp/imp导入表定义。
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:89545次
积分:2056
积分:2056
排名:第13769名
原创:111篇
转载:14篇
评论:16条
(2)(3)(1)(2)(12)(1)(4)(2)(8)(1)(8)(10)(66)(1)(3)(1)(1)ogg奇怪的问题 goldengate同步无反应,不成功,ggserr.log也没有报错日志,进程不abended
[问题点数:100分,结帖人magikarp]
ogg奇怪的问题 goldengate同步无反应,不成功,ggserr.log也没有报错日志,进程不abended
[问题点数:100分,结帖人magikarp]
不显示删除回复
显示所有回复
显示星级回复
显示得分回复
只显示楼主
2016年1月 Oracle大版内专家分月排行榜第一2015年6月 Oracle大版内专家分月排行榜第一2015年4月 Oracle大版内专家分月排行榜第一2015年3月 Oracle大版内专家分月排行榜第一2015年2月 Oracle大版内专家分月排行榜第一2014年6月 Oracle大版内专家分月排行榜第一2009年11月 Oracle大版内专家分月排行榜第一2009年10月 Oracle大版内专家分月排行榜第一
2015年9月 Oracle大版内专家分月排行榜第二2015年7月 Oracle大版内专家分月排行榜第二2015年1月 Oracle大版内专家分月排行榜第二2014年12月 Oracle大版内专家分月排行榜第二2014年11月 Oracle大版内专家分月排行榜第二2014年8月 Oracle大版内专家分月排行榜第二2014年7月 Oracle大版内专家分月排行榜第二2014年5月 Oracle大版内专家分月排行榜第二2010年1月 Oracle大版内专家分月排行榜第二2009年9月 Oracle大版内专家分月排行榜第二
本帖子已过去太久远了,不再提供回复功能。Oracle Goldengate在HP平台裸设备文件系统OGG-01028处理_数据库技术_Linux公社-Linux系统门户网站
你好,游客
Oracle Goldengate在HP平台裸设备文件系统OGG-01028处理
来源:Linux社区&
作者:Linux
某电信运营商3G系统与4G系统建立号码核对系统,因为两个系统的号码状态不一致。源端使用 Goldengate软件,目标端使用Kafka自写CUE程序进行解析源端传输过去的Trail文件。目标端不采用Goldengate的复制进程进行解析。
在某系统中创建Oracle Goldengate相关进程mgr,抽取,投递进程之后,发现抽取进程异常终止。且view ggsevt后发现如下报错:
&16:40:57& ERROR& &OGG-01028& Oracle&GoldenGate&Capture&for&Oracle,&ext07cb.prm:& error&9&(Bad&file&number)&positioning&into&log,&rba&.
16:58:36 &ERROR & OGG-01028 &Oracle GoldenGate Capture for Oracle, ext07cb.prm: &Error validating file info for sequence 43907 because of an inval
id thread ID (2)
查询了Oracle MOS,发现我们用的OGG版本11.2.1.0.1在HP IA64系统上面有这样的BUG。
将Oracle Goldengate进行升级即可解决该问题。记录一下。
更多Oracle相关信息见 专题页面
本文永久更新链接地址:
相关资讯 & & &
& (07月27日)
& (09/20/:00)
& (08/27/:01)
& (10/10/:17)
& (09/16/:31)
& (08/25/:20)
   同意评论声明
   发表
尊重网上道德,遵守中华人民共和国的各项有关法律法规
承担一切因您的行为而直接或间接导致的民事或刑事法律责任
本站管理人员有权保留或删除其管辖留言中的任意内容
本站有权在网站内转载或引用您的评论
参与本评论即表明您已经阅读并接受上述条款

我要回帖

更多关于 goldengate 下载 的文章

 

随机推荐