canuckconsulting
asked on
SSRS Report very slow with added parameters
I have created and SSRS report which was working great and quite responsive. I've added two multi-value parameters and specified them as filter criteria on the dataset and performance has tanked.
Selecting all the parameters is set as the default which I had hoped would be as fast as the original non-parameterised version but no luck.
Selecting all the parameters is set as the default which I had hoped would be as fast as the original non-parameterised version but no luck.
First you need to figure out what part is slow. How long does the parameterized query take when executed in Management Studio?
ASKER
Turned out it only seem to be a problem in the preview! When I deployed it the thing ran great.
Any thoughts on why preview is so unworkable compared to production?
Any thoughts on why preview is so unworkable compared to production?
There can be a lot of reasons. Different hardware, different data, ... But as long as your query is fast in SSMS and you're not returning hundreds of thousands of records to the report, the report itself should be fast too, even preview...
ASKER
Yes, this is what is frustrating me. These are not large record sets and the report takes just a few seconds to run when deployed to by DB.
As I am developing on my laptop everything is the same! Identical hardware hitting the same data source which consists of less than 2000 rows. Any thoughts on how to work out what is wrong with my preview?
As I am developing on my laptop everything is the same! Identical hardware hitting the same data source which consists of less than 2000 rows. Any thoughts on how to work out what is wrong with my preview?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That could be my problem...the last sql sp is not installed and I am having trouble getting it installed. I'll persevere with that and let you know if it resolves the issue.
ASKER
ok...installed sql server 2012 sp and performance seems to be better. I'll give this a try and open a new issue if it recurs.