[分享]如何在ORALCE的GoldenGate版本11 trace/trace2 ?_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 6798 | 回复: 0   主题: [分享]如何在ORALCE的GoldenGate版本11 trace/trace2 ?        下一篇 
shunzi
注册用户
等级:上尉
经验:782
发帖:133
精华:0
注册:2011-10-10
状态:离线
发送短消息息给shunzi 加好友    发送短消息息给shunzi 发消息
发表于: IP:您无权察看 2011-12-23 18:37:39 | [全部帖] [楼主帖] 楼主

How to get trace/trace2 in Oralce Goldengate Version 11?
Applies to:
Oracle GoldenGate - Version: 11.1.1.0.0 to 11.1.1.0.0 - Release: 11.1.1 to 11.1.1
Information in this document applies to any platform.
Goal
In OGG version 11, new tracing method is used for many old traces such as tltrace. But trace/trace2 are still supported in version 11. Bug 10098571 causes trace/trace2 may not be generated in early v11, and it was fixed in v11.1.1.0.4_001. Following is a workaround to generate trace/trace2 from extract/replicate, for the v11 version before v11.1.1.0.4_001.
Solution
This workaround needs to restart the extract/replicate, and the dynamic way of 'send /, trace ...' does not work.
1. add trace/trace2 parameter to the paramfile
e.g.,
trace ./my_trace1
trace2 ./my_trace2
2. under OGG installation home directory, create an xml file named gglog-.xml
for example, for replicate R1, the file name is gglog-R1.xml.
OS> cat gglog-R1.xml


如何在ORALCEGoldenGate版本11trace/trace2
适用于:
Oracle
GoldenGate-版本:11.1.1.0.011.1.1.0.0-版本:11.1.111.1.1
在这个文档中的信息适用于任何平台。
目标
OGG版本11中,新的跟踪方法用于许多老的痕迹,如tltrace。但trace/trace2仍然支持在版本11。可能不会产生错误10098571原因trace/trace2在早期的V11,它是在v11.1.1.0.4_001固定的。以下是解决方法生成提取/复制trace/trace2V11版本之前v11.1.1.0.4_001
解决方案
此替代方法需要重新启动的提取/复制和动态的方式发送/跟踪......不工作。

1trace/trace2参数添加到paramfile
例如,

trace ./my_trace1
trace2 ./my_trace2


2OGG安装主目录下,创建一个XML文件名为gglog.xml
例如,复制R1的,文件名是gglogR1.xml

OS>catgglog-R1.xml




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论