Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSRS Report times out Expand / Collapse
Author
Message
Posted Tuesday, June 11, 2013 12:15 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Friday, May 2, 2014 8:02 AM
Points: 82, Visits: 133
I have a report that ran fine prior to upgrade to sql 2008 R2 SP1.
It has 3 parameters.
1. to select people,
2. to select date.
3. is default(run date)
when we run this report for one person, it works fine. But when we run it for "all" people, it times out.

it basically runs a stored procedure in the back, xxx ,' all', 'date', Default
If I run the stored proc, it takes 47 seconds to get all results.
So something changed in the R2/SP1 that messed this up.
We have no answers .....

Can anybody help?
Warmest Regards
Paresh Motiwala
Boston



Post #1462317
Posted Tuesday, June 11, 2013 1:33 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 2:50 PM
Points: 13,062, Visits: 11,891
Paresh Motiwala (6/11/2013)
I have a report that ran fine prior to upgrade to sql 2008 R2 SP1.
It has 3 parameters.
1. to select people,
2. to select date.
3. is default(run date)
when we run this report for one person, it works fine. But when we run it for "all" people, it times out.

it basically runs a stored procedure in the back, xxx ,' all', 'date', Default
If I run the stored proc, it takes 47 seconds to get all results.
So something changed in the R2/SP1 that messed this up.
We have no answers .....

Can anybody help?
Warmest Regards
Paresh Motiwala
Boston


There is pretty much nothing anybody can do to help based on the lack of any details. It seems you have some sort of performance issue with your query. Please see this article on how to post performance problems.

http://www.sqlservercentral.com/articles/SQLServerCentral/66909/


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1462350
Posted Tuesday, June 11, 2013 1:51 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Friday, May 2, 2014 8:02 AM
Points: 82, Visits: 133
Hi Sean
Thanks for your response.
But the query runs fine in 47 seconds.

It just doesn't run in SSRS or Report Builder.
It used to work before.

So if you can help, please let me know what info are you looking for?



Post #1462363
Posted Tuesday, June 11, 2013 2:02 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 2:50 PM
Points: 13,062, Visits: 11,891
Paresh Motiwala (6/11/2013)
Hi Sean
Thanks for your response.
But the query runs fine in 47 seconds.

It just doesn't run in SSRS or Report Builder.
It used to work before.

So if you can help, please let me know what info are you looking for?


Unless your tables are really large (millions and millions of rows) I would say that 47 seconds is not running "fine".

Not to sound snippy but just saying that a query used to work but doesn't know does not provide information. That is like taking your car to the shop and telling them the car used to run but now it doesn't, what could be wrong.

As outlined in the article I suggested, let's start with the execution plan. The actual plan, not the estimated one.


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1462369
Posted Thursday, June 13, 2013 7:08 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Friday, May 2, 2014 8:02 AM
Points: 82, Visits: 133
Hi Sean
So let's say you are the mechanic.
What questions would you want me to answer.

For the user 47 seconds is ok. so even if the page returns the results in 2 minutes, I and the users don't care.

It is indeed an extremely complex query, that returns 240 rows.
There is nothing on CPU, memory consumption is low.

It is just the time it takes to render.
and then after a while it returns with the time out errors.

couple of years ago, we had a similar issue with some reports when we switched to SQL 2008R2 and then to SQL 2012.
a report that normally ran for 5 seconds took 155 seconds.

Microsoft worked on it for 3 months. Came back with the solution, rewrite all our 2500 reports.
It is only later they understood that in these versions the report rendering doesn't happen at the SQL Server level but at the client's browser level.

So we installed a Google Chrome Browser, the report came back in 55 seconds.(as against 5). Still the users were not happy.
Microsoft refunded all our consulting hours/fees.




Post #1463064
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse