<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Monitoring Index Usage not reliable in 10.2.0.4</title>
	<atom:link href="http://www.ora-solutions.net/web/2009/05/12/monitoring-index-usage-not-reliable-in-10204/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ora-solutions.net/web/2009/05/12/monitoring-index-usage-not-reliable-in-10204/</link>
	<description>Indepented Oracle consultant</description>
	<lastBuildDate>Tue, 07 Sep 2010 18:53:34 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Martin</title>
		<link>http://www.ora-solutions.net/web/2009/05/12/monitoring-index-usage-not-reliable-in-10204/comment-page-1/#comment-30</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 07 Jul 2009 12:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ora-solutions.net/web/?p=651#comment-30</guid>
		<description>I have just found out that &quot;index rebuilds&quot; also interfere with index monitoring:

&lt;pre&gt;
SQL&gt; select * from v$object_usage

INDEX_NAME TABLE_NAME  MON USE START_MONITORING    END_MONITORING
---------- ----------- --- --- ------------------- --------------
IDX1       IDXTEST     YES NO  06/07/2009 19:20:58
IDX2       IDXTEST     YES NO  06/07/2009 19:21:04


SQL&gt; alter index IDX1 rebuild;

Index altered.

SQL&gt; alter index IDX2 rebuild online;

Index altered.

SQL&gt; select * from v$object_usage;

INDEX_NAME  TABLE_NAME  MON USE START_MONITORING    END_MONITORING
----------- ----------- --- --- ------------------- --------------
IDX1        IDXTEST     NO  YES 06/07/2009 19:20:58
IDX2        IDXTEST     NO  NO  06/07/2009 19:21:04
&lt;/pre&gt;

So, the commands &quot;ALTER INDEX ... REBUILD&quot; and &quot;ALTER INDEX ... REBUILD ONLINE&quot; both set the Mon(itor) flag to NO. Moreover the &quot;ALTER INDEX .. REBUILD&quot; also sets the USE Flag to YES.

I have found this information in Norbert Debes book &quot;Secrets of the Oracle Database&quot;.</description>
		<content:encoded><![CDATA[<p>I have just found out that &#8220;index rebuilds&#8221; also interfere with index monitoring:</p>
<pre>
SQL> select * from v$object_usage

INDEX_NAME TABLE_NAME  MON USE START_MONITORING    END_MONITORING
---------- ----------- --- --- ------------------- --------------
IDX1       IDXTEST     YES NO  06/07/2009 19:20:58
IDX2       IDXTEST     YES NO  06/07/2009 19:21:04

SQL> alter index IDX1 rebuild;

Index altered.

SQL> alter index IDX2 rebuild online;

Index altered.

SQL> select * from v$object_usage;

INDEX_NAME  TABLE_NAME  MON USE START_MONITORING    END_MONITORING
----------- ----------- --- --- ------------------- --------------
IDX1        IDXTEST     NO  YES 06/07/2009 19:20:58
IDX2        IDXTEST     NO  NO  06/07/2009 19:21:04
</pre>
<p>So, the commands &#8220;ALTER INDEX &#8230; REBUILD&#8221; and &#8220;ALTER INDEX &#8230; REBUILD ONLINE&#8221; both set the Mon(itor) flag to NO. Moreover the &#8220;ALTER INDEX .. REBUILD&#8221; also sets the USE Flag to YES.</p>
<p>I have found this information in Norbert Debes book &#8220;Secrets of the Oracle Database&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ora-solutions.net/web/2009/05/12/monitoring-index-usage-not-reliable-in-10204/comment-page-1/#comment-14</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 15 May 2009 21:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.ora-solutions.net/web/?p=651#comment-14</guid>
		<description>Hi Chris,

thank you for contribution. See you in Zurich.

Martin</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>thank you for contribution. See you in Zurich.</p>
<p>Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://www.ora-solutions.net/web/2009/05/12/monitoring-index-usage-not-reliable-in-10204/comment-page-1/#comment-13</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Fri, 15 May 2009 18:25:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ora-solutions.net/web/?p=651#comment-13</guid>
		<description>Hi Martin

Another case where MONITORING USAGE does a bad job is when an index is used to check a foreign key. 
So, all in all, MONITORING USAGE might help but we cannot simply take the information it provides without assessing what they really mean...

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Martin</p>
<p>Another case where MONITORING USAGE does a bad job is when an index is used to check a foreign key.<br />
So, all in all, MONITORING USAGE might help but we cannot simply take the information it provides without assessing what they really mean&#8230;</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
</channel>
</rss>
