如何优化具有数百万条记录的文档库的CAML查询.(截至目前,已超过300万条) [英] How to optimise CAML queries for document libraries having millions of records.( 3 millions + as of now)
本文介绍了如何优化具有数百万条记录的文档库的CAML查询.(截至目前,已超过300万条)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们有一个带有几个Sharepoint文档库的应用程序,其中一些包含数百万个文档.由于库很大,因此性能非常慢.例如,有时CAML查询大约需要3分钟才能获取 结果.列已被索引,BLOB存储已被使用.请告知.
当前的实现方式是在C#代码中使用CAML查询,但是使用Sharepoint api看起来也没有希望,因为api也需要很长时间来查询列表.
微软既然建议在一个列表中记录3000万条记录,那么就必须要有一种方法来处理300万条记录.请告知.
解决方案
Hi Gaurav Mithas,
Have you came a cross the following similar thread ?
Sharepoint - caml query performance, list layout and design
How do I handle the large List with more than 5K items in SharePoint 2010?
i think they've discussed the same topic in the threads.
Hope this info will help you
这篇关于如何优化具有数百万条记录的文档库的CAML查询.(截至目前,已超过300万条)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文