Welcome to MSDN Blogs Sign in | Join | Help

The SQL Server Wait Type Repository…

As part of my talk at the 2009 US PASS Summit here in Seattle called Inside SQL Server Wait Types, I’m creating this blog post as a reference point that can be used to find out information about wait types in SQL Server 2005 and 2008.  My hope is that if you have a question about a wait type you encounter with SQL Server 2005, 2008, or beyond, you will use this blog post as the starting point. This blog post should also be used as an enhancement to what you can find at the following SQL Server Books Online topic:

sys.dm_os_wait_stats (Transact-SQL)

Why use this blog post over other references? Because information in this blog post will be based on the the actual product source code and empirical testing of scenarios that cause these wait types.

This page is under construction but will contain the following types of information:

1) Table of all wait types as listed in sys.dm_os_wait_stats.

This table will contain the following types of information:

  1. types organized by categories
  2. Which types apply to SQL 2005, SQL 2008, or both
  3. More descriptions for how you might encounter these
  4. Tips on what to do (if anything)
  5. List of specific types that can be safely ignored

2) Links to details on some wait types

Some of these types deserve special treatment so we will provide links to more detailed scenarios for certain types including other blog posts, posts on this blog, whitepapers, etc

This include more details on how you can use various tools to see waits such as DMVs, Extended Events, Management Data Warehouse, Activity Monitor, and Performance Counters.

3) Other References on the topic

I want this blog post to be a living document and help feed enhancements to the SQL Server Books Online. So if you encounter a question on a wait type that is confusing or not listed in this post, please post a comment to this blog post or email psssql@microsoft.com. This isn’t to obtain “free support” for a problem but to be used to help enhance and create the right content for the community on this topic.

Look for the expansion of this blog post with these details in the next 3-4 weeks following the PASS conference.

 

Bob Ward
Microsoft

Published Tuesday, November 03, 2009 5:56 AM by psssql

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: The SQL Server Wait Type Repository…

Here are a few:

FT_IFTS_SCHEDULER_IDLE_WAIT

FT_IFTSHC_MUTEX

XE_TIMER_EVENT

http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=351342

Tuesday, November 03, 2009 8:59 AM by Jon Morisi

# re: The SQL Server Wait Type Repository…

Hi Bob, I was at you session at PASS and it was great! Both the session and this initiative.

Another idea for a future work would be talk about windbg and some usages of it, for some "basic" troubleshooting.

If this begin to get bigger and bigger, you may want to use CodePlex.

Thanks

Luciano Moreira

Friday, November 13, 2009 1:31 AM by Luciano Caixeta Moreira

# re: The SQL Server Wait Type Repository…

I am now capturing wait stats after watching Andrew Kelly's session at PASS and see type BROKER_TASK_STOP as a heavy hitter on SQL2005. BOL only gives some BROKER wait types.

Thanks

Chris

Wednesday, November 18, 2009 2:54 PM by ChrisAVWood

# re: The SQL Server Wait Type Repository…

Hey Chris,

I'll email you as well, but the Broker waits are covered in the following blog post:

http://blogs.msdn.com/sql_service_broker/archive/2008/12/01/service-broker-wait-types.aspx

BROKER_TASK_STOP is explained on there.

Tuesday, November 24, 2009 10:04 AM by Jonathan Kehayias

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker