Software boundaries and limits for SharePoint 2013

APPLIES TO: yes-img-132013 no-img-162016 no-img-192019 no-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

This article describes software boundaries and limits of SharePoint Server 2013, which include:

  • Boundaries: Static limits that can't be exceeded by design

  • Thresholds: Configurable limits that can be exceeded to accommodate specific requirements

  • Supported limits: Configurable limits that have been set by default to a tested value

Important

Some values in this article are based on test results from SharePoint 2010 Products and may not represent the final values for SharePoint Server 2013. This article will be updated with appropriate values as SharePoint Server 2013 test data becomes available. > For information about current hardware and software requirements, see Hardware and software requirements for SharePoint 2013.

Note

The capacity planning information in this document provides guidelines for you to use in your planning. It is based on testing performed at Microsoft, on live properties. However, your results are likely to vary based on the equipment you use and the features and functionality that you implement for your sites.

Learn about SharePoint limits in Microsoft 365.

Overview of boundaries and limits

This article contains information to help you understand the tested performance and capacity limits of SharePoint Server 2013, and offers guidelines for how limits relate to acceptable performance. Use the information in this article to determine whether your planned deployment falls within acceptable performance and capacity limits, and to appropriately configure limits in your environment.

The test results and guidelines provided in this article apply to a single SharePoint Server 2013 farm. Adding servers to the installation might not increase the capacity limits of the objects that are listed in the tables in the Limits and boundaries section later in this article. On the other hand, adding server computers increases the throughput of a server farm, which might be necessary to achieve acceptable performance with many objects. In some cases, the requirements for high numbers of objects in a solution might require more servers in the farm.

There are many factors that can affect performance in a given environment, and each of these factors can affect performance in different areas. Some of the test results and recommendations in this article might be related to features or user operations that don't exist in your environment, and therefore don't apply to your solution. Only thorough testing can give you exact data related to your own environment.

Boundaries, thresholds, and supported limits

In SharePoint Server 2013, there are certain limits that are by design and can't be exceeded. Some other limits are set to default values that may be changed by the farm administrator. There are also certain limits that aren't represented by a configurable value, such as the number of site collections per web application.

  • Boundaries are absolute limits that can't be exceeded by design. It's important to understand these limits to ensure that you don't make incorrect assumptions when you design your farm.

    An example of a boundary is the 2-GB document size limit; you can't configure SharePoint Server 2013 to store documents that are larger than 2 GB. This boundary is a built-in absolute value, and can't be exceeded by design.

  • A threshold is a parameter that has a default value that can't be exceeded unless the value is modified. Thresholds can, in certain circumstances, be exceeded to accommodate variances in your farm design. However, it's important to understand that exceeding threshold might affect the performance of the farm in addition to the effective value of other limits.

    The default value of certain thresholds can only be exceeded up to an absolute maximum value. A good example is the document size limit. By default, the default document size threshold is set to 250 MB, but can be changed to support the maximum boundary of 2 GB.

  • Supported limits define the tested value for a given parameter. The default values for these limits were defined by testing, and represent the known limitations of the product. Exceeding supported limits may cause unexpected results, significant decrease in performance, or other harmful effects.

    Some supported limits are configurable parameters that are set by default to the recommended value, while other supported limits relate to parameters that aren't represented by a configurable value.

An example of a supported limit is the number of site collections per farm. The supported limit is the largest number of site collections per web application that met performance benchmarks during testing.

It's important to know that many of the limit values that are provided in this document represent a point in a curve that describes an increasing resource load and concomitant decrease in performance as the value increases. Therefore, exceeding certain limits, such as the number of site collections per web application, may only result in a fractional decrease in farm performance. However, in most cases, operating at or near an established limit isn't a best practice, as acceptable performance and reliability targets are best achieved when a farm's design provides for a reasonable balance of limits values.

Thresholds and supported limits guidelines are determined by performance. In other words, you can exceed the default values of the limits, but as you increase the limit value, farm performance and the effective value of other limits may be affected. Many limits in SharePoint Server 2013 can be changed, but it's important to understand how changing a given limit affects other parts of the farm.

How limits are established

In SharePoint Server 2013, thresholds and supported limits are established through testing and observation of farm behavior under increasing loads up to the point where farm services and operations reach their effective operational limits. Some farm services and components can support a higher load than others so that in some cases you must assign a limit value based on an average of several factors.

For example, observations of farm behavior under load when site collections are added indicate that certain features exhibit unacceptably high latency while other features are still operating within acceptable parameters. Therefore, the maximum value assigned to the number of site collections isn't absolute, but is calculated based on an expected set of usage characteristics in which overall farm performance would be acceptable at the given limit under most circumstances.

Obviously, if some services are operating under parameters that are higher than those parameters used for limits testing, the maximum effective limits of other services will be reduced. It's therefore important to execute rigorous capacity management and scale testing exercises for specific deployments in order to establish effective limits for that environment.

Note: We don't describe the hardware that was used to validate the limits in this document, because the limits were collected from multiple farms and environments.

The Pie Metaphor

In order to understand the relationship between hardware resources, load, and performance, it's important to have a way to visualize the factors involved and how they affect each other.

Consider the capacity of a farm as a pie, the size of which represents the aggregate of factors such as servers, hardware resources such as CPUs and RAM, storage capacity, disk IOPS, network bandwidth, and latency. The size of the pie is therefore related to the overall resources of the farm; adding resources (such as farm servers) increases the size of the pie.

This pie is divided into slices that represent load from various sources: user requests, search queries, operations against installed features, timer jobs, and operating system overhead. Each of these sections must share available farm resources. If the size of one slice increases, the size of others must decrease proportionally. Since load on a farm isn't static (user requests, for example, might only be significant during certain hours of the day), the relative size of the slices is constantly in flux. However, each slice must maintain a required minimum size to operate normally, and since the functions represented by each slice are interdependent, increasing the size of one slice may place more load on other slices in addition to reducing the resources available for them to consume.

Using this metaphor, the goal of the farm's design is to make the pie large enough to accommodate the required size of each pie slice under peak load.

Now, consider a scenario where user requests increase by 100% over baseline. Let's say that about half of the requests are search queries, and the other half editing lists and documents. This increased load squeezes the other pie slices, but some farm features must also work harder to compensate. The Search service has to process more queries, most of which are handled by the cache, but some queries are passed on to the database servers, increasing their load as well. If load on the database servers becomes too great, disk queue lengths increase, which in turn increases the latency of all other requests.

Limits and boundaries

This section lists the objects that can be a part of a solution and provides guidelines for acceptable performance for each kind of object. Acceptable performance means that the system as tested can support that number of objects, but that the number can't be exceeded without some decrease in performance or a reduction in the value of related limits. Objects are listed both by scope and by feature. Limits data is provided, together with notes that describe the conditions under which the limit is obtained and links to additional information where available.

Use the guidelines in this article to review your overall solution plans. If your solution plans exceed the recommended guidelines for one or more objects, take one or more of the following actions:

  • Evaluate the solution to ensure that compensations are made in other areas.

  • Flag these areas for testing and monitoring as you build your deployment.

  • Redesign or partition the solution to ensure that you don't exceed capacity guidelines.

Limits by hierarchy

This section provides limits sorted by the logical hierarchy of a SharePoint Server 2013 farm.

Web application limits

The following table lists the recommended guidelines for web applications.

Limit Maximum value Limit type Notes
Web application
20 per farm
Supported
We recommended limiting the number of web applications as much as possible. Create more host named site collections where possible instead of adding web applications.
Zone
5 per web application
Boundary
The number of zones defined for a farm is hard-coded to 5. Zones include Default, Intranet, Extranet, Internet, and custom.
Managed path for host-named site collections
20 per farm
Supported
Managed paths for host-named site collections apply at the farm level. Each managed path that is created can be applied in any Web application.
Managed path for path-based site collections
20 per web application
Supported
Managed paths are cached on the web server, and CPU resources are used to process incoming requests against the managed path list.
Managed paths for path-based site collections apply at the Web application level. You can create a different set of managed paths for each Web application. Exceeding 20 managed paths per web application adds more load to the web server for each request.
If you plan to exceed 20 managed paths in a given web application, we recommend that you test for acceptable system performance.
Solution cache size
300 MB per web application
Threshold
The solution cache allows the InfoPath Forms service to hold solutions in cache in order to speed up retrieval of the solutions. If the cache size is exceeded, solutions are retrieved from disk, which may slow down response times. You can configure the size of the solution cache by using the PowerShell cmdlet Set-SPInfoPathFormsService. For more information, see Set-SPInfoPathFormsService.

Web server and application server limits

The following table lists the recommended guidelines for web servers on the farm.

Limit Maximum value Limit type Notes
Application pools
10 per web server
Threshold
The maximum number is determined by hardware capabilities.
This limit is dependent largely upon:
The amount of memory allocated to the web servers
The workload that the farm is serving, that is, the user base and the usage characteristics (a single highly active application pool can utilize 10 GB or more)

Content database limits

The following table lists the recommended guidelines for content databases.

Limit Maximum value Limit type Notes
Number of content databases
500 per farm
Supported
The maximum number of content databases per farm is 500. With 500 content databases per web application, end user operations such as opening the site or site collections aren't affected. But administrative operations such as creating a new site collection will experience decrease in performance. We recommend that you use PowerShell to manage the web application when a large number of content databases are present, because the management interface might become slow and difficult to navigate.
With 200 GB per content database, and 500 content databases per farm, SharePoint Server 2013 supports 100 TB of data per farm.
Content database size (general usage scenarios)
200 GB per content database
Supported
We recommended limiting the size of content databases to 200 GB, except when the circumstances in the following rows in this table apply.
If you're using Remote BLOB Storage (RBS), the total volume of remote BLOB storage and metadata in the content database must not exceed the 200-GB limit.
Content database size (all usage scenarios)
4 TB per content database
Supported
Content databases of up to 4 TB are supported when the following requirements are met:
Disk subsystem performance of 0.25 IOPs per GB, two IOPs per GB is recommended for optimal performance.
You must have developed plans for high availability, disaster recovery, future capacity, and performance testing.
Consider the following factors:
Requirements for backup and restore may not be met by the native SharePoint Server 2013 backup for content databases larger than 200 GB. Evaluate and test SharePoint Server 2013 backup and alternative backup solutions to determine the best solution for your specific environment.
It's recommended to have proactive skilled administrator management of the SharePoint Server 2013 and SQL Server installations.
The complexity of customizations and configurations on SharePoint Server 2013 may necessitate refactoring (or splitting) of data into multiple content databases. Seek advice from a skilled professional architect and perform testing to determine the optimum content database size for your implementation. Examples of complexity may include custom code deployments, use of more than 20 columns in property promotion, or features listed as not to be used in the over-4-TB section, below.
Refactoring of site collections allows for scale out of a SharePoint Server 2013 implementation across multiple content databases. This provision permits SharePoint Server 2013 implementations to scale indefinitely. This refactoring will be easier and faster when content databases are less than 200 GB.
It's suggested that for ease of backup and restore that individual site collections within a content database be limited to 100 GB. For more information, see Site collection limits.
IMPORTANT: We don't recommend the use of content databases that exceed 4 TB, except in document archive scenarios (described in the next row in this table). If, in the future, you need to upgrade your SharePoint Server 2013 installation, upgrading the site collections within the content databases can be difficult and time consuming. > It's recommended that you scale out across multiple content databases, rather than exceed 4 TB of data in a single content database.
Content database size (document archive scenario)
No explicit content database limit
Supported
Content databases with no explicit size limit for use in document archive scenarios are supported when the following requirements are met:
Fulfill all requirements from the "Content database size (all usage scenarios)" limit earlier in this table, and you should ensure that you have carefully considered all the factors discussed in the Notes field of that limit.
SharePoint Server 2013 sites must be based on Document Center or Records Center site templates.
Less than 5% of the content in the content database is accessed each month on average, and less than 1% of content is modified or written each month on average.
Don't use alerts, workflows, link fix-ups, or item level security on any SharePoint Server 2013 objects in the content database.
Note: Document archive content databases can be configured to accept documents from Content Routing workflows.
For more information about large-scale document repositories, see Estimate performance and capacity requirements for large scale document repositories in SharePoint Server 2010, and the Typical large-scale content management scenarios section of the article Enterprise content storage planning (SharePoint Server 2010).
Content database items
60 million items including documents and list items
Supported
The largest number of items per content database that has been tested on SharePoint Server 2013 is 60 million items, including documents and list items. If you plan to store more than 60 million items in SharePoint Server 2013, you must deploy multiple content databases.
Site collections per content database
10,000 maximum (2,500 non-Personal site collections and 7,500 Personal Sites, or 10,000 Personal Sites alone)
Supported
We recommended limiting the number of site collections in a content database to 5,000. However, up to 10,000 site collections in a database are supported. In a content database with up to 10,000 total site collections, a maximum of 2,500 of these collections can be non-Personal site collections. It's possible to support 10,000 Personal site collections if they're the only site collections within the content database.
These limits relate to speed of upgrade. The larger the number of site collections in a database, the slower the upgrade with respect to both database upgrade and site collection upgrades.
The limit on the number of site collections in a database is subordinate to the limit on the size of a content database that has more than one site collection. Therefore, as the number of site collections in a database increases, the average size of the site collections it contains must decrease.
Exceeding the 5,000 site collection limit puts you at risk of longer downtimes during upgrades. If you plan to exceed 5,000 site collections, we recommend that you have a clear upgrade strategy to address outage length and operations impact, and obtain extra hardware to speed up the software updates and upgrades that affect databases.
To set the warning and maximum levels for the number of sites in a content database, use the PowerShell cmdlet Set-SPContentDatabase with the -WarningSiteCount parameter. For more information, see [Set-SPContentDatabase]/powershell/module/sharepoint-server/Set-SPContentDatabase?view=sharepoint-ps&preserve-view=true).
Remote BLOB Storage (RBS) storage subsystem on Network Attached Storage (NAS)
Time to first byte of any response from the NAS should remain within 40 milliseconds 95% of the time.
Boundary
When SharePoint Server 2013 is configured to use RBS, and the BLOBs reside on NAS storage, consider the following supported limit.
From the time that SharePoint Server 2013 requests a BLOB, until it receives the first byte from the NAS, 95% of the time no more than 40 milliseconds can pass.

Site collection limits

The following table lists the recommended guidelines for site collections.

Limit Maximum value Limit type Notes
Site collections per farm
750,000 per farm (500,000 rooted with the Personal Sites template and 250,000 rooted with other sites types)
Supported
The maximum recommended number of sites per farm is 500,000 site collections containing only one Personal Sites plus 250,000 site collections containing any other for all other site templates. The Sites can all reside on one web application, or can be distributed across multiple web applications.
This limit is affected by other factors that might reduce the effective number of site collections that can be supported by a given content database. Care must be exercised to avoid exceeding supported limits when a container object, such as a content database, contains a large number of other objects. For example, if a farm contains a smaller total number of content databases, each of which contains a large number of site collections, farm performance might be adversely affected long before the supported limit for the number of site collections is reached.
For example, Farm A contains a web application that has 200 content databases, a supported configuration. If each of these content databases contains 1,000 site collections, the total number of site collections in the web application will be 200,000, which falls within supported limits. However, if each content database contains 10,000 site collections, even though this number is supported for a content database, the total number of site collections in the farm will be 2,000,000, which exceeds the limit for the number of site collections per web application and per farm.
Memory usage on the web servers should be monitored, as memory usage is dependent on usage patterns and how many sites are being accessed in given timeframe. Similarly, the crawl targets might also exhibit memory pressure, and if so the application pool should be configured to recycle before available memory on any web server drops to less than 2 GB.
Web site
250,000 per site collection / 250,000 per farm / 500,000 personal sites per farm.
Supported
The maximum recommended number of web sites is 500,000 sites based on the Personal Site template, and 250,000 sites based on all other templates. This limit applies per site collection and per farm.
Performance can degrade as the number of subsites surpasses 2,000 at the site collection level.
IMPORTANT: Staying below 2,000 subsites per site collection is recommended. You can create a large total number of web sites by creating multiple site collections with up to 2,000 webs per site collection. For example, 125 site collections that contain 2,000 webs each equates to 250,000 sites in the farm. However, this threshold would be considered the maximum recommended limit for non-personal sites.
If you have 250,000 site collections, all containing a root web site that isn't the Personal Site template, adding a subsite to any of those root sites would exceed the 250,000 web site boundary.
If the recommended limit of 2,000 sites per site collection is exceeded, the following issues may occur:
Deleting or creating a site or subsite can significantly affect a site's availability. Access to the site and subsites will be limited while the site is being deleted. Attempting to create many subsites at the same time may also fail.
When having more than 2,000 subsites, the performance of actions such as executing PSConfig when adding a new server to an existing farm, or after installing SharePoint updates may drastically decrease.
Executing the stsadm -o checklocalupgradestatus operation, or the daily execution of the Product Version Job timer job may take many hours to complete.
Browsing the Review database status page (<your_SharePoint_CentralAdmin_URL>/_admin/UpgradeStatus.aspx) on the Central Administration web site may result in a timeout.
Site collection size
Maximum size of the content database
Supported
A site collection can be as large as the content database size limit for the applicable usage scenario. For more information about the different content database size limits for specific usage scenarios, see the Content database limits table in this article.
In general, we recommend limiting the size of site collections to 100 GB for the following reasons:
Certain site collection actions, such as site collection backup/restore or the PowerShell cmdlet Move-SPSite, cause large SQL Server operations that can affect performance or fail if other site collections are active in the same database. For more information, see Move-SPSite.
SharePoint site collection backup and restore is only supported for a maximum site collection size of 100 GB. For larger site collections, the complete content database must be backed up. If multiple site collections larger than 100 GB are contained in a single content database, backup and restore operations can take a long time and are at risk of failure.
Number of device channels per publishing site collection
10
Boundary
The maximum allowed number of device channels per publishing site collection is 10.

List and library limits

The following table lists the recommended guidelines for lists and libraries. For more information, see Designing large Lists and maximizing list performance (SharePoint Server 2010).

Limit Maximum value Limit type Notes
List row size
8,000 bytes per row
Boundary
Each list or library item can only occupy 8,000 bytes in total in the database. 300 bytes are reserved, leaving 7700 bytes for end-user columns. For details on how much space each kind of field consumes, see Column limits.
File size
2 GB
Boundary
The default maximum file size is 250 MB. This boundary is a configurable limit that can be increased up to 2 GB (2,047 MB). However, a large volume of large files can affect farm performance.
Documents
30,000,000 per library
Supported
You can create large document libraries by nesting folders, or using standard views and site hierarchy. This value may vary depending on how documents and folders are organized, and by the type and size of documents stored.
Major versions
400,000
Supported
If you exceed this limit, basic file operations—such as file open or save, delete, and viewing the version history— may not succeed.
This value is set on the library level for files.
Minor versions
511