Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 sp_who2 suspended status repeated for same SPID

Author  Topic 

chris_lunt
Starting Member

25 Posts

Posted - 2013-11-20 : 08:22:14
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
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-11-20 : 08:32:35
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 - 2013-11-20 : 08:38:19
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
   

- Advertisement -