Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deadlocks on Queries
Message
De
10/01/2003 12:26:23
 
 
À
10/01/2003 12:09:59
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00739035
Message ID:
00740367
Vues:
20
>Good sugggestions. But why does a SELECT have anything at all to do with a deadlock?

It's all about the locking. When SQL Server reads a resource (ex. row in a table) it puts a Shared lock on the resource. SQL Server also puts Intent locks higher up the hierarchy. For example, SQL Server would put a shared lock on the row and an Intent Shared (IS) lock on the page and on the table.

The Trace flag that I gave your earlier will dump the connections and resources that participated in the deadlock. It will tell you the tables that were involved. That should help track things back.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform