Delete obsolete blobs

Abstract

Describes how to delete obsolete blobs and prevent errors when disk space runs out.

The Web database can grow significantly if you have a lot of blobs (Binary Large Objects). This can make disk space run out and users will see errors. You can delete obsolete blobs either by running a manual task regularly or by configuring a scheduled task.

Important

When disk space has run out, the admin page you use to delete obsolete blobs will not function properly. Therefore, we recommend that you delete obsolete blobs regularly and before problems begin to occur.

To delete obsolete tasks:

  1. As an administrator, open the Control Panel in the Launchpad.

  2. In the Control Panel, open the Administration Tools, then open the Database Cleanup tool.

  3. Select the web database checkbox, and the Cleanup Blobs task checkbox:

    The Database Cleanup tool.
  4. Click Execute Cleanup. Sitecore shows information about the task in the Status field:

    Status message from the Disk Cleanup tool.

Note

If you already have problems and the administration page times out, patch the sitecore.config file to increase the value of the DefaultSQLTimeout setting from the default value:

<setting name="DefaultSQLTimeout" value="00:05:00" />