[英]SSRS Matrix (pivot) report is very slow
I have a view that quickly returns 28000 rows of data within 3 seconds. 我有一个视图,可以在3秒内快速返回28000行数据。 However, when I use this view to create SSRS Matrix (pivot) report, it takes almost 2 minutes to run.
但是,当我使用此视图创建SSRS矩阵(数据透视)报告时,将花费近2分钟的时间来运行。
More detail about the view: 有关视图的更多详细信息:
What I have tried so far: 到目前为止我尝试过的是:
The report is very simple. 该报告非常简单。 Without any parameters.
没有任何参数。 This is one of those reports that users can run and do a data dump into excel before importing it into another system.
这是用户可以在将数据导入另一个系统之前运行并对其进行数据转储的报告之一。
Any suggestions? 有什么建议么?
I would look into doing as much of the aggregation as you can on the server, if that's what's taking the time, especially as it sounds like a relatively static report. 如果要花时间,我会考虑在服务器上进行尽可能多的聚合,尤其是听起来像是一个相对静态的报告。 Give the data to SSRS in a state where it has to do as little work as possible.
在状态数据必须做得尽可能少的情况下,将其提供给SSRS。
If your query then takes up to two minutes to run on SQL Server, you could look into performance tuning, indexing, etc. 如果查询随后最多需要两分钟才能在SQL Server上运行,则可以考虑性能调整,索引编制等。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.