SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS Report Performance


SSRS Report Performance

Author
Message
jaytuke
jaytuke
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 74
I occasionally develop multiple data sets from my data source in the process of developing reports in SSRS and then settle on the one best suited for my purposes. Does keeping these unused, not referenced, extra datasets impact the performance of the server in running such reports? If I want to keep the extra datasets for future reference, can I simply comment them out somehow?
robert.gerald.taylor
robert.gerald.taylor
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1832 Visits: 1493
jaytuke (9/4/2013)
I occasionally develop multiple data sets from my data source in the process of developing reports in SSRS and then settle on the one best suited for my purposes. Does keeping these unused, not referenced, extra datasets impact the performance of the server in running such reports? If I want to keep the extra datasets for future reference, can I simply comment them out somehow?

Yes, those unreferenced datasets still get executed every time the report is run and could negatively impact your performance.

I verified this by creating a report with three datasets -- only the first one was referenced in the report. Setting up SQL Profiler to watch the database while the report ran shows that all three queries for the three datasets (one used in report, two unused anywhere in report) were executed.

You could comment out all of the code in the unused datasets in the report, but I would prefer just storing my "working" SQL in a folder on the dev machine.

HTH,
Rob
jaytuke
jaytuke
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 74
Thanks!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search