<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www2.sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Kevin Kline : Wait States</title><link>http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Wait+States/default.aspx</link><description>Tags: Wait States</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Two New Slide Decks. Plus, the Week in Colorado.</title><link>http://www2.sqlblog.com/blogs/kevin_kline/archive/2012/08/20/two-new-slide-decks-plus-the-week-in-colorado.aspx</link><pubDate>Mon, 20 Aug 2012 15:03:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44792</guid><dc:creator>KKline</dc:creator><slash:comments>0</slash:comments><comments>http://www2.sqlblog.com/blogs/kevin_kline/comments/44792.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/kevin_kline/commentrss.aspx?PostID=44792</wfw:commentRss><description>Kevin provides two new session slide decks and tells about his week presenting sessions in Colorado from August 14-17, 2012....(&lt;a href="http://www2.sqlblog.com/blogs/kevin_kline/archive/2012/08/20/two-new-slide-decks-plus-the-week-in-colorado.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=44792" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/DBA/default.aspx">DBA</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/IT+Horror+Stories/default.aspx">IT Horror Stories</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Leadership/default.aspx">Leadership</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Monitoring/default.aspx">Monitoring</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/On-line+Resources/default.aspx">On-line Resources</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/PASS/default.aspx">PASS</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Performance/default.aspx">Performance</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Professional+Development/default.aspx">Professional Development</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Speaking/default.aspx">Speaking</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/SQL+Server+2012/default.aspx">SQL Server 2012</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/SQLMag/default.aspx">SQLMag</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Tips/default.aspx">Tips</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Video/default.aspx">Video</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Wait+States/default.aspx">Wait States</category></item><item><title>Reminder: Totally Awesome and Totally Free Training SQL Server Training</title><link>http://www2.sqlblog.com/blogs/kevin_kline/archive/2011/02/21/reminder-totally-awesome-and-totally-free-training-sql-server-training.aspx</link><pubDate>Mon, 21 Feb 2011 13:45:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:33514</guid><dc:creator>KKline</dc:creator><slash:comments>0</slash:comments><comments>http://www2.sqlblog.com/blogs/kevin_kline/comments/33514.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/kevin_kline/commentrss.aspx?PostID=33514</wfw:commentRss><description>One of the things that I enjoy about working for Quest Software is that we give back copiously to the community. From activities and offerings like SQLServerPedia , to our free posters mailed anywhere in North America (and don't forget the free hi-res...(&lt;a href="http://www2.sqlblog.com/blogs/kevin_kline/archive/2011/02/21/reminder-totally-awesome-and-totally-free-training-sql-server-training.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=33514" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Administration/default.aspx">Administration</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Best+Practices/default.aspx">Best Practices</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Opinion/default.aspx">Opinion</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Performance/default.aspx">Performance</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Quest+Software/default.aspx">Quest Software</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Wait+States/default.aspx">Wait States</category></item><item><title>SOS_SCHEDULER_YIELD</title><link>http://www2.sqlblog.com/blogs/kevin_kline/archive/2008/05/14/sos-scheduler-yield.aspx</link><pubDate>Wed, 14 May 2008 16:06:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6789</guid><dc:creator>KKline</dc:creator><slash:comments>0</slash:comments><comments>http://www2.sqlblog.com/blogs/kevin_kline/comments/6789.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/kevin_kline/commentrss.aspx?PostID=6789</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;You might encounter a situation, under a very heavy workload, where processing for certain transactions starts out very efficiently, but over time becomes much less efficient.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;A good place to start troubleshooting is, of course, PerfMon.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;But PerfMon can fail to reveal the culprit, since the CPU can remain stable and moderate while still experiencing this problem.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;It’s time to pull out a more granular troubleshooting tool, the SQL Server 2005 DMV wait states.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Of course, you won’t encounter this exact problem every time, but sometimes you might find that you have ever increasing SOS_SCHEDULER_YIELD waits occurring.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;BOL provides this illuminating description of the wait:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;EM&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;"Occurs when a task voluntarily yields the scheduler for other tasks to execute. During this wait the task is waiting for its quantum to be renewed."&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;Now, I can count the number of times after a hard day’s work that I want to get my quantum renewed.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;You?&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Anyway, the description doesn’t explain much.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;That’s why you need to learn more about %signal waits in this blog post: &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Courier New';"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;A href="http://blogs.msdn.com/sqlcat/archive/2005/09/05/461199.aspx"&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:'Courier New';"&gt;http://blogs.msdn.com/sqlcat/archive/2005/09/05/461199.aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Courier New';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Courier New';"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;Thanks to the SQL CAT team for figuring out this problem and thanks to Bill Graziano and Linchi Shea for pointing out the issue.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=6789" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Internals/default.aspx">Internals</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Performance/default.aspx">Performance</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category><category domain="http://www2.sqlblog.com/blogs/kevin_kline/archive/tags/Wait+States/default.aspx">Wait States</category></item></channel></rss>