Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsAvoid heavy use of reports module because of view state bloatAvoid heavy use of reports module because of view state bloat
Previous
 
Next
New Post
8/10/2009 10:41 AM
 

 I have a data driven website that used to depend on the reports module for rendering most of it's content. The site seemed slow and sluggish. When I discovered the cause for the poor performance I was shocked: The view state for each page was hundreds of kilobytes!

It looks that the reports module duplicates the report output in the view state. So if your report generates 100KB of output, another 100KB will be added to the page view state. That is 200KB in total, of which 50% is unnessesary. And another problem with the view state is that it is posted back with all ajax calls and postback links. Effectively making the page unusable.

The report data can be recreated on the server when needed. The reports module has all the information to do so. There is no valid reason for the excessive use of the view state. This is a problem that should be easy to fix in the reports module. I have logged the issue in Gemeni: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=10555&PROJID=23

In the mean time, my solution was to save the report output xml to disk and replace the reports module with the xml module. The size of the view state was reduced by approx 95%. Now, my site is fast and slick!  

 
New Post
8/10/2009 11:46 AM
 

Thanks for posting the heads-up, Lars.  I've not used multiple REPORTS on one page but I have done so with similar modules.  Based on your findings, I need to go back and do some testing to see if I can't speed up some cleints' sites by switching from REPORTS to a similar module.
 
You may be interested in trying out a couple of free SQL modules that predate the current REPORTS module:
 
 Advanced Datagrid module:
 http://www.eguanasolutions.com/DNN_Blog/EntryID/2.aspx
 
 SQLView module:
 http://www.eguanasolutions.com/DNN_Blog/EntryID/15.aspx
 
The "SQLView" module is more similar to REPORTS than Advanced Datagrid.  SQLView also supports querystring parameters (REPORTS does not).
 
Cheers!
-mamlin


esmamlin atxgeek.me
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsAvoid heavy use of reports module because of view state bloatAvoid heavy use of reports module because of view state bloat


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out