sql server - SSRS Report takes longer to display than the Execution Long Indicates -
i've got report running on ssrs 2008 r2. report pretty simple tablix report; no subreports or that, not subtotalling. users want report "clean" when export excel can manipulate easily. query report stored procedure accepts 3 parameters.
in development, runs in 30 seconds or less. stored procedure completes in less time that, depending upon parameters chosen. (client number, year , month.) it's been running on production server few weeks, now. , client has run specific set of parameters there takes 30 minutes complete! i've gone through usual debugging. sp takes 9 seconds parameters. i've read the article parameter sniffing, , that's not it. , i've checked values in reportserver.dbo.executionlog3 view. show results following:
timestart: 2013-08-07 08:36:45.173 timeend: 2013-08-07 08:37:08.943 timedataretrieval: 11598 timeprocessing: 3408 timerendering: 8171
all of seems indicate report completed , rendered in 23 seconds. took 30 minutes report display on web page! now, particular set of parameters returns 20,000 records. , there no paging since users want on 1 worksheet when export excel. see happen, tried introducing paging after every 100 records. when did that, report finished in under 30 seconds. (but excel workbook has 200+ worksheets in it.)
can tell me why taking long display? according execution log, it's not data retrieval, it's not processing , it's not rendering. doing?
thanks,
scott
edit: forgot mention went "processing options" report , changed report timeout setting. set use system default (which 1800 seconds or 30 minutes). it's set "limit report processing following number of seconds" 2700 (or 45 minutes.) reason client complained because when tried export report excel getting "rsexecutionnotfound" error, presumable due report's session timing out. report still ran in 30 minutes , still got rsexecutionnotfound error. i'm trying fix root problem.
i found resolution. when used report wizard build report placed tablix inside of list. (this allows generate more customized headers tablix described in this blog post.) apparently, if list/tablix doesn't page regularly takes forever display report in ie8+. (this other forum post suggests microsoft premier support said slowness bug ssrs 2008.) regardless, removing list , placing tablix without custom grouping header did trick. report renders correctly , within 30 seconds or less.
Comments
Post a Comment