Solved

SharePoint 2010 Grouped List Slow for Drop-Down Filter Menus

Posted on 2013-10-30
2
1,518 Views
Last Modified: 2013-12-02
Hello,

I have a SharePoint 2010 List that uses two layers of grouping. The list loads relatively fast, in a second or two from when requested. There are about 5,000 items in the list. I have left the default pagination in.

When a user goes to select a drop-down on the header and select "Show Filter Choices," it takes forever, 30-60 seconds, for the drop-down filters to appear above each column. This is needed, as the data being filtered is not intuitive, so any other filter web part such as a search feature would fail to be useful. We want users to be able to filter directly from the list, presented with the option of all possible values - which the "Show Filter Choices" does.

What is odd is that I've noticed that if I remove the "Group By" criteria from the list, the "Show Filter Choices" load instantaneously. There is no delay.

So, the massive delay is a combination of "Group By" + "Show Filter Choices." This is a SharePoint 2010 instance.

This looks to me to be closely related, if not identical to: http://social.technet.microsoft.com/Forums/en-US/155897ba-a55c-4a1f-9adc-2e935433fe1d/grouped-document-library-view-drop-down-filter-very-slownot-working, for which no good answer was ever found.

Any idea on how to solve this? I tried adding indices, to no avail.

Thanks,
Joseph Irvine
0
Comment
Question by:jkeagle13
  • 2
2 Comments
 
LVL 15

Accepted Solution

by:
colly92002 earned 500 total points
ID: 39616498
Hello, it takes a while for the filter choices to appear in Sharepoint even in lists with a few items.  If you have updated the columns to be be indexed there is little you can do apart from check your farm/network architechture using a tool such as fiddler or wireshark (I believe the filtering using a JSON asynchronous call so you should be able to trace how long it takes and see if there is a bottleneck somewhere).  5000 is an important number is Sharepoint lists as this is the maximum batch size that a view (or CAML query) can handle, so that may be another reason it is slow.

Unfortunately you can't do anything such as add indexes to the content DB since changing the Sharepoint content database in any way (including adding indexes) invalidates any support from Microsoft.
0
 
LVL 15

Expert Comment

by:colly92002
ID: 39616514
Anohter option would be to use a tool such as "Sharepoint Manager" to look at teh list schema and grab the CAML query from the view, then run this is a tool such as U2U CAML query directly, and see if you can tune it in any way.  For example, runing this alonside fiddler you can easily time the steps, and try adding/removing Sharepoint indexes.

Other tips are make sure your databases are all being maintained properly, especially concentrating on things such as keeping the DB statistics up to date.  These are used by the DB indexes in order to optimise DB queries and will make a huge difference if they have never been updated.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
This collection of functions covers all the normal rounding methods of just about any numeric value.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question