My Reporting Services ChunkData table is huge. How can I manually delete the data?

Filed under: Administration, Reporting Services — Ari Weil at 11:59 am on Monday, July 21, 2008

SQL Server Reporting Services (SSRS) will attempt to determine whether the data in the ChunkData table is still needed all by itself. If you review the error log, you should see messages where the SSRS engine is attempting to purge the data by itself using the following query:

DELETE ChunkData FROM ChunkData INNER JOIN #tempSnapshot ON
ChunkData.SnapshotDataID = #tempSnapshot.SnapshotDataID

I would venture a guess that the following error is being thrown:

ERROR: Sql Error in
CleanOrphanedSnapshots: System.Data.SqlClient.SqlException: Timeout
expired. The timeout period elapsed prior to completion of the
operation or the server is not responding.

If that is the case, you should monitor that instance to see whether there are blocking locks or other performance bottlenecks that are stopping the purge and tune accordingly.

Technorati Tags: ,

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>