Identifying SQL Server Performance Problems

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

    I've found the Performance Dashboard Reports to be very helpful. They are a set of custom RS reports supplied by Microsoft. You just have to run the installer on your client PC and then run the setup.sql on the SQL Server instance.

    After that, right click on a database (does not matter which one) in SSMS and goto Reports -> Custom Reports. Navigate to and select the performance_dashboard_main.rdl which is located at in the \Program Files\Microsoft SQL Server\90\Tools\PerformanceDashboard folder by default. You only need to do this once. After the first time, it will show up in the reports list.

    The main dashboard view will show CPU utilization over time, among other things. You can refresh it occasionally. When you see a spike, just click on the bar in the graph to get the detail data behind it.

提交回复
热议问题