Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2012
    Posts
    10

    Unanswered: MS SQL 2008 deadlock issue

    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?

  2. #2
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    you need to capture Locks:Lockeadlock, Locks:Lockeadlock Chain, and, if you want the graph - Locks:Lockeadlock graph events.
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

  3. #3
    Join Date
    Jul 2012
    Posts
    10
    I did. What I want to know to how to interpret the deadlock like the pattern I put above

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •