Configuring Garbage Collection

Last modified
<< PrevNext >>

When objects are deleted from a SharePoint site they are not automatically deleted from the EBS or RBS store volume. The task of deleting the orphaned BLOBs from the file store is performed via an asynchronous maintenance task that is scheduled to run periodically in the background, or ad hoc by the administrator. The procedures for garbage collection when using EBS or RBS are explained in the following sections -

Garbage Collection - EBS

When externalizing BLOBs using EBS, the EBS maintainer program (StorSimple.SharePoint.EBSMaintainer.exe) is used to garbage collect the orphaned BLOBs. This program is installed on all the SharePoint WFEs and application servers along with the StorSimple SharePoint Database Optimizer installation. This program can be found under the SharePoint files directory, "<boot drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\ADMIN\StorSimple\bin\" if using SharePoint 2007, or "<boot drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\ADMIN\StorSimple\bin\" if using SharePoint 2010.

The EBS maintainer program can be run manually, or scheduled to run periodically using the native Windows task scheduler program on one of the SharePoint WFE or application servers. The command below presents an example of how to create a create a Windows Task scheduler job via the command line to execute every week on Saturday at 10:00 PM and run for a maximum of 2 hours and delete a maximum of 50,000 orphaned BLOBs.

SCHTASKS /Create /SC minute /MO 5 /TN StorSimpleEbsMaintainerJob /TR "\"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\ADMIN\StorSimple\bin\StorSimple.SharePoint.EBSMaintainer.exe\" -BlobStorePath C:\EBS_Store -Operation GarbageCollection -MaxTimeLimit 120 -MaxNumOfDocsToDelete 50000".

The execution of the EBS maintainer program is a resource intensive operation and should only be scheduled to execute during periods of light activity on the SharePoint farm.

UpArrow.png

Garbage Collection - RBS

When externalizing BLOBs using RBS the maintainer program (Microsoft.Data.SqlRemoteBlobs.Maintainer.exe) is used to garbage collect the orphaned BLOBs. This program is installed on all the SharePoint WFEs and application servers along with the StorSimple SharePoint Database Optimizer software under the Program files directory, <boot drive>:\Program Files\Microsoft SQL Remote Blob Storage 10.50/Maintainer\.

Detailed instruction on the operation and configuration can be found in the Maintain Remote BLOB Storage (RBS) article at this link:

http://technet.microsoft.com/en-us/library/ff943565.aspx

The execution of the RBS maintainer program is a resource intensive operation and should only be scheduled to execute during periods of light activity on the SharePoint farm.

UpArrow.png

Page statistics
1248 view(s) and 4 edit(s)
Social share
Share this page?

Tags

This page has no custom tags.
This page has no classifications.

Comments

You must to post a comment.

Attachments