Solved

SharePoint 2010 Grouped List Slow for Drop-Down Filter Menus

Posted on 2013-10-30
2
1,582 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 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

696 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