Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

SSRS 'Render' and TempDB Growth Expand / Collapse
Posted Wednesday, March 20, 2013 12:36 PM


Group: General Forum Members
Last Login: Tuesday, December 6, 2016 3:29 PM
Points: 15, Visits: 330
I have a client that beginning two days ago is having an issue with TempDB growing extremely fast and running out of space. I launched the SQL Profiler while it was happening and noticed that most of the sessions were SSRS reports. I looked at the SSRS log and noticed a report running a the same time as the TempDB warnings.

The SSRS log showed the report as Item Action = 'Render'. What does this mean? The report itself is based on SQL query that is based on views. The views are not complex, however, I noticed that one of the underlying tables could benefit with and additional index. I studied the query plan and determined that.

If this were a report based on a stored procedure using a lot of temp table and such I would think it was that. But it's this query.

Any thoughts?


Post #1433413
Posted Wednesday, March 20, 2013 10:42 PM



Group: General Forum Members
Last Login: 2 days ago @ 2:36 AM
Points: 7,933, Visits: 14,357
Batches or queries that do not have temporary tables can still use tempdb. For one of many possible examples, if the execution plan has a Sort operator and there is not enough memory available to sort all necessary data in memory then it spills to tempdb. Check the execution plan and see if it can be tuned.

There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1433583
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse