简体   繁体   English

SQL Server Reporting Services 需要很长时间才能请求报告

[英]SQL Server Reporting Services taking a long time before requesting report

I am running a SQL Server 2016 instance with Reporting Services installed, and am seeing a strange "slowness" to my reports.我正在运行安装了 Reporting Services 的 SQL Server 2016 实例,并且我的报告出现了奇怪的“缓慢”现象。

The report header and parameters load immediately, but then the report itself displays a white screen for ~15-20 seconds, before the loading wheel appears and the report renders.报告标题和参数会立即加载,但在加载轮出现并呈现报告之前,报告本身会显示一个白屏约 15-20 秒。

Looking at ExecutionLog3, the report itself is only taking ~1140 milliseconds to get data, process and render.查看 ExecutionLog3,报告本身只需要大约 1140 毫秒来获取数据、处理和呈现。 This seems correct, as that is about as long as the loading wheel appears on screen, but doesn't account for the ~15-20 seconds of white screen.这似乎是正确的,因为这与加载轮出现在屏幕上的时间差不多,但不包括约 15-20 秒的白屏。

StartTime               | EndTime                 | TimeDataRetrieval | Time Processing | TimeRendering | ByteCount | RowCount
------------------------|-------------------------|-------------------|-----------------|---------------|-----------|---------
2019-03-14 10:29:53.057 | 2019-03-14 10:29:54.213 | 492               | 345             | 302           | 85370     | 4467 

**I did another test, The start time shown in ExecutionLog3 matches with when the loading circle appears, not when the parameters first appear 15 seconds earlier. **我又做了一个测试,ExecutionLog3中显示的开始时间与加载圈出现的时间匹配,而不是参数第一次出现的时间提前15秒。

What is even stranger, adding &RC:Toolbar=False&rs:ClearSession=true to the report URL hides the parameter window, but that ~15 second wait before the report starts to load goes away, and the report takes ~1 second from clicking the link to report rendered.更奇怪的是,在报告 URL 中添加&RC:Toolbar=False&rs:ClearSession=true会隐藏参数窗口,但是在报告开始加载之前大约 15 秒的等待消失了,并且报告需要大约 1 秒才能点击链接报告呈现。 I have put this on some reports, but others need to have parameters visible to the user.我已经把它放在一些报告上,但其他人需要有用户可见的参数。

SQL Version: SQL 版本:

Microsoft SQL Server 2016 (SP2) (KB4052908) - 13.0.5026.0 (X64) Microsoft Corporation  Standard Edition (64-bit) on Windows Server 2016 Standard 10.0 <X64> (Build 14393: ) (Hypervisor) 
Microsoft SQL Server Reporting Services Version 13.0.5026.0 

Perhaps the Internet is locked down?也许互联网被锁定了?

SSRS 2016 uses a CDN-served JavaScript library for diagnostics. SSRS 2016 使用 CDN 提供的 JavaScript 库进行诊断。

Disabling usage tracking to Microsoft for the reporting services instances resolves the issue with "Application Insights" loading.为报告服务实例禁用对 Microsoft 的使用跟踪可解决“Application Insights”加载问题。

It can be done using the SQL Server Error and Usage Reporting tool:可以使用 SQL Server 错误和使用情况报告工具来完成:

https://pbs.twimg.com/media/CxjTT2eUAAIGyw2.jpg

More info: https://twitter.com/RiccardoMuti/status/799350487426289668更多信息: https : //twitter.com/RiccardoMuti/status/799350487426289668


And, another suggestion is to delete and republish the RDL file.并且,另一个建议是删除并重新发布 RDL 文件。 It can work, if there was in place upgrade of SSRS and the catalog table contains RDL in an outdated version.如果 SSRS 就地升级并且目录表包含过时版本的 RDL,则它可以工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SQL Server Reporting Services在显示第一个报告之前需要花费很长时间初始化配置文件 - Sql Server Reporting Services take long time to initialize configuration files before showing first report SQL Server Reporting Services-报表表达式执行 - SQL Server Reporting Services - Report Expressions Execution SQL Server报表服务和报表开发 - SQL Server Reporting Services and Report Development 未定义SQL Server Reporting Services报表参数 - SQL Server Reporting Services report parameter is not defined Sql Server Reporting Services报表上的复选框 - Checkbox on Sql Server Reporting Services Report SQL Server报告服务图表报告 - SQL Server Reporting services chart report SQL Server Reporting Services 主/详细报表 - SQL Server Reporting Services Master/Detail Report 有没有一种方法可以在部署时而非设计时向SQL Server Reporting Services报表提供查询参数 - Is there a way to supply query parameters to a SQL Server Reporting Services Report at deployment time rather than at design time 如何在运行时在 SSRS(SQL Server Reporting Services)中压缩和通过电子邮件发送 Excel 报告? - How to Compress and Email Excel Report in SSRS(SQL Server Reporting Services) in Run Time? 如何从SQL Server Reporting Services获取报告解决方案? - How to get report solutions from SQL Server Reporting Services?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM