PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > SPID blocking itself
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
SPID blocking itself

Réponse
 
LinkBack Outils de la discussion
Vieux 01/04/2008, 01h02   #1 (permalink)
cw
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SPID blocking itself

What do I need to look at to find out why a query shows it is blocking
itself?
This is a SQL2000 sp4 server on Win2003 with a query on a table containing
~20million rows. Someone wrote a query w/i an application that ends up doing
a table scan, and when this occurs sp_who2 is showing the spid blocking
itself.

How do I start debugging this one?
Thanks


  Réponse avec citation
Vieux 01/04/2008, 01h58   #2 (permalink)
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SPID blocking itself

> How do I start debugging this one?

Self blocking spid's may be due to latch waits
(http://support.microsoft.com/kb/906344) or intra-query parallelism. In the
later case, you will have multiple rows for the same spid with the blocked
ones showing CXPACKET wait types.

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"cw" <cw@3mc.com> wrote in message
news:eggVBv4kIHA.5160@TK2MSFTNGP05.phx.gbl...
> What do I need to look at to find out why a query shows it is blocking
> itself?
> This is a SQL2000 sp4 server on Win2003 with a query on a table containing
> ~20million rows. Someone wrote a query w/i an application that ends up
> doing a table scan, and when this occurs sp_who2 is showing the spid
> blocking itself.
>
> How do I start debugging this one?
> Thanks
>


  Réponse avec citation
Vieux 01/04/2008, 12h18   #3 (permalink)
cw
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SPID blocking itself

Thanks! This is a big .
cw

"Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> wrote in message
news:BF62AC85-58AA-46A2-9198-D4723626EDC5@microsoft.com...
>> How do I start debugging this one?

>
> Self blocking spid's may be due to latch waits
> (http://support.microsoft.com/kb/906344) or intra-query parallelism. In
> the later case, you will have multiple rows for the same spid with the
> blocked ones showing CXPACKET wait types.
>
> --
> Hope this s.
>
> Dan Guzman
> SQL Server MVP
> http://weblogs.sqlteam.com/dang/
>
> "cw" <cw@3mc.com> wrote in message
> news:eggVBv4kIHA.5160@TK2MSFTNGP05.phx.gbl...
>> What do I need to look at to find out why a query shows it is blocking
>> itself?
>> This is a SQL2000 sp4 server on Win2003 with a query on a table
>> containing ~20million rows. Someone wrote a query w/i an application that
>> ends up doing a table scan, and when this occurs sp_who2 is showing the
>> spid blocking itself.
>>
>> How do I start debugging this one?
>> Thanks
>>

>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 08h04.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09850 seconds with 11 queries