<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sharing Points</title>
	<atom:link href="http://pointshared.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pointshared.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 15 Sep 2008 12:53:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='pointshared.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sharing Points</title>
		<link>http://pointshared.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://pointshared.wordpress.com/osd.xml" title="Sharing Points" />
	<atom:link rel='hub' href='http://pointshared.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Dealing with Large SPLists</title>
		<link>http://pointshared.wordpress.com/2008/07/01/dealing-with-large-lists/</link>
		<comments>http://pointshared.wordpress.com/2008/07/01/dealing-with-large-lists/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 05:59:11 +0000</pubDate>
		<dc:creator>burlo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[burlo]]></category>
		<category><![CDATA[large lists]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint Lists]]></category>
		<category><![CDATA[SPList]]></category>

		<guid isPermaLink="false">http://pointshared.wordpress.com/?p=3</guid>
		<description><![CDATA[There comes a time when you need to store information in SPlists that exceeds the Microsoft recommended value of 2000 items otherwise performance will degraded. I have come across this scenario a couple of times. An easy way around this problem may be to use folders in the list where each folder can also contain [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pointshared.wordpress.com&amp;blog=4112849&amp;post=3&amp;subd=pointshared&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:small;font-family:Calibri;">There comes a time when you need to store information in SPlists that exceeds the Microsoft recommended value of 2000 items otherwise performance will degraded. I have come across this scenario a couple of times. An easy way around this problem may be to use folders in the list where each folder can also contain 2000 items or create views to limit the number of items to be displayed. However, this still may not fit your requirement. Best practices would suggest create a web service with its own business logic which hooks up to and SQL database. This is a bit of an over kill considering you can use the SharePoint API (and I do not suggestion to directly access the content database to store this information either. (The content database should not in any situation be directly accessed from the presentation layer; you must access the content database through the SharePoint object model)</span></p>
<p class="Para" style="text-align:justify;margin:5pt 0 0;"><span style="font-size:x-small;font-family:Arial;">This issue around restricting the number of items is not around the list itself but the rendering of the standard SharePoint page for displaying the list. This is demonstrated in the white paper <span> </span>“Working with large lists in Office SharePoint® Server 2007” <span> </span>by Steve Peschka ( </span><a href="http://technet.microsoft.com/en-us/library/cc262813(TechNet.10).aspx"><span style="font-size:x-small;font-family:Arial;">http://technet.microsoft.com/en-us/library/cc262813(TechNet.10).aspx</span></a><span style="font-size:x-small;font-family:Arial;"> ), This is a really good article. Therefore if you are going to use a large SPList you need to develop you own abstract interface to display items within a large SPLists.</span></p>
<p class="Para" style="text-align:justify;margin:5pt 0 0;"><span style="font-size:x-small;font-family:Arial;"> </span></p>
<p class="Para" style="text-align:justify;margin:5pt 0 0;"><span style="font-size:x-small;font-family:Arial;">This now brings us to some tips and tricks for building and efficient high performing solution to retrieve and display data from large SPLists.</span></p>
<p class="Para" style="text-indent:-.25in;text-align:justify;margin:5pt 0 0 .5in;"><span style="font-family:Symbol;"><span><span style="font-size:x-small;">·</span><span style="font:7pt;">         </span></span></span><span style="font-size:x-small;font-family:Arial;">If your list is not indexed the most efficient way is to use the PortalSiteMapProvider. GetCachedListItemsByQuery() method to get your selected items. PortalSiteMapProvider works very well when data is not constantly changing because PortalSiteMapProvider caches its data on the server and will need to go back to the database when data changes.</span></p>
<p class="Para" style="text-indent:-.25in;text-align:justify;margin:5pt 0 0 .5in;"><span style="font-family:Symbol;"><span><span style="font-size:x-small;">·</span><span style="font:7pt;">         </span></span></span><span style="font-size:x-small;font-family:Arial;">If you are using a where clause in your query you may what to index your list. If this is the case then using the SPList. GetListItems () method will be more efficient with an indexed list.</span></p>
<p class="Para" style="text-indent:-.25in;text-align:justify;margin:5pt 0 0 .5in;"><span style="font-family:Symbol;"><span><span style="font-size:x-small;">·</span><span style="font:7pt;">         </span></span></span><span style="font-size:x-small;font-family:Arial;">Indexing the list will cause item inserts and deletes to be slower so if there is a lot of item deleting and inserting of items to the list it may not be a good choice to index the list.</span></p>
<p class="Para" style="text-indent:-.25in;text-align:justify;margin:5pt 0 0 .5in;"><span style="font-family:Symbol;"><span><span style="font-size:x-small;">·</span><span style="font:7pt;">         </span></span></span><span style="font-size:x-small;font-family:Arial;">When retrieving information from large lists you may want to do it asynchronously when rendering a web part by using Page.RegisterAsyncTask(). That way the rest of components on your page do not have to wait for your web part to retrieve data from the large list.</span></p>
<p class="Para" style="text-align:justify;margin:5pt 0 0 .5in;"><span style="font-size:x-small;font-family:Arial;"> </span></p>
<p class="Para" style="text-align:justify;margin:5pt 0 0;"><span style="font-size:x-small;font-family:Arial;">Using the SharePoint search API would be another efficient method of retrieving the data from the large lists, however the problem is that the list has to be crawled and indexed beforehand if changes are made to the list.</span></p>
<p class="Para" style="text-align:justify;margin:5pt 0 0;"><span style="font-size:x-small;font-family:Arial;"> </span></p>
<p class="Para" style="text-align:justify;margin:5pt 0 0;"><span style="font-size:x-small;font-family:Arial;">Burlo</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/pointshared.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/pointshared.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pointshared.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pointshared.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pointshared.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pointshared.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pointshared.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pointshared.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pointshared.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pointshared.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pointshared.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pointshared.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pointshared.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pointshared.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pointshared.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pointshared.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pointshared.wordpress.com&amp;blog=4112849&amp;post=3&amp;subd=pointshared&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pointshared.wordpress.com/2008/07/01/dealing-with-large-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/493ba0b8e3bdaf45f119083969702d4c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">burlo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
