Optimizing Queries

Posted by Community Admin on 04-Aug-2018 21:38

Optimizing Queries

All Replies

Posted by Community Admin on 14-Oct-2015 00:00

We have a couple of pages that are running particularly slow. When look at the pages using the Diagnostics Module, it is showing, for instance, on one page that a certain query is taking between 2 and 9 seconds every time the page is hit. The query is hitting the sf_lic_user_activity table. Is there a setting I'm missing? What can I do to try and optimize these sorts of queries? Is this a caching problem? 

 I'm new to Sitefinity so any guidance that anyone can provide would be greatly appreciated.

Posted by Community Admin on 19-Oct-2015 00:00

Hi Matt,

Are you using any custom widget on those pages ? Note that the sf_lic_user_activity keeps record of the user status (for instance whether the user is online or not).

You can also consider the following tips to improve the performance of your site in general:

docs.sitefinity.com/best-practices-optimize-performance

http://www.sitefinity.com/blogs/slavoingilizov/posts/slavo-ingilizovs-blog/2012/03/14/5_practices_to_avoid_when_doing_sitefinity_development

http://docs.sitefinity.com/recommended-environment-settings


Best Regards,
Junior Dominguez
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed