Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Performance Reports - but for a date range

SQL Server comes with very handy "performance" reports: in SSMS - right-click the server - "reporting" - "Standard" - you see many useful reports, like "Top queries by Total CPU time", "Top queries by average I/O" etc.

These reports aggregate the data since last restart or since last query stats reset.

Is there any way to see these reports for a date range? Like "Top queries by total CPU time from 10pm to 11pm"? Maybe there's an SQL Server addon on or service that should be installed or something, that would allow this kind or research?

Real life use case: a DBA wakes up and sees there were some "timeout" errors during the night. He wants to see which queries were running at the moment and eating up performance.

like image 868
jazzcat Avatar asked Aug 31 '26 09:08

jazzcat


1 Answers

You can download the SSMS Performance Dashboard Reports from here and use as Custom reports with SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014. Having access to the rdl file you can customize it however you want.

Also worth reading this.

like image 88
George T Avatar answered Sep 03 '26 02:09

George T



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!