<?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 v$logfile</title>
	<atom:link href="https://www.xifenfei.com/tag/ogg-vlogfile/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>Sun, 25 Oct 2026 13:02:42 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>ogg导致v$logfile查询频繁</title>
		<link>https://www.xifenfei.com/2018/11/ogg-vlogfile-frequent-query.html</link>
		<comments>https://www.xifenfei.com/2018/11/ogg-vlogfile-frequent-query.html#comments</comments>
		<pubDate>Fri, 16 Nov 2018 15:49:18 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[GoldenGate]]></category>
		<category><![CDATA[ogg v$logfile]]></category>
		<category><![CDATA[v$logfile访问频繁]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=7783</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2018/11/ogg-vlogfile-frequent-query.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/2018/11/ogg-vlogfile-frequent-query.html" target="_blank">ogg导致v$logfile查询频繁</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>在某些版本的ogg中发现ogg抽取进程对v$logfile视图查询影响比较大<br />
<a href="//www.xifenfei.com/wp-content/uploads/2018/11/20181116220104.png"><img src="//www.xifenfei.com/wp-content/uploads/2018/11/20181116220104.png" alt="20181116220104" width="1190" height="222" class="alignleft size-full wp-image-7784" /></a><br />
<hr />
对应的sql语句为:SELECT 1 FROM V$LOGFILE WHERE(STATUS NOT IN (&#8216;STALE&#8217;, &#8216;INVALID&#8217;) OR STATUS IS NULL) AND MEMBER <> :log_name AND EXISTS ( SELECT 1 FROM V$LOG WHERE GROUP# = V$LOGFILE.GROUP# AND THREAD# = :ora_thread AND SEQUENCE# = :ora_seq_no ) AND ROWNUM = 1<br />
查询mos发现相关问题描述:Query On V$logfile Running Excessive Number Of Times After upgrading ogg to 11.2.1.0.32 or 12.1.2.1.5 or later (Doc ID 2116395.1)和Bug 22650790 : CE 12.1.2.1.9: Query on v$logfile running excessive number of times<br />
<a href="//www.xifenfei.com/wp-content/uploads/2018/11/2116395.1.png"><img src="//www.xifenfei.com/wp-content/uploads/2018/11/2116395.1.png" alt="2116395.1" width="1493" height="402" class="alignleft size-full wp-image-7785" /></a><br />
<hr />
根据mos描述在ogg对应版本中设置:TRANLOGOPTIONS _ENABLESTREAMLINEDDBLOGREADER</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/04/enq-hw-contention.html" rel="bookmark" class="crp_title">数据文件自扩展引起&#8212;enq: HW &#8211; contention</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/11/file-system-corruption-oracle-recovery.html" rel="bookmark" class="crp_title">文件系统损坏导致数据文件异常恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/04/alco-recovery.html" rel="bookmark" class="crp_title">.ALCO 比特币加密勒索恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/04/chak1-recovery.html" rel="bookmark" class="crp_title">.CHAK1 比特币加密勒索恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/08/asm-disk-size-limit.html" rel="bookmark" class="crp_title">asm disk 大小限制</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/10/gandcrab-v5-0-4-recovery.html" rel="bookmark" class="crp_title">GANDCRAB V5.0.4 比特币加密oracle数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/01/vmware-vsphere6-0-%e5%88%9d%e8%af%95.html" rel="bookmark" class="crp_title">VMware vSphere6.0 初试</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/12/sql-bak-0-lost-data.html" rel="bookmark" class="crp_title">模拟sql server故障备份完成恢复实现数据0丢失</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/11/11-2-upgrade-18c.html" rel="bookmark" class="crp_title">Oracle 11.2升级到18C</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2013/04/oracle-7-3-4-%e6%88%aa%e5%9b%be%e6%ac%a3%e8%b5%8f.html" rel="bookmark" class="crp_title">ORACLE 7.3.4 截图欣赏</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/11/oracle-8i%e5%ae%89%e8%a3%85%e6%88%aa%e5%9b%be.html" rel="bookmark" class="crp_title">Oracle 8i安装过程截图</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/10/linux7-8-single-user.html" rel="bookmark" class="crp_title">redhat系列7/8进入单用户模式</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2018/11/ogg-vlogfile-frequent-query.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
