SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 SQL 2008 deadlock issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rosetulip
Starting Member

4 Posts

Posted - 08/28/2012 :  16:53:13  Show Profile  Reply with Quote
I run SQL profiling to capture several messages like below

Parallel query worker thread was involved in a deadlock

Once this error popped in profiling, it follows this patten

Parallel query worker thread was involved in a deadlock
insert into ......(different)
update.... from....(same1)
update.... from....(same1)
insert into ...... ( different )
select ....(different)
update.... from....(same2)
update.... from....(same2)

I don't understand this patten and error message. It seems the same update query run twice causing the deadlock, is it correct?

Can someone give me more inside for this happening?

chadmat
The Chadinator

USA
1961 Posts

Posted - 08/28/2012 :  16:57:17  Show Profile  Visit chadmat's Homepage  Reply with Quote
I'm not sure if I understand what you are saying, but if you are saying threads from a parallel query are deadlocking, then that is almost certainly a bug. Use MAXDOP=1 query hint.

-Chad
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000