Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

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

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Yesterday @ 7:35 PM
Points: 15, Visits: 239
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?

Thanks.

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


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Saturday, August 23, 2014 8:34 AM
Points: 7,097, Visits: 12,601
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