Add/Remove/Update a list column All columns including lookup and calculated columns, in addition to many types of updates,...
Delete/Copy/Rename a folder                  Fails when the folder contains more items than the list view threshold becaus...
Threshold/Limit       Default Value   DescriptionList View Threshold   5000            Specifies the maximum number of lis...
Threshold/Limit         Default Value   DescriptionList View Lookup        8               Specifies the maximum number of...
Threshold/Limit      Default Value   DescriptionAllow Object Model   Y               Specifies whether or not developers c...
Supported Column Types           Unsupported Column TypesSingle line of text              Multiple lines of textChoice (si...
Get-PSSnapin       Where   $_           Microsoft.SharePoint.Powershell   $null    Add-PSSnapin Microsoft.SharePoint.Power...
Designing Large Lists and Maximizing List PerformanceManage lists and libraries with many itemsWorking with Large Lists in...
http://www.mukalian.com/blog    http://www.linkedin.com/in/mmukalian mmukalian@liquidhub.commichael@mukalian.com
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010
Upcoming SlideShare
Loading in …5
×

"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010

2,285 views

Published on

With SharePoint 2010, as has been said around the campfire, "5,000 is the new 2,000!" What does that mean? It means that we now need to be mindful of not just how many items are in our lists, but how our views are constructed as well because, well, it’s not as dramatic as the scene referenced in the title of this topic, but let’s just say it’s not really pretty. Today's talk will be a combination discussion and waklthrough of the various ways of handling and managing a large number of items in a SharePoint list.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,285
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

"Oh sir, it's only wafer thin!" - Managing Large Lists in SharePoint 2010

  1. 1. Add/Remove/Update a list column All columns including lookup and calculated columns, in addition to many types of updates, such as a type change or a uniqueness change. Some updates, such as a name change, are not blocked because they do not affect every item in the list.Add/Remove/Update a List Content Affects every item in the list so it is blocked for any list that has more items than the list view threshold.TypeCreate/Remove an Index Affects every item in the list so it is blocked for any list that has more items than the list view threshold.Manage files which have no A non-indexed recursive query that fails for any list that has more items than the list view threshold.checked in versionNon-indexed recursive queries Includes filters and some sorts. This operation fails when the list size is greater than the list view threshold. Because there is no index, it does a full scan against the entire list. Also it returns all items, and it ignores folders.Cross list query Includes queries by the content query Web Part and follows the list view threshold setting for auditors and administrators, which by default is 20,000. If the operation involves more than 20,000 items, the query fails.Lookup columns that enforce You cannot create lookup columns that enforce relationship behavior when the list it references contains more items than therelationship behavior list view threshold.Deleting a list Affects every item in the list so it is blocked for any list that has more items than the list view threshold.Deleting a site If the sum of all items in a site is greater than the list view threshold, deleting the site is prevented because it affects too many items.Save List as Template with Data Affects every item in the list so it is blocked for any list that has more items than the list view threshold.Showing Totals in List Views Performs a query against every item in the list so it is blocked for any list that has more items than the list view threshold.Enable/disable attachments in a Affects every item in the list so it is blocked for any list that has more items than the list view threshold.list
  2. 2. Delete/Copy/Rename a folder Fails when the folder contains more items than the list view threshold because it affects too many rows.Queries that filter on non-indexed columns Fails when the container (folder or list) contains more items than the list the view threshold because it does a full scan against the entire folder because there is no index.Set fine grained security permissions Fails whenever the list or folder on which you are trying to set fine grained permissions contains more items than the list view threshold because it affects too many rows. You can still set fine-grained permissions on child items, such as documents, in a large list, although you cannot set the permissions on the list itself or on folders that contain more items than the list view threshold.Open with Explorer Does not show any items if a container has more items than the list view threshold (excluding items in sub folders). If a folder has 8,000 items total, but it has a sub folder that contains 4,000 items and only 4,000 items in the root, then Open with Explorer will work. If the root of a list contains more items than the list view threshold then Open with Explorer will not show anything. To use Open with Explorer the list must have items organized into folders in amounts less than the list view threshold in the root of any container.
  3. 3. Threshold/Limit Default Value DescriptionList View Threshold 5000 Specifies the maximum number of list or library items that a database operation, such as a query, can process at one time. Operations that exceed this limit are blocked. To give you time to make alternative plans, SharePoint 2010 warns you on the List Settings page when your list has exceeded 3,000 items. The warning contains a help link to this topic.Unique Permissions 50,000 Specifies the maximum number of unique permissions allowed for a list or library.Limit Every time you break the inheritance of permissions for an item or folder, it is counted as 1 unique permission toward this limit. If you try to add an item that would lead to exceeding this limit, you are prevented from doing so.Row Size Limit 6 Specifies the maximum number of table rows internal to the database used for a list or library item. To accommodate wide lists with many columns, each item is wrapped over several internal table rows, up to 6 rows and up to a total of 8,000 bytes (excluding attachments). For example, if you have a list with many small columns, one that contains hundreds of Yes/No columns, then you could exceed this limit, in which case you would not be able to add more Yes/No columns to the list, but you still may be allowed to add columns of a different type. Note: Farm administrators can only set this limit by using the object model, not through
  4. 4. Threshold/Limit Default Value DescriptionList View Lookup 8 Specifies the maximum number of join operations, such as those based on lookup,Threshold Person/Group, or workflow status columns. If the query uses more than eight columns, the operation is blocked. However, it is possible to programmatically select which columns to use by using maximal view, which can be set through the object modelList View Threshold 20,000 Specifies the maximum number of list or library items that a database operation, such assize for auditors and a query, can process at one time when performed by an auditor or administrator withadministrators appropriate permissions. This setting works in conjunction with Allow Object Model Override.
  5. 5. Threshold/Limit Default Value DescriptionAllow Object Model Y Specifies whether or not developers can perform database operations, such as queries,Override that request an override of the List View Threshold to the higher limit specified by the List View Threshold for auditors and administrators. A farm administrator must enable an object model override, and then developers with appropriate permission may then programmatically request that their query use the higher List View Threshold to take advantage of it.Daily Time Window None Specifies a time period during which resource thresholds and limits are ignored. A farm administrator can configure a time window during "off-peak" hours in 15 minute increments and up to 24 hours, such as, 6:00 PM to 10:00 PM or 1:30 AM to 5:15 AM. Note: A database operation or query started within the daily time window continues until completion (or failure) even if it doesnt finish within the specified time window
  6. 6. Supported Column Types Unsupported Column TypesSingle line of text Multiple lines of textChoice (single value) Choice (multi-valued)Number CalculatedCurrency Hyperlink or PictureDate and Time Custom ColumnsLookup (single value) Lookup (multi-valued)Person or Group (single value) Person or Group (multi-valued)Yes/No External DataManaged Metadata
  7. 7. Get-PSSnapin Where $_ Microsoft.SharePoint.Powershell $null Add-PSSnapin Microsoft.SharePoint.Powershell# variables$listName$isEnabled $false# get web$web Get-SPWeb http://contososp10:8045/sites/pdncc1# get list$list $web $listName# enable/disable throttle$list $isEnabled# cleanup$web Get-PSSnapin Where $_ Microsoft.SharePoint.Powershell $null Remove-PSSnapin Microsoft.SharePoint.Powershell
  8. 8. Designing Large Lists and Maximizing List PerformanceManage lists and libraries with many itemsWorking with Large Lists in SharePoint 2010 - List ThrottlingMetadata Navigation and Filtering in SharePoint Server 2010SPList.EnableThrottling PropertyManaging Large Lists in SharePoint for Users and Site Admins
  9. 9. http://www.mukalian.com/blog http://www.linkedin.com/in/mmukalian mmukalian@liquidhub.commichael@mukalian.com

×