|
17.09.2015, 23:20 | #1 |
Участник
|
emeadaxsupport: Why does converting a report to pre-processing help to resolve timeout issues?
Источник: http://blogs.msdn.com/b/axsupport/ar...ut-issues.aspx
============== I assume you are familiar with the below post that contains detailed instructions for increasing relevant timeouts to enable long running reports to execute successfully. How To: Addressing SSRS Session Timeouts (Alternatively Tips to help prevent long-running reports from timing out [AX 2012]) The first recommendation in case of reports which use the Report Data Provider to retrieve the data is to convert the report to pre-processing. Why may this help to avoid hitting the timeouts? It may because it shifts the data preparation step to before sending the request to the report server (RS). Without pre-processing the report is executed in these steps: With pre-processing the steps are executed in a different order: The report server execution time is the time between the two steps: This explains why in case of reports with pre-processing it takes less time for the report server to render the report and why the timeouts will not be hit. (In many reports, it is actually the preparation of the data by AX that is most time consuming.) This also explains why converting a report to pre-processing does not actually cause the report to execute faster. The steps are only swapped - nothing else. The overall execution time of the report as perceived by the user is the sum of all three steps and this sum is the same in either approaches. Keeping in mind that only reports that use the Report Data Provider class can be converted to pre-processing (and this in fact does not make the reports execute faster in overall), it is often required to increase the timeouts to enable a long running report to complete successfully. In order to reduce the trial and error phase to minimum, it makes sense to configure very generous timeouts for the start just to go sure that a report can be executed successfully. There is basically nothing that speaks against setting this timeout initially to 24 hours, for example. If the report was executed successfully we can take the exact time from the corresponding RS log file or RS Execution Log (they are collected by default) and reduce the timeouts to a value that ensures a successful execution of the affected report. Configuring the timeout to a value higher than 12 hours, it is also recommended to increase the RecycleTime in the rsreportserver.config file accordingly. This value is 720 minutes per default (12 hours). We saw that when the application domain got recycled while a long running report was executed that it led to an error in most cases. Taking into account that all thresholds/timeouts will be reset at the Reporting Services service startup, it is recommended for testing to restart the service before starting a long running report so all counters get initiated at the same time. Furthermore, in AX 2012 R2, it is required that the kernel build version is 6.2.1000.6578 or higher, in AX 2012 R3, 6.3.164.2421 or higher (KB 2936794). If it is not, the latest kernel hotfix available to date should be installed. Installing the latest kernel hotfix is recommended in general. (See FAQ: Microsoft Dynamics AX Kernel Hotfixes if you have any questions regarding installing a kernel hotfix.)
For more information on the new pre-processing class SrsReportDataProviderPreProcessTempDB, refer to Improving SSRS Report Performance using new R3 features - Part 6. Источник: http://blogs.msdn.com/b/axsupport/ar...ut-issues.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|