<?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"
	>
<channel>
	<title>Comments on: v$object_usage empty?</title>
	<atom:link href="http://www.oracloid.com/2006/05/vobject_usage-empty/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oracloid.com/2006/05/vobject_usage-empty/</link>
	<description>The Alex Gorbachev Oracle Blog</description>
	<pubDate>Fri, 21 Nov 2008 23:06:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Alex Gorbachev</title>
		<link>http://www.oracloid.com/2006/05/vobject_usage-empty/#comment-7</link>
		<dc:creator>Alex Gorbachev</dc:creator>
		<pubDate>Fri, 19 May 2006 23:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oracloid.com/?p=12#comment-7</guid>
		<description>Hi Lutz,

Your logic is correct. But it's a good security practice to lock accounts that own the objects and use separate application accounts having minimal set of DML/SELECT privileges on the object. If account is locked than you cannot login as this user. Of course, being DBA everything is possible but it's a hassle. Especially, if database have several schema hosting the objects (very common in our environments) than you need to login as different user several time - again hassle.

Anyway, even if rationale behind having V$OBJECT_USAGE is valid than is should be at least documented and the view better called V$USER_OBJECT_USAGE.

Thanks for the hint. To generalize it - monitoring should be enabled for, at least, one full cycle of product life, be it day, week, or month. In addition, it's a good idea to get in touch with development team and find out why the index was created in the first place (well, might not always be possible :).</description>
		<content:encoded><![CDATA[<p>Hi Lutz,</p>
<p>Your logic is correct. But it&#8217;s a good security practice to lock accounts that own the objects and use separate application accounts having minimal set of DML/SELECT privileges on the object. If account is locked than you cannot login as this user. Of course, being DBA everything is possible but it&#8217;s a hassle. Especially, if database have several schema hosting the objects (very common in our environments) than you need to login as different user several time - again hassle.</p>
<p>Anyway, even if rationale behind having V$OBJECT_USAGE is valid than is should be at least documented and the view better called V$USER_OBJECT_USAGE.</p>
<p>Thanks for the hint. To generalize it - monitoring should be enabled for, at least, one full cycle of product life, be it day, week, or month. In addition, it&#8217;s a good idea to get in touch with development team and find out why the index was created in the first place (well, might not always be possible :).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lutz_hartmann</title>
		<link>http://www.oracloid.com/2006/05/vobject_usage-empty/#comment-6</link>
		<dc:creator>lutz_hartmann</dc:creator>
		<pubDate>Fri, 19 May 2006 17:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oracloid.com/?p=12#comment-6</guid>
		<description>Hi Alex,
to my mind the question is:
why do I monitor usage of indexes?
The answer is: because I want to find out, if I have indexes which I do not need because they atre never ued by teh application and just consume loads of space on disk.
Now who could be interested in this question =&#62; 
1. the dba who wants to reclaim disk space
2. the dba who wants to get rid of indexes which slow down the performance because they need to be maintained.

In both cases it is the dba and if she/he enables table monitoring he/she will be able to see the used indexes.

On hint:
do not drop an idex before the last report has been run. Maybe there is one report which is only run once a year or every n years which needs the index!</description>
		<content:encoded><![CDATA[<p>Hi Alex,<br />
to my mind the question is:<br />
why do I monitor usage of indexes?<br />
The answer is: because I want to find out, if I have indexes which I do not need because they atre never ued by teh application and just consume loads of space on disk.<br />
Now who could be interested in this question =&gt;<br />
1. the dba who wants to reclaim disk space<br />
2. the dba who wants to get rid of indexes which slow down the performance because they need to be maintained.</p>
<p>In both cases it is the dba and if she/he enables table monitoring he/she will be able to see the used indexes.</p>
<p>On hint:<br />
do not drop an idex before the last report has been run. Maybe there is one report which is only run once a year or every n years which needs the index!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
