SqlShare.com Logo
 
Skip Navigation Links
Home
Video List
Events
Classes
About Us
Login / Register
Subscribe RSS Feed 

Confio Ignite

Reversing Deadlocking - Part 3

In the wrap up to his three part series, Jonathan identifies the problems in a deadlock and then changes the stored procedures to remove the deadlocks.

Duration:
1 mins 56 secs
Skill Level:
100
Rating:
3.83 out of 5
Publish Date:
January 27, 2009
Reversing Deadlocking - Part 3 You must be logged in to view this video.  
Bookmark and Share
 
1=Poor, 3=Good, 5=Excellent

About the Author

Image of Jonathan Kehayias
Jonathan Kehayias is currently employed as a Principal Consultant and Trainer for SQLskills, one of the best-known and most respected SQL Server training and consulting companies in the world. Jonathan is a SQL Server MVP and one of the few Microsoft Certified Masters for SQL Server 2008, outside of Microsoft. Jonathan frequently blogs about SQL Server, presents sessions at PASS Summit, SQLBits, S...

References



Comments
Douglas Webb on 2/23/2009
decent

luther smith on 2/23/2009
Simple, quick and easy

Tim Harms on 2/24/2009
This goes to show that I need to learn more about the error logging available in SQL Server.

Nancy Lytle on 4/30/2009
When you changed the order of the table inserts you should have done a switch on the entire insert statement, not just change the table name. That could lead someone astray if the insert statements for the 2 tables are not identical.

Ravi Raj on 6/24/2010
excellent

Michal on 1/13/2011
It could be explained in part 2.. seriously.

Team FAB on 1/13/2011
ok what he said made sense but he didn't demonstrate it working correctly as the procedures were still executing at the end of the video!

Charlie Bruno on 1/13/2011
It appears the changes to the stored procedure that Jon made did not work. But the explanation of the resolution was understood.

Keith Mescha on 1/13/2011
It didn't seem like a very real life example and not sure the demo even ended up working.

Matt McGhee on 1/13/2011
The fix example is a bit simplistic. Would like to see a more involved troubleshooting example, but perhaps that will come later... :-)

Craig Pessano on 1/13/2011
Are there any plans to cover other scenarios such as when the deadlocked resource is an index that is being updated?

Maurice Ivory on 1/14/2011
Learned something I didn't know.

What happened? The query didn't complete!

wooddsw on 6/13/2011
Although a deadlock didn't occur I think the queries never completed due to the table locks still in the statement?

8FF3F64A4D on 7/25/2011
This would help to be able to run the scripts outside the video for testing

Ameena on 7/25/2011
transaction batch should be small enough for this short demo to show that both transactions finished without a deadlock.

Maurice Ivory on 12/12/2011
It was good final part to deadlocking.

Michael on 1/27/2012
Video is incomplete



Must Be Logged In
 

How Do I Become a Video Author? |  Newsletter History

Copyright © Fourdeuce, Inc., 2005-2009. All Rights Reserved | Privacy Policy | Terms & Conditions