?
Solved

SSRS Report very slow with added parameters

Posted on 2014-03-09
7
Medium Priority
?
1,573 Views
Last Modified: 2014-03-21
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.
0
Comment
Question by:canuckconsulting
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39917059
First you need to figure out what part is slow.  How long does the parameterized query take when executed in Management Studio?
0
 

Author Comment

by:canuckconsulting
ID: 39924671
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?
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39925863
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...
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:canuckconsulting
ID: 39932409
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?
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 2000 total points
ID: 39939002
No idea to be honest, so far I've always encountered the opposite!  Do you have the latest service packs for both Visual Studio and SQL Server installed?  If not, that might be good to try.  It's always interesting to have the latest version of those installed anyway...
0
 

Author Comment

by:canuckconsulting
ID: 39945924
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.
0
 

Author Closing Comment

by:canuckconsulting
ID: 39946292
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.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question