Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Performance Difference btw SSMS and SSRS

Author  Topic 

NewHampshire
Starting Member

14 Posts

Posted - 2009-01-26 : 11:38:06
Hi there,
I'm new to SSRS. One of my users has what seems to be a fairly basic report that is taking nearly two minutes to run. When I run the same query from SSMS, it takes less than a second. The databse engine tuning wizard returns no suggestions.

What are some things I could check that would cause a report in SSRS to run so much slower than the underlying query?

Thanks.

kmarshba
Starting Member

24 Posts

Posted - 2009-01-26 : 17:16:07
1. How is the report running the query? E.g. stored procedure, raw SQL query?
2. Is the report doing anything with the data? I.e. is it calling any special libraries or poor performing functions, etc?
3. Have you run a trace with SQL Profiler to watch what comes across the wire when they run the report?

Kevin
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-26 : 17:26:04
It is quite possible that you are getting a better execution plan in SSMS that the user is getting in the report. I see this happen all of the time on my systems.

Compare the execution plans by running SLQ Profiler and adding the showplan XML event.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -