序号 问题 解决方案
1 "2019-04-13 20:23:55 ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, e_db1.prm: The number of Oracle redo threads (2) is not the same as the number of checkpoint threads (1). EXTRACT groups on RAC systems should be created with the THREADS parameter (e.g., ADD EXT <group name>, TRANLOG, THREADS 2, BEGIN...).
2019-04-13 20:23:55 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, e_db1.prm: PROCESS ABENDING.
2019-04-13 20:23:57 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (opdb1):

info all." "e进程的参数需要新增theads 2

原因:

add extract e_db1, tranlog,threads 2, begin now"

2 "2019-04-14 11:01:17 INFO OGG-01677 Oracle GoldenGate Collector: Waiting for connection (started dynamically).
2019-04-14 11:01:17 INFO OGG-01228 Oracle GoldenGate Collector: Timeout in 300 seconds.
2019-04-14 11:01:17 INFO OGG-01677 Oracle GoldenGate Collector: Waiting for connection (started dynamically).
2019-04-14 11:01:17 INFO OGG-01228 Oracle GoldenGate Collector: Timeout in 300 seconds."

原因:

忽略,会自动重启

3 "2019-04-14 11:01:04 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, d_card.prm: Output file ./dirdat/dp is using format RELEASE 10.4/11.1.
2019-04-14 11:01:04 INFO OGG-01026 Oracle GoldenGate Capture for Oracle, d_card.prm: Rolling over remote file ./dirdat/dp000001.
2019-04-14 11:01:04 INFO OGG-01053 Oracle GoldenGate Capture for Oracle, d_card.prm: Recovery completed for target file ./dirdat/dp000001, at RBA 459.
2019-04-14 11:01:04 INFO OGG-01057 Oracle GoldenGate Capture for Oracle, d_card.prm: Recovery completed for all targets.
2019-04-14 11:01:04 ERROR OGG-02171 Oracle GoldenGate Capture for Oracle, d_card.prm: Error reading LCR from data source. Status 500, data source type 0.
2019-04-14 11:01:04 ERROR OGG-01091 Oracle GoldenGate Capture for Oracle, d_card.prm: Unable to open file ""./dirdat/lt000000032"" (error 2, No such file or directory).
2019-04-14 11:01:04 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, d_card.prm: PROCESS ABENDING.
2019-04-14 11:01:04 WARNING OGG-06600 Oracle GoldenGate Capture for Oracle, d_symb.prm: The remote peer for remote trail ./dirdat/dr does not support 9 digit seqlen feature. Continuing with 6 digit se"

原因:

删除d进程,重新添加d进程

4 "2019-04-14 12:22:11 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, r_card.prm: Failed to retrieve column list handle for table CARD.CBSD_SOCKET_CONFIG.
2019-04-14 12:22:11 ERROR OGG-00199 Oracle GoldenGate Delivery for Oracle, r_card.prm: Table CARD.CBSD_SOCKET_CONFIG does not exist in target database.
2019-04-14 12:22:11 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, r_card.prm: PROCESS ABENDING.

原因:
" "1.、在e进程中排除相关报错表
2.查找r进程最后一个日志rba号,修改rba号,启动r进程
[opdb1@sdb1db07:/db/db1/app/ogg/dirdat]$ ls -la
total 1520
drwxrwxr-x 2 opdb1 oinstall 4096 Apr 14 11:20 .
-rw-rw-rw- 1 opdb1 oinstall 3388 Apr 14 14:26 dp000006

[opdb1@sdb1db07:/db/db1/app/ogg/dirdat]$ ../logdump
Logdump 152 >open dp000002
Current LogTrail is /db/db1/app/ogg/dirdat/dp000002
Logdump 153 >n

2019/04/14 11:06:04.410.714 FileHeader Len 451 RBA 0
Name: *FileHeader*
3000 01a7 3000 0008 4747 0d0a 544c 0a0d 3100 0002 | 0...0...GG..TL..1...
0002 3200 0004 4000 0000 3300 0008 02f2 aca8 45be | ..2...@...3.......E.
335a 3400 002b 0029 7572 693a 7363 6f72 6564 6230 | 3Z4..+.)uri:sdb1db0
313a 3a63 7262 616e 6b3a 636f 7265 3a61 7070 3a6f | 1::db:db1:app:o
6767 3a44 5f43 4152 4436 0000 1300 112e 2f64 6972 | gg:D_CARD6....../dir
6461 742f 6470 3030 3030 3032 3700 0001 0138 0000 | dat/dp0000027....8..
0400 0000 0239 0000 0800 0000 0000 0002 083a ff00 | .....9...........:..

