<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2008 &#8211; Find If Index is Being Used in Database</title>
	<atom:link href="http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: mmudaliar</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-199111</link>
		<dc:creator><![CDATA[mmudaliar]]></dc:creator>
		<pubDate>Sat, 19 Nov 2011 06:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-199111</guid>
		<description><![CDATA[Hi,

It is very useful for me.

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>It is very useful for me.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fitnes</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-129956</link>
		<dc:creator><![CDATA[fitnes]]></dc:creator>
		<pubDate>Tue, 19 Apr 2011 10:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-129956</guid>
		<description><![CDATA[Thanks excacly what I was looking for.
best regards]]></description>
		<content:encoded><![CDATA[<p>Thanks excacly what I was looking for.<br />
best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CLETO</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-55842</link>
		<dc:creator><![CDATA[CLETO]]></dc:creator>
		<pubDate>Sun, 13 Sep 2009 12:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-55842</guid>
		<description><![CDATA[hi,

HOW to Find If Index is Being Used in Database in MSSQL 2000

Thanks.
Cleto]]></description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>HOW to Find If Index is Being Used in Database in MSSQL 2000</p>
<p>Thanks.<br />
Cleto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhilash</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-53083</link>
		<dc:creator><![CDATA[Abhilash]]></dc:creator>
		<pubDate>Thu, 18 Jun 2009 09:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-53083</guid>
		<description><![CDATA[Hi,

How to do the same in SQL 2000?

By the way, I&#039;ve on more query.
Is it possible to list the Indexes at the time of executing an SQL Query? Means, any way to list the Indexes associated with an SQL Query when that particular SQL Query is executed? Hoping, I havent confused you much. :-)

Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How to do the same in SQL 2000?</p>
<p>By the way, I&#8217;ve on more query.<br />
Is it possible to list the Indexes at the time of executing an SQL Query? Means, any way to list the Indexes associated with an SQL Query when that particular SQL Query is executed? Hoping, I havent confused you much. :-)</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virgilio</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-44215</link>
		<dc:creator><![CDATA[Virgilio]]></dc:creator>
		<pubDate>Fri, 14 Nov 2008 00:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-44215</guid>
		<description><![CDATA[Is there any other cases where we would use the hint (index = number) ?


FOr example I have Index 1 = Clustered (ID)
                                Index 2 =  NoneClustered(Date)

Then I run the follwing a query  and I forced it to use index=2, Would I reduce the amount of page scans???

Select ID from MYtable (index =2)
where date &lt; = &#039;11/12/2008&#039; ????]]></description>
		<content:encoded><![CDATA[<p>Is there any other cases where we would use the hint (index = number) ?</p>
<p>FOr example I have Index 1 = Clustered (ID)<br />
                                Index 2 =  NoneClustered(Date)</p>
<p>Then I run the follwing a query  and I forced it to use index=2, Would I reduce the amount of page scans???</p>
<p>Select ID from MYtable (index =2)<br />
where date &lt; = &#8217;11/12/2008&#8242; ????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rakesh</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-43501</link>
		<dc:creator><![CDATA[rakesh]]></dc:creator>
		<pubDate>Sat, 04 Oct 2008 05:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-43501</guid>
		<description><![CDATA[sir 
is it possible to create temporary columns...........]]></description>
		<content:encoded><![CDATA[<p>sir<br />
is it possible to create temporary columns&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rakesh</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-43498</link>
		<dc:creator><![CDATA[rakesh]]></dc:creator>
		<pubDate>Sat, 04 Oct 2008 05:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-43498</guid>
		<description><![CDATA[Sir

In clusterd and Nonclustered indexe

which one is faster...??]]></description>
		<content:encoded><![CDATA[<p>Sir</p>
<p>In clusterd and Nonclustered indexe</p>
<p>which one is faster&#8230;??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Hung</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-43484</link>
		<dc:creator><![CDATA[Jerry Hung]]></dc:creator>
		<pubDate>Fri, 03 Oct 2008 15:39:34 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-43484</guid>
		<description><![CDATA[This is what I saw elsewhere for similar idea
It shows indexes NOT USED

SELECT
    OBJECTNAME = OBJECT_NAME(I.OBJECT_ID)
  , INDEXNAME = I.NAME
  , I.INDEX_ID
FROM
    SYS.INDEXES I
    JOIN SYS.OBJECTS O ON I.OBJECT_ID = O.OBJECT_ID
WHERE
    OBJECTPROPERTY(O.OBJECT_ID, &#039;IsUserTable&#039;) = 1
    AND I.INDEX_ID NOT IN ( SELECT
                                S.INDEX_ID
                            FROM
                                SYS.DM_DB_INDEX_USAGE_STATS S
                            WHERE
                                S.OBJECT_ID = I.OBJECT_ID
                                AND I.INDEX_ID = S.INDEX_ID
                                AND DATABASE_ID = DB_ID() )
ORDER BY
    OBJECTNAME
  , I.INDEX_ID
  , INDEXNAME ASC
GO]]></description>
		<content:encoded><![CDATA[<p>This is what I saw elsewhere for similar idea<br />
It shows indexes NOT USED</p>
<p>SELECT<br />
    OBJECTNAME = OBJECT_NAME(I.OBJECT_ID)<br />
  , INDEXNAME = I.NAME<br />
  , I.INDEX_ID<br />
FROM<br />
    SYS.INDEXES I<br />
    JOIN SYS.OBJECTS O ON I.OBJECT_ID = O.OBJECT_ID<br />
WHERE<br />
    OBJECTPROPERTY(O.OBJECT_ID, &#8216;IsUserTable&#8217;) = 1<br />
    AND I.INDEX_ID NOT IN ( SELECT<br />
                                S.INDEX_ID<br />
                            FROM<br />
                                SYS.DM_DB_INDEX_USAGE_STATS S<br />
                            WHERE<br />
                                S.OBJECT_ID = I.OBJECT_ID<br />
                                AND I.INDEX_ID = S.INDEX_ID<br />
                                AND DATABASE_ID = DB_ID() )<br />
ORDER BY<br />
    OBJECTNAME<br />
  , I.INDEX_ID<br />
  , INDEXNAME ASC<br />
GO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Bull</title>
		<link>http://blog.sqlauthority.com/2008/10/03/sql-server-2008-find-if-index-is-being-used-in-database/#comment-43480</link>
		<dc:creator><![CDATA[Red Bull]]></dc:creator>
		<pubDate>Fri, 03 Oct 2008 14:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1296#comment-43480</guid>
		<description><![CDATA[HI Pinal

Nice article.

Just a recommendation, most of your images come from http://www.pinaldave.com/blogfolder/. 

In our organization &quot;blog&quot; is filtered, and thus I cannot see the screen shots.

I guess it is in most of the companies.

Can u do something about it, may be changing the folder name, or the virtual directory name.

Thanks.]]></description>
		<content:encoded><![CDATA[<p>HI Pinal</p>
<p>Nice article.</p>
<p>Just a recommendation, most of your images come from <a href="http://www.pinaldave.com/blogfolder/" rel="nofollow">http://www.pinaldave.com/blogfolder/</a>. </p>
<p>In our organization &#8220;blog&#8221; is filtered, and thus I cannot see the screen shots.</p>
<p>I guess it is in most of the companies.</p>
<p>Can u do something about it, may be changing the folder name, or the virtual directory name.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
