SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 sp_who2 suspended status repeated for same SPID
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chris_lunt
Starting Member

25 Posts

Posted - 11/20/2013 :  08:22:14  Show Profile  Reply with Quote
Hello Everyone

When I run sp_who2 I can often see the same spid with a suspended status many times. e.g. spid 108 has 32 entries, half of them have nothing in the BlkBy column, the other half have 108in the BlkBy column.

Can anyone explain what this is telling me?

Many thanks

Chris

James K
Flowing Fount of Yak Knowledge

3327 Posts

Posted - 11/20/2013 :  08:32:35  Show Profile  Reply with Quote
Most of the time I see this when a query has been parallelized and some of the threads have completed their tasks and are waiting on the other threads to complete their tasks before being able to proceed.
Go to Top of Page

chris_lunt
Starting Member

25 Posts

Posted - 11/20/2013 :  08:38:19  Show Profile  Reply with Quote
Thanks James - can you elaborate on 'query has been parallellised' please. The DB is being hit by an application that may call quite a few stored procedures for the same user to build their screen. DSome of the stored procedures have many things going on inside them.

Is it likely to be affecting query response times and is there anything I can do to prevent it?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000