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
Solved

SSRS Report very slow with added parameters

Posted on 2014-03-09
7
1,419 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
  • 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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 500 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql server query 12 26
job schedule 8 18
SQL 2012 clustering 9 12
Get rid of the last Last comma and space in a SQL statement. 7 16
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

860 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