Logdump 154 >n

2019/04/14 11:07:42.835.745 RestartAbend Len 0 RBA 459
Name:
After Image: Partition 0 G s

Logdump 155 >n ---跳转到最后一个,找到RBA

---GGSCI中执行如下:
GGSCI (sdb1db07) 48> alter r_symb,extrba 2238
REPLICAT altered.
GGSCI (sdb1db07) 51> start r_symb
"
5 "2019-04-14 15:13:04 INFO OGG-01020 Processed extract process RESTART_ABEND record at seq 6, rba 3876 (aborted 0 records).
2019-04-14 15:13:04 ERROR OGG-00665 OCI Error getting OCI_ATTR_NAME for UDT (status = 24328-ORA-24328: illegal attribute value), SQL<Not available>.
Reading ./dirdat/dp000006, current RBA 3937, 0 records"

原因:

不支持raw类型,

排除user.SA_Q_HEADER表

6 "2019-04-14 15:33:14 ERROR OGG-01168 Oracle GoldenGate Delivery for Oracle, r_card.prm: Encountered an update for target table CARD.CD_CARD_SIGN_TBL, which has no unique key defined. KEYCOLS can b
e used to define a key. Use ALLOWNOOPUPDATES to process the update without applying it to the target database. Use APPLYNOOPUPDATES to force the update to be applied using all columns in both the SET
and WHERE clause.
2019-04-14 15:33:14 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, r_card.prm: PROCESS ABENDING."

原因:

r进程参数文件中新增ALLOWNOOPUPDATES 参数

7 "2019-04-14 17:20:32 WARNING OGG-01154 Oracle GoldenGate Delivery for Oracle, r_symb.prm: SQL error 1 mapping user.FM_CCY_GAP_PERIOD to user.FM_CCY_GAP_PERIOD OCI Error ORA-00001: unique constr
aint (user.KCG_PK) violated (status = 1), SQL <INSERT INTO ""user"".""FM_CCY_GAP_PERIOD"" (""GAP_TYPE"",""CCY"",""PERIOD_NO"",""PERIOD_TYPE"",""START_DATE"",""END_DATE"") VALUES (:a0,:a1,:a2,:a3,:a4,:a5)>.
2019-04-14 17:20:32 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, r_symb.prm: Repositioning to rba 590501 in seqno 6.
2019-04-14 17:20:32 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, r_symb.prm: Error mapping from user.FM_CCY_GAP_PERIOD to

user.FM_CCY_GAP_PERIOD."

原因:

truncate表导致两边数据不一致,需要排除truncate表

8 "这四张表报错,应用反馈没有truncate,
user1 sa_user_tbl
user ecif_batch_bus_date
user1 sa_user_dbname
user1 sa_user_profile

2019-04-15 09:19:26 INFO OGG-06508 Oracle GoldenGate Capture for Oracle, d_card.prm: Wildcard MAP (TABLE) resolved (entry user1.*): TABLE ""user1"".""SA_USER_TBL"".
2019-04-15 09:19:26 WARNING OGG-06439 Oracle GoldenGate Capture for Oracle, d_card.prm: No unique key is defined for table SA_USER_TBL. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
2019-04-15 09:19:26 INFO OGG-06509 Oracle GoldenGate Capture for Oracle, d_card.prm: Using the following key columns for source table user1.SA_USER_TBL: USER_ID, USER_NAME, USER_LANG, USER_DESC, ACCOUNT_STATUS, ID, USER_TYPE.
2019-04-15 09:19:26 INFO OGG-06508 Oracle GoldenGate Capture for Oracle, d_card.prm: Wildcard MAP (TABLE) resolved (entry user1.*): TABLE ""user1"".""SA_USER_TBL"".
2019-04-15 09:19:26 WARNING OGG-06439 Oracle GoldenGate Capture for Oracle, d_card.prm: No unique key is defined for table SA_USER_TBL. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
2019-04-15 09:19:26 WARNING OGG-02081 Oracle GoldenGate Capture for Oracle, d_card.prm: Detected duplicate TABLE/MAP entry for source table user1.SA_USER_TBL and target table user1.SA_USER_TBL. Using prior TABLE/MAP specification.
" "cause:SA_USER_TBL
two key in this table user1.
add constraint SAUT_PK primary key (USER_ID)
add constraint SAUT_UK unique (ID)
解决办法:
在source和target端,问题表后面都加上keycols选项,告诉ogg真正的主键。

