<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; OGG 版本兼容</title>
	<atom:link href="https://www.xifenfei.com/tag/ogg-%e7%89%88%e6%9c%ac%e5%85%bc%e5%ae%b9/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Wed, 04 Nov 2026 15:33:30 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>OGG-02246  Source redo compatibility level 19.0.0 requires trail FORMAT 12.2 or higher</title>
		<link>https://www.xifenfei.com/2024/12/ogg-02246.html</link>
		<comments>https://www.xifenfei.com/2024/12/ogg-02246.html#comments</comments>
		<pubDate>Thu, 05 Dec 2024 15:42:04 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[GoldenGate]]></category>
		<category><![CDATA[FORMAT RELEASE]]></category>
		<category><![CDATA[OGG 版本兼容]]></category>
		<category><![CDATA[OGG-02246]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=11055</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2024/12/ogg-02246.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2024/12/ogg-02246.html" target="_blank">OGG-02246  Source redo compatibility level 19.0.0 requires trail FORMAT 12.2 or higher</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>在一些情况下,我们会遇到某些原因,在源端和目标端部署不同版本的ogg,如果是目标端版本高于源端版本,一般没有问题,但是如果源端版本较高,需要考虑在抽取和传输进程中加上类似这样的配置</p>
<pre class="brush: bash; title: ; notranslate">
EXTTRAIL &lt;trail file&gt;, FORMAT RELEASE 11.2
 
RMTTRAIL &lt;trail file&gt;, FORMAT RELEASE 11.2
</pre>
<p>需要注意ogg 19版本设置FORMAT RELEASE 参数最低只能12.2,否则就会出现类似报错,导致进程无法启动</p>
<pre class="brush: bash; title: ; notranslate">
2024-12-05 15:06:59  INFO    OGG-02089  Source redo compatibility version is: 19.0.0.

2024-12-05 15:06:59  INFO    OGG-00546  Default thread stack size: 10485760.

Source Context :
  SourceModule     : [er.redo.ora]
  SourceID         : [er/redo/oracle/redoora.c]
  SourceMethod     : [validateOutTrailFileCompatibility]
  SourceLine       : [6931]
  ThreadBacktrace  : [15] elements
                   : [/ogg/libgglog.so(CMessageContext::AddThreadContext())]
                   : [/ogg/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...))]
                   : [/ogg/libgglog.so(_MSG_String_String(CSourceContext*, int, char const*, char const*, CMessageFactory::MessageDisposition))]
                   : [/ogg/extract()]
                   : [/ogg/extract(RedoAPI::createInstance(ggs::gglib::ggdatasource::DataSource*, ggs::gglib::ggapp::ReplicationContext*))]
                   : [/ogg/extract(ggs::er::OraTranLogDataSource::setup())]
                   : [/ogg/extract(ggs::gglib::ggapp::ReplicationContext::establishStartPoints(char, ggs::gglib::ggdatasource::DataSourceParams c
onst&amp;))]
                   : [/ogg/extract(ggs::gglib::ggapp::ReplicationContext::initializeDataSources(ggs::gglib::ggdatasource::DataSourceParams&amp;))]
                   : [/ogg/extract()]
                   : [/ogg/extract(ggs::gglib::MultiThreading::MainThread::ExecMain())]
                   : [/ogg/extract(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*))]
                   : [/ogg/extract(ggs::gglib::MultiThreading::MainThread::Run(int, char**))]
                   : [/ogg/extract(main)]
                   : [/lib64/libc.so.6(__libc_start_main)]
                   : [/ogg/extract()]

2024-12-05 15:06:59  ERROR   OGG-02246  Source redo compatibility level 19.0.0 requires trail FORMAT 12.2 or higher.

2024-12-05 15:06:59  ERROR   OGG-01668  PROCESS ABENDING.

</pre>
<p>出现这个问题主要是从oracle 12.2开始引入了BigSCN机制,基于目前客户比较常见的数据库版本,最可能出现这类问题的是:源端19c版本数据库,目标端是11.2版本数据库.对于这类同步需求,可以在目标端也部署19版本ogg for 11.2数据库版本来解决</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/12/ogg-02771.html" rel="bookmark" class="crp_title">OGG-02771 Input trail file  format RELEASE 19.1 is different from previous trail file form at RELEASE 11.2.</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/11/ogg-01777.html" rel="bookmark" class="crp_title">OGG-01777  Extract abended as it ran out of sequence numbers used to create TRAIL files</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/01/goldengate%e9%80%9a%e7%94%a8%e9%85%8d%e7%bd%ae.html" rel="bookmark" class="crp_title">goldengate通用配置</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/05/goldengate-%e9%85%8d%e7%bd%aeoracle-to-mysql.html" rel="bookmark" class="crp_title">Goldengate 配置oracle to mysql</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/01/%e4%bd%bf%e7%94%a8goldengate%e5%90%8c%e6%ad%a5oracle.html" rel="bookmark" class="crp_title">使用goldengate同步oracle</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/11/ogg%e4%b8%adtime-since-chkpt%e6%98%be%e7%a4%baunknown%e8%a7%a3%e5%86%b3.html" rel="bookmark" class="crp_title">ogg中Time Since Chkpt显示unknown解决</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/01/%e4%bd%bf%e7%94%a8goldengate%e5%90%8c%e6%ad%a5mysql.html" rel="bookmark" class="crp_title">使用goldengate同步mysql</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/02/goldengate%e5%90%8c%e6%ad%a5sql-server-to-oracle.html" rel="bookmark" class="crp_title">goldengate同步sql server to oracle</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/10/firebirdext_firebird-recovery-tool.html" rel="bookmark" class="crp_title">Firebird 损坏数据库数据抢救工具&#8212;firebirdext</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/11/error-ogg-01224-tcpip-error-110-connection-timed-out-retries-exceeded.html" rel="bookmark" class="crp_title">ERROR OGG-01224 TCP/IP error 110 (Connection timed out); retries exceeded.</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/12/%e6%97%b6%e9%97%b4%e4%b8%8d%e5%90%8c%e6%ad%a5%e5%af%bc%e8%87%b4ogg%e9%83%a8%e7%bd%b2%e5%bc%82%e5%b8%b8.html" rel="bookmark" class="crp_title">时间不同步导致ogg部署异常</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/01/goldedgate-%e5%88%9d%e5%a7%8b%e5%8c%96%e6%95%b0%e6%8d%ae.html" rel="bookmark" class="crp_title">goldedgate 初始化数据</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2024/12/ogg-02246.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
