Identifying SQL Server Performance Problems

前端 未结 7 927
自闭症患者
自闭症患者 2021-02-04 14:58

We\'re having sporadic, random query timeouts on our SQL Server 2005 cluster. I own a few apps that use it, so I\'m helping out in the investigation. When watching the % CPU tim

7条回答
  •  日久生厌
    2021-02-04 15:20

    This utility by Erland Sommarskog is awesomely useful.

    It's a stored procedure you add to your database. Run it whenever you want to see what queries are active and get a good picture of locks, blocks, etc. I use it regularly when things seem gummed up.

提交回复
热议问题