Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trace flag for debugging deadlocks

Status
Not open for further replies.

stan123

Programmer
Jun 5, 2000
5
US
Hi. I read that trace flag 1204 and 1205 are supposed to provide more information about deadlock if one is encountered. So I ran the following commands on cutomer's db server:<br>dbcc traceon(1204)<br>dbcc traceon(1205)<br><br>Next time customer got a deadlock there was no additional information on the deadlock except the usual message which stated that a transaction was deadlocked followed by sql statement.<br><br>I wonder if those dbcc statements have global effects(for every connection) or just for the current one?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thank you.<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top