Identifying SQL Server Performance Problems

前端 未结 7 925
自闭症患者
自闭症患者 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:29

    Profiler may seem like a "needle in a haystack" approach, but it may turn up something useful. Try running it for a couple of minutes while the databases are under typical load, and see if any queries stand out as taking way too much time or hogging resources in some way. While a situation like this could point to some general issue, it could also be related to some specific issue with one or two sites, which mess things up enough in certain circumstances to cause very poor performance across the board.

提交回复
热议问题