Share via


Create, edit, and delete quota templates (SharePoint Foundation 2010)

 

Applies to: SharePoint Foundation 2010

A quota template consists of storage limit values that specify the maximum amount of data that can be stored in a site collection. When the storage limit is reached, a quota template can also trigger an e-mail alert to the site collection administrator. You can create a quota template that can be applied to any site collection in the farm.

Note

When you apply a quota template to a site collection, the storage limit applies to the site collection as a whole. In other words, the storage limit applies to the sum of the content sizes for the top-level site and all subsites within the site collection.
For more information, see Create a site collection (SharePoint Foundation 2010) and Manage site collection storage limits (SharePoint Foundation 2010).

You can also apply quota templates to a site collection that contains sandboxed solutions. A sandbox is a restricted execution environment that enables programs to access only certain resources, and that keeps problems that occur in the sandbox from affecting the rest of the server environment. You can limit the maximum usage per day and send a warning e-mail message when the usage limit is approaching. If the maximum usage limit is reached, the sandboxed solution is disabled for the rest of the day, and an e-mail message is sent to the site collection administrator.

You can also modify existing quota templates. This allows you to modify storage limits for all of the site collections that use the same quota template. When you modify a quota template, you must then reapply it to existing site collections before the new storage limits are enforced.

You can delete a quota template if necessary. However, deleting a quota template will not delete quota values from sites that were created by using the quota template. If you want to remove quotas from all sites by using a specific quota template, you must use the object model or perform a SQL query.

Task requirements

Before you perform this procedure, confirm the following:

In this article:

  • Create a quota template

  • Edit a quota template

  • Delete a quota template

Create a quota template

You might want to create a quota template to apply to sites that have storage and performance requirements that differ from most other sites in the site collection.

To create a quota template

  1. Verify that you have the following administrative credentials:

    • You are a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.
  2. On the Central Administration home page, click Application Management.

  3. On the Application Management page, in the Site Collections section, click Specify quota templates.

  4. On the Quota Templates page, in the Template Name section, click Create a new quota template.

  5. In the New template name box, type the name of the new template.

    If you want to base your new template on an existing quota template, expand the Template to start from list, and then click the template that you want.

  6. In the Storage Limit Values section, set the values that you want to apply to the template.

    • If you want to restrict how much data that can be stored, click the Limit site storage to a maximum of check box and type the storage limit in megabytes into the box.

    • If you want an e-mail message to be sent to the site collection administrator when a certain storage threshold is reached, click the Send warning E-mail when Site Collection storage reaches check box and type the threshold in megabytes into the box.

  7. In the Sandboxed Solutions with Code Limits section, set the values for a template for sandboxed solutions.

    1. In the Limit maximum usage per day to box, type the daily usage in points.

    2. In the Send warning e-mail when usage per day reaches box, type the daily usage warning limit in points.

      A point is a relative measurement of resource usage, for example, CPU cycles, memory, or page faults. Points enable comparisons between measurements of resource usage that could not be compared otherwise.

      For more information, see Sandboxed solutions overview (SharePoint Foundation 2010).

      If you do not want to send a warning e-mail message, clear the Send warning e-mail when usage per day reaches check box.

  8. Click OK.

Edit a quota template

You might want to edit a quota template to increase the storage limit if you find that sites are exceeding the current storage limit on a regular basis.

To edit a quota template

  1. Verify that you have the following administrative credentials:

    • You are a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.
  2. On the Central Administration home page, click Application Management.

  3. On the Application Management page, in the Site Collections section, click Specify quota templates.

  4. On the Quota Templates page, in the Template Name section, expand the Template to modify list, and then click the template that you want to edit.

  5. Change the settings as necessary, and then click OK.

Delete a quota template

You might want to delete a quota template when the site collection that required those specific settings is deleted.

To delete a quota template

  1. Verify that you have the following administrative credentials:

    • You are a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.
  2. On the Central Administration home page, click Application Management.

  3. On the Application Management page, in the Site Collections section, click Specify quota templates.

  4. In the Template Name section, expand the Template to modify list, and then click the template that you want to delete.

  5. At the bottom of the Quota Templates page, click Delete, and then click OK.