what to do when we see multiple blocking chains?

  • Hi All,

    How to troubleshoot blocking if u r seeing multiple blocking chains? Do I need to kill all the head blockers?

    What is the best approach to deal with multiple blocking chains?

    Thanks,

    Sam

  • vsamantha35 (2/28/2015)


    Hi All,

    How to troubleshoot blocking if u r seeing multiple blocking chains? Do I need to kill all the head blockers?

    What is the best approach to deal with multiple blocking chains?

    Thanks,

    Sam

    I would encourage you to consider capturing the queries, wait types, and query plans those SPIDs are running before you start killing sessions. This way you will know what kinds of transactions and applications you're affecting. For the long term, you can use that data to tune queries and or indexes in order to shorten up transactions and reduce your overall blocking.

  • Thank you. Will do that. We are seeing this very often.

  • vsamantha35 (2/28/2015)


    Hi All,

    How to troubleshoot blocking if u r seeing multiple blocking chains? Do I need to kill all the head blockers?

    What is the best approach to deal with multiple blocking chains?

    Thanks,

    Sam

    Some blocking isn't just normal, it's required. The question here is "How long does each blocking chain last"?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply