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
如何在ORALCE的GoldenGate版本11trace/trace2?
适用于:
OracleGoldenGate的-版本:11.1.1.0.0到11.1.1.0.0-版本:11.1.1至11.1.1
在这个文档中的信息适用于任何平台。
目标
在OGG版本11中,新的跟踪方法用于许多老的痕迹,如tltrace。但trace/trace2仍然支持在版本11。可能不会产生错误10098571原因trace/trace2在早期的V11,它是在v11.1.1.0.4_001固定的。以下是解决方法生成提取/复制trace/trace2,V11版本之前v11.1.1.0.4_001。
解决方案
此替代方法需要重新启动的提取/复制和动态的方式“发送/跟踪......”不工作。
1。trace/trace2参数添加到paramfile
例如,
trace ./my_trace1
trace2 ./my_trace2
2。OGG安装主目录下,创建一个XML文件名为gglog.xml
例如,复制R1的,文件名是gglogR1.xml。
OS>catgglog-R1.xml