LCK_M_U lock wait

  • I've got a SQL 2008 server experiencing a high percentage of LCK_M_U wait times. It's a service broker CLR Activation procedure that is the cause of this. Nothing has changed about the procedure. The CPU on the server is running 80-100% now whereas before this problem happened it was only around 30%. What can I do to relieve this waittype. Developer is looking at the code, but if no smoking gun is found there, will adding memory help alleviate?

    Thanks

  • Take a look at Pinal Dave's[/url] explanation of these types of locks. This is a quick reference, but other tuning books are available that different people here like to reference.

    Jared
    CE - Microsoft

  • LCK_M_U is a wait for an update lock. Something's trying to update and whatever it wants to update is locked already. Start by identifying what is causing the blocking and see if it can be optimised, then look at what is blocked and how it can be optimised.

    Chapter 6: http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/

    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

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

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