Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SharePoint 2010 Grouped List Slow for Drop-Down Filter Menus

Posted on 2013-10-30
2
Medium Priority
?
1,624 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 15

Accepted Solution

by:
colly92002 earned 2000 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

636 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