简体   繁体   English

SharePoint 2013性能问题/调整

[英]SharePoint 2013 Performance issue / tuning

I found out that when I open SharePoint Site with new SPSite object, it's too slow to respond. 我发现,当我使用新的SPSite对象打开SharePoint网站时,响应速度太慢。

using(SPSite s = new SPSite(siteURL) //30 seconds
{    
   ...    
}

I did try the following method, however the method did not gain significant performance boost, may I ask your help for performance issue? 我确实尝试了以下方法,但是该方法未获得明显的性能提升,请问您是否遇到性能问题的帮助?

  • Warm-up script: 预热脚本:

http://www.justinkobel.com/post/2013/08/16/My-SharePoint-2013-%28and-2010%29-Warm-up-Script http://www.justinkobel.com/post/2013/08/16/My-SharePoint-2013-%28and-2010%29-Warm-up-Script

http://www.jonthenerd.com/2011/04/19/easy-sharepoint-2010-warmup-script-using-powershell/ http://www.jonthenerd.com/2011/04/19/easy-sharepoint-2010-warmup-script-using-powershell/

  • Disable distributed cache 禁用分布式缓存

https://sharepoint.stackexchange.com/questions/65695/sharepoint-2013-extremely-slow https://sharepoint.stackexchange.com/questions/65695/sharepoint-2013-extremely-slow

I would check on whats really going on when creating this SPSite object. 创建此SPSite对象时,我会检查真正发生了什么。 Monitor the outgoing requests from your SharePoint instance to that URL to see whether time is spent on your IIS - on the Network - or on the SharePoint Site that you try to connect. 监视从SharePoint实例到该URL的传出请求,以查看是否在IIS(网络)或您尝试连接的SharePoint网站上花费了时间。 If you dont know how to do this check out free tools such as Dynatrace which allows you to do exactly this. 如果您不知道如何执行此操作,请查看免费工具,例如Dynatrace,它可以使您准确地执行此操作。 I wrote several blogs about the top performance problems with SharePoint - you may find that interesting: http://apmblog.dynatrace.com/2010/03/18/how-to-avoid-the-top-5-sharepoint-performance-mistakes/ - #3 on this blog also talks about a potential memory leak with SPSite and SPWeb objects - so - check this out 我写了一些有关SharePoint的顶级性能问题的博客-您可能会发现它很有趣: http : //apmblog.dynatrace.com/2010/03/18/how-to-a-void-the-top-5-sharepoint-performance-错误/ -此博客上的#3还讨论了SPSite和SPWeb对象的潜在内存泄漏-所以-签出

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM