<?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>SQL Server Planet &#187; DMV</title>
	<atom:link href="http://sqlserverplanet.com/tag/dmv/feed" rel="self" type="application/rss+xml" />
	<link>http://sqlserverplanet.com</link>
	<description>Tips and Articles on SQL Server</description>
	<lastBuildDate>Sat, 19 May 2012 05:20:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Find Memory Usage of Executing Procedures</title>
		<link>http://sqlserverplanet.com/dmv-queries/find-memory-usage-of-executing-procedures</link>
		<comments>http://sqlserverplanet.com/dmv-queries/find-memory-usage-of-executing-procedures#comments</comments>
		<pubDate>Wed, 17 Jun 2009 23:23:49 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DMV Queries]]></category>
		<category><![CDATA[DMV]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=214</guid>
		<description><![CDATA[To get the query memory usage of currently executing queries run the following: SELECT TEXT ,query_plan ,requested_memory_kb ,granted_memory_kb ,used_memory_kb FROM sys.dm_exec_query_memory_grants emg CROSS APPLY sys.dm_exec_sql_text(sql_handle) CROSS APPLY sys.dm_exec_query_plan(emg.plan_handle) ORDER BY emg.requested_memory_kb DESC Related Posts:»Find Queries Using Most CPU»Find Queries Using Most Memory (IO)»Find Queries Taking Most CPU (Processor)»Find Queries Performing Most Writes (Inserts)»Find All Queries [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/dmv-queries/find-memory-usage-of-executing-procedures/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Index Usage DMV</title>
		<link>http://sqlserverplanet.com/dmv-queries/find-index-usage</link>
		<comments>http://sqlserverplanet.com/dmv-queries/find-index-usage#comments</comments>
		<pubDate>Wed, 17 Jun 2009 22:35:26 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DMV Queries]]></category>
		<category><![CDATA[Indexing]]></category>
		<category><![CDATA[DMV]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[scans]]></category>
		<category><![CDATA[seeks]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=212</guid>
		<description><![CDATA[The following DMV query retrieves the usage statistics for existing indexes. User Seeks &#8211; A high number indicates a well utilized index. User Scans &#8211; Number of times the index has been scanned. Could indicate improper ordering of the composite columns User Lookups &#8211; Indicates a different index was used for criteria and the actual [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/dmv-queries/find-index-usage/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Choosing the Best Clustered Index</title>
		<link>http://sqlserverplanet.com/indexes/choosing-the-best-clustered-index</link>
		<comments>http://sqlserverplanet.com/indexes/choosing-the-best-clustered-index#comments</comments>
		<pubDate>Sat, 06 Jun 2009 07:37:35 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[Indexing]]></category>
		<category><![CDATA[DMV]]></category>
		<category><![CDATA[index]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=127</guid>
		<description><![CDATA[One of the most common database performance issue most companies face is the improper choice of indexes or the lack of indexes. Most essential, is the clustered index. A well-chosen clustered index will save CPU, Memory, and IO. Choosing the clustered index for a table goes hand-in-hand with the writing of the queries for a [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/indexes/choosing-the-best-clustered-index/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find Resource Currently Involved in Blocking</title>
		<link>http://sqlserverplanet.com/dmv-queries/sql-server-find-resource-currently-involved-in-blocking</link>
		<comments>http://sqlserverplanet.com/dmv-queries/sql-server-find-resource-currently-involved-in-blocking#comments</comments>
		<pubDate>Mon, 01 Jun 2009 06:38:35 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DMV Queries]]></category>
		<category><![CDATA[blocking]]></category>
		<category><![CDATA[DMV]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=77</guid>
		<description><![CDATA[SELECT DISTINCT objname = object_name(p.object_id) FROM sys.partitions p JOIN sys.dm_tran_locks t1 ON p.hobt_id = t1.resource_associated_entity_id Related Posts:»Monitor Queries against a Table»Rebuild and Reorganize Fragmented Indexes»Find Best Clustered Index»Reindex All Tables in a Database»Index Usage DMV»Select Distinct»List All Tables in a Database»Query Which Tables are Partitioned»Find All Queries Run Against a Table»Choosing the Best Clustered IndexPopular [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/dmv-queries/sql-server-find-resource-currently-involved-in-blocking/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find Most Executed Queries</title>
		<link>http://sqlserverplanet.com/dmv-queries/find-most-executed-queries</link>
		<comments>http://sqlserverplanet.com/dmv-queries/find-most-executed-queries#comments</comments>
		<pubDate>Mon, 01 Jun 2009 06:33:37 +0000</pubDate>
		<dc:creator>Derek Dieter</dc:creator>
				<category><![CDATA[DMV Queries]]></category>
		<category><![CDATA[DMV]]></category>

		<guid isPermaLink="false">http://sqlserverplanet.com/?p=73</guid>
		<description><![CDATA[SELECT TOP 50 qs.execution_count ,OBJECT_NAME(objectid) ,query_text = SUBSTRING( qt.text, qs.statement_start_offset/2, (CASE WHEN qs.statement_end_offset = -1 THEN len(convert(nvarchar(max), qt.text)) * 2 ELSE qs.statement_end_offset END - qs.statement_start_offset)/2) ,qt.dbid ,dbname = db_name(qt.dbid) ,qt.objectid FROM sys.dm_exec_query_stats qs CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) as qt ORDER BY qs.execution_count DESC Related Posts:»Find All Queries Run Against a Table»Find Queries Using Most Memory (IO)»Find [...]]]></description>
		<wfw:commentRss>http://sqlserverplanet.com/dmv-queries/find-most-executed-queries/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

