SSRS Tablix render slow

Andrew May 11 Reputation points
2022-02-21T01:06:16.807+00:00

I have a series of reports that use a very similar Tablix object to display rows returned by a stored procedure. The render time of the report grows exponentially with the number of rows returned, when it gets over 6,000 it is well over 5 minutes, running the stored procedure in SSMS with the same parameter values returns the result set in seconds

Andy help Much appreciated

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,063 questions
Developer technologies | Transact-SQL
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Isabellaz-1451 3,616 Reputation points
    2022-02-21T06:38:12.487+00:00

    Hi @Andrew May
    If the report is deployed, check the execution log. This will tell you roughly where all the time it spent. It's more than likely the rendering that is taking the time. Here's a quick bit of SQL to get you started.

    SELECT  	   TimeDataRetrieval, TimeProcessing, TimeRendering, *      FROM ReportServer..executionlog l         JOIN ReportServer..Catalog c on l.ReportID = c.ItemID     WHERE c.name = 'MyReportName'     ORDER By TimeStart Desc  
    

    Sometimes the memory can affect the perfermance ,you may increase the max memory used by SSRS: <WorkingSetMaximum>7000000</WorkingSetMaximum>
    I refer to these threads :https://stackoverflow.com/questions/49383116/storedprocedure-working-fast-but-ssrs-working-very-slow
    https://stackoverflow.com/questions/11207049/sql-reporting-services-first-call-is-very-slow

    Best Regards,
    Isabella


    If the answer is the right solution, please click "Accept Answer" and upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.