添加keycols参数后解决问题。
MAP XXXXXXXXX_HIS ,TARGET XXXXXXXXX_HIS , keycols(id) ;

总结:如果source端表有2个唯一键,那么一定在extract参数中用keycols参数指出主键列。
target端replicat进程参数也要用keycols参数指出主键列。"

转 OGG 部署阶段常见问题的更多相关文章

  1. Oracle HA 之 OGG部署流水

    1.GG组件及其功能简介:    manager进程:总管其他所以进程及处理相应GGSCI命令.    capture进程:从源端的联机日志文件或归档日志文件抓取commit的信息.    sourc ...

  2. linux(centos) 项目部署阶段相关命令汇总

    1.ssh免密码登陆主要命令cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys-->添加公钥service sshd restart -- ...

  3. 161118、linux(centos) 项目部署阶段相关命令汇总

    1.ssh免密码登陆 主要命令 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys-->添加公钥 service sshd restart ...

  4. iis 部署网站常见问题

    环境IIS6.0,win2003server 首先打开iis,左边菜单选中”Web服务扩展“,讲Active Server Pages 和 ASP.NET v2.0.50727设置为允许 1.创建网站 ...

  5. 部署webservice常见问题汇总

    问题一 转自http://blog.csdn.net/xingxing513234072/article/details/38615997 处理程序“WebServiceHandlerFactory- ...

  6. Django对静态文件的处理——部署阶段

    参考:http://blog.makto.me/post/2012-11-09/static-files-in-django-deployment HTML模板中的用法: {% load static ...

  7. VMware下Debian开发环境部署之常见问题记录

    本文讲介绍windows作为宿主机,linux虚拟机作为编译环境的开发环境搭建中最常用到的三个问题,详细描述了解决过程. 目录: 1.网路配置: 2.分辨率设置: 3.共享网盘设置: 1.网络设置,V ...

  8. .net部署时常见问题

    站点提示“不允许的父路径”怎么办 error: 40 - Could not open a connection to SQL Server解决办法 无法识别的属性“targetFramework”. ...

  9. IIS部署网站常见问题

    有时候Web项目在VS开发环境下没有问题,但是在IIS服务器下却出现了问题. 这让人很抓狂. 在这里总结下通常发生这种问题的几个主要原因. 1.IIS注册.Net框架. 1.1:C:\WINDOWS\ ...

随机推荐

  1. YII2 选择布局

    方案1:控制器内成员变量 public $layout = false; //不使用布局 public $layout = "main"; //设置使用的布局文件 方案2:控制器成 ...

  2. JavaScript词法作用域经典练习题

    <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8& ...

  3. [转]Linux Swap交换分区、交换文件

    free -m 在日常应用中,通过上述命令看到交换空间的使用情况为0,那么你就不需要很大的虚拟内存,甚至可以完全不需要另辟硬盘空间作为虚拟内存.那么,万一有一天你需要了呢,难道要重装系统?大可不必,在 ...

  4. 三)EasyUI layout

    参考文档 http://www.jeasyui.com/documentation/layout.php

  5. GC分析中提到的根对象是什么

    一些文章在分析GC时,不可逾越的说到要先从根对象扫描出不可达对象,然后标记那些不可达对象为垃圾.那么源头根对象是什么玩意呢? 几分钟后google到比较可信源是http://stackoverflow ...

  6. Android-Intent意图传递数据

    Intent意图传递基本数据类型: OuterActivity 激活启动 OneActivity 用Intent携带基本数据类型: /** * Intent意图传递数据到另外一个Activity */ ...

  7. [LeetCode 题解]: Generate Parentheses

    Given n pairs of parentheses, write a function to generate all combinations of well-formed parenthes ...

  8. 求帮忙解决封装jquery图片滚动问题

    今天用jquery封装了点击图片滚动,但是发现在屏幕自适应时,图片停在的位置会随着屏幕大小而错位(我引入了pocketgrid.css响应式文件,但没办法去那边修改onsize事件...),求大神.. ...

  9. httpclient 解析excel

    http://www.blogjava.net/jayslong/archive/2011/04/21/convert_xls_and_xlsx_to_csv.html 分享用Java将Excel的x ...

  10. C#开源定时回调库PETimer的使用

    PETimer PETimer开源项目GitHub地址:点击跳转 PETimer 1.双端通用:基于C#语言实现的高效便捷计时器,可运行在服务器(.net core/.net framework)以及 ...