• Suresh B. (7/8/2008)


    Is it possible to have 0 deadlocks in a busy multiuer system?

    Is it normal to have around 10 deadlocks daily?

    It is not normal to have 10 deadlocks a day on any system, 0 is what you want and it is not impossible to achieve.

    If you have frequent deadlocks then you either have badly written SQL code, poor indexes or both.

    Enable traceflag 1204 OR 1222 to get the deadlock graph written into the error log. That should help you locate the queries involved in the deadlock.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass