Lists Throttling in SharePoint 2010
SharePoint 2010 provides Administrators to control a limit of how many items to be retrieved from the lists at a time using User Interface or Object Model. We can override it by calling RequestThrottleOverride on the SPQuery object. This will allow us to execute large unsafe queries.
You can find the setting in the Central Administration under the General Setting of a Web Application.
- Open your SharePoint Central Administration
- Click on Manage web applications
- There you can see the list of your web applications
- Select your web application as shown below
- From general settings select Resource Throttling
- You will get a popup as shown below; you can change the settings if you want
List View Threshold: The number of results that can be returned in a user query if this exceeds the limit set by the administrator it will throw an exception.
List View Threshold for Auditors and Administrators: The number of results that can be returned for an Auditors and Administrators. It will be somewhat high for them.
List View Lookup Threshold: Lot of lookup in a list also decreases the list performance. So this is the maximum no of lookups that a list can have.
Object Model Override: This will allow the developers to override the property and ignore the throttling. I already mentioned the same on second paragraph of this article.
Daily Time Window for Large Queries: This will allow the application to query the Large SharePoint 2010 List during the time set by the administrator.