So I’ve read all the whitepapers, and I know that you can store up to 5 million list items in a list as long as you use folders.
What I’m after, is, has anyone written some nice recursion that gets a list, looks at all the folders in the list, and assigns list items either to a <2000 folder, or creates a new folder if one does not exist?
Same thing with list item retrival. Does anyone have a nice clean and fast method for getting all list items from a list 2000 at a time?
I’ve looked on google and here and haven’t found a nice definitive guide for storing and retrieving list items from large lists with code samples, it’s all been about the theory from what I can see.
You can store more than 2000 items in the same list (without folders) what really impacts sharepoint performance is retrieving more than 2000 items in a single view, or API call. So just make sure that you are using reasonable filters to limit the results to 2000 items or fewer.
I have crafted WSS Solutions that rely on ~10,000 list entries per year, but we were just very careful that our CAML Query or API call limited results to 2000 items or fewer, at a time.