<?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; DMV &#8211; sys.dm_os_waiting_tasks and sys.dm_exec_requests &#8211; Wait Type &#8211; Day 4 of 28</title>
	<atom:link href="http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #015 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-419691</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #015 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 09 Feb 2013 01:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-419691</guid>
		<description><![CDATA[[...] DMV – sys.dm_os_waiting_tasks and sys.dm_exec_requests – Wait Type – Day 4 of 28 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] DMV – sys.dm_os_waiting_tasks and sys.dm_exec_requests – Wait Type – Day 4 of 28 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maciej Egermeier</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-419084</link>
		<dc:creator><![CDATA[Maciej Egermeier]]></dc:creator>
		<pubDate>Thu, 07 Feb 2013 12:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-419084</guid>
		<description><![CDATA[I have the same problem. Blank result.]]></description>
		<content:encoded><![CDATA[<p>I have the same problem. Blank result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Chau</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-358209</link>
		<dc:creator><![CDATA[Michael Chau]]></dc:creator>
		<pubDate>Wed, 10 Oct 2012 07:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-358209</guid>
		<description><![CDATA[why a running query also has wait_type ??]]></description>
		<content:encoded><![CDATA[<p>why a running query also has wait_type ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-330978</link>
		<dc:creator><![CDATA[Don]]></dc:creator>
		<pubDate>Wed, 15 Aug 2012 17:50:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-330978</guid>
		<description><![CDATA[my results are blank when I run this (0 row(s) affected)]]></description>
		<content:encoded><![CDATA[<p>my results are blank when I run this (0 row(s) affected)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vundavalli Siva Prasad</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-263607</link>
		<dc:creator><![CDATA[Vundavalli Siva Prasad]]></dc:creator>
		<pubDate>Fri, 16 Mar 2012 08:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-263607</guid>
		<description><![CDATA[Hi Pinal,

 Thank you very much for detailed explanation on wait times.
 Could you please provide me some detailed info on exec_context_id column in sys.dm_os_waiting_tasks?

For a session_id I have different exec_context_ids and they were getting blocked by these context_ids. 

For example


session_id	exec_context_id	wait_type	blocking_session_id	blocking_exec_context_id
75	4	CXPACKET	75	11
75	8	PAGEIOLATCH_EX	NULL	NULL
75	9	CXPACKET	75	11
75	9	CXPACKET	75	11
75	12	CXPACKET	75	11
75	12	PAGEIOLATCH_EX	NULL	NULL
75	0	PAGEIOLATCH_EX	NULL	NULL
75	3	CXPACKET	75	11
75	7	PAGEIOLATCH_EX	NULL	NULL
75	10	PAGEIOLATCH_EX	NULL	NULL
75	10	CXPACKET	75	11
75	11	CXPACKET	75	11
75	11	CXPACKET	75	8


Could you please check above details and suggest me whether there is any problem with wait times or not.

Thanks,
Siva Prasad]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p> Thank you very much for detailed explanation on wait times.<br />
 Could you please provide me some detailed info on exec_context_id column in sys.dm_os_waiting_tasks?</p>
<p>For a session_id I have different exec_context_ids and they were getting blocked by these context_ids. </p>
<p>For example</p>
<p>session_id	exec_context_id	wait_type	blocking_session_id	blocking_exec_context_id<br />
75	4	CXPACKET	75	11<br />
75	8	PAGEIOLATCH_EX	NULL	NULL<br />
75	9	CXPACKET	75	11<br />
75	9	CXPACKET	75	11<br />
75	12	CXPACKET	75	11<br />
75	12	PAGEIOLATCH_EX	NULL	NULL<br />
75	0	PAGEIOLATCH_EX	NULL	NULL<br />
75	3	CXPACKET	75	11<br />
75	7	PAGEIOLATCH_EX	NULL	NULL<br />
75	10	PAGEIOLATCH_EX	NULL	NULL<br />
75	10	CXPACKET	75	11<br />
75	11	CXPACKET	75	11<br />
75	11	CXPACKET	75	8</p>
<p>Could you please check above details and suggest me whether there is any problem with wait times or not.</p>
<p>Thanks,<br />
Siva Prasad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kajal Kaur</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-183223</link>
		<dc:creator><![CDATA[Kajal Kaur]]></dc:creator>
		<pubDate>Tue, 25 Oct 2011 06:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-183223</guid>
		<description><![CDATA[Hello Pinal,

My server has 4CPUs 32bit sql server 2008 OS:windows 2008.
I hav been facing a problem maximum CPU utilization by sql server(90 to 100%)there is only one database that is extensively used and only one application.But still the cpu utilization suddenly increases to 100% and the application gets hanged and we have to sometimes restart the server.Have enabled the Awe settin which was not there before and also monitored the server it shows high wait times for CXPACKET,ASYNC_NW_IO,LATCH_EX,SOS_SCHEDULAR_YEILD,
Hence i changed the MDOP which was 0 to 3 and it worked fine for a week but now again it is showing huge wait time for SOS_Schedular_yeild.
Also have to mention that there is only one drive i.e D: drive on the server. I am new to the performance issues hence unable to decide on whether we can use performance monitor to detect this as not sure of the counters to be used.
Its has 8GB memory.Also checked for blocking and updated the ststistics and also reindexed the tables .
Please assist in the same........]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal,</p>
<p>My server has 4CPUs 32bit sql server 2008 OS:windows 2008.<br />
I hav been facing a problem maximum CPU utilization by sql server(90 to 100%)there is only one database that is extensively used and only one application.But still the cpu utilization suddenly increases to 100% and the application gets hanged and we have to sometimes restart the server.Have enabled the Awe settin which was not there before and also monitored the server it shows high wait times for CXPACKET,ASYNC_NW_IO,LATCH_EX,SOS_SCHEDULAR_YEILD,<br />
Hence i changed the MDOP which was 0 to 3 and it worked fine for a week but now again it is showing huge wait time for SOS_Schedular_yeild.<br />
Also have to mention that there is only one drive i.e D: drive on the server. I am new to the performance issues hence unable to decide on whether we can use performance monitor to detect this as not sure of the counters to be used.<br />
Its has 8GB memory.Also checked for blocking and updated the ststistics and also reindexed the tables .<br />
Please assist in the same&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Stamm</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-136928</link>
		<dc:creator><![CDATA[Jason Stamm]]></dc:creator>
		<pubDate>Thu, 26 May 2011 19:52:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-136928</guid>
		<description><![CDATA[I have used your blog for many issues and solutions, so many thanks!

However, this is one I cannot seem to find anything in regards to it.  

We are trying to figure out why we have a procedure, same object_id, same database_id that is listed twice in this view sys.dm_exec_procedure_stats.  I know it is possible to have the same procedure name listed, but everything tells me that this must have a different object_id.  In our situation we have the same Object_Id and Database_Id for this one procedure.

When this situation happens the procedure run times are extremely long, most timeout after several minutes.  Normal run times are sub-second for this procedure.

We have tried rebuilding indexes, but that had no effect on this issue.  

Only way we have resolved this is to drop and create the procedure.

Anyone advise you can offer on this weird situation?]]></description>
		<content:encoded><![CDATA[<p>I have used your blog for many issues and solutions, so many thanks!</p>
<p>However, this is one I cannot seem to find anything in regards to it.  </p>
<p>We are trying to figure out why we have a procedure, same object_id, same database_id that is listed twice in this view sys.dm_exec_procedure_stats.  I know it is possible to have the same procedure name listed, but everything tells me that this must have a different object_id.  In our situation we have the same Object_Id and Database_Id for this one procedure.</p>
<p>When this situation happens the procedure run times are extremely long, most timeout after several minutes.  Normal run times are sub-second for this procedure.</p>
<p>We have tried rebuilding indexes, but that had no effect on this issue.  </p>
<p>Only way we have resolved this is to drop and create the procedure.</p>
<p>Anyone advise you can offer on this weird situation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liviu tamas</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-116017</link>
		<dc:creator><![CDATA[liviu tamas]]></dc:creator>
		<pubDate>Fri, 04 Feb 2011 11:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-116017</guid>
		<description><![CDATA[Cannot initialize the data source object of OLE DB provider &quot;MSDASQL&quot; for linked server &quot;(null)&quot;.]]></description>
		<content:encoded><![CDATA[<p>Cannot initialize the data source object of OLE DB provider &#8220;MSDASQL&#8221; for linked server &#8220;(null)&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-116012</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 04 Feb 2011 10:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-116012</guid>
		<description><![CDATA[Have you tried using a Linked Server?]]></description>
		<content:encoded><![CDATA[<p>Have you tried using a Linked Server?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liviu tamas</title>
		<link>http://blog.sqlauthority.com/2011/02/04/sql-server-dmv-sys-dm_os_waiting_tasks-and-sys-dm_exec_requests-wait-type-day-4-of-28/#comment-116000</link>
		<dc:creator><![CDATA[liviu tamas]]></dc:creator>
		<pubDate>Fri, 04 Feb 2011 08:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11476#comment-116000</guid>
		<description><![CDATA[i have a question.your blog is very usefull to me.how can i import from foxpro (dbf)to sql server 2008 with openrowset ?
i know how to import from excel,but from dbf no.thanks a lot dave.]]></description>
		<content:encoded><![CDATA[<p>i have a question.your blog is very usefull to me.how can i import from foxpro (dbf)to sql server 2008 with openrowset ?<br />
i know how to import from excel,but from dbf no.thanks a lot dave.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
