Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Problem scaling with DMX_GetCategoryContents
Last Post 09/17/2009 1:24 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
EAS
New Member
New Member
Posts:2


--
09/11/2009 6:47 PM

 

Hi,

We're finding that this one stored procedure - DMX_GetCategoryContents - is executed multiple times for each page load.  As a result, it is the consumer of 90% of the resources on the database server and we're unable to scale as much as we'd like to. 

Is there some configuration we can change to reduce the number of calls to this particular sp?

thanks.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/12/2009 10:38 AM
Hi Beth,

We're continuously looking to optimize the code. What you observe is in part a result of working with Ajax where multiple calls are made. There is no tweak you can do at this point (we would have included it ourselves otherwise). We take your observation along with the work for the upcoming version.

Peter
EAS
New Member
New Member
Posts:2


--
09/14/2009 9:38 PM

Peter,

Thanks for the response.  Alot of the database calls use the same parameters over and over.  Do you know if DNN caching would help that situation?

Thanks again,

Beth

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/17/2009 1:24 PM
Hi Beth,

We use caching extensively. And I know that SQL caches execution plans itself, so the data retrieval should not take too long. We have to be careful with the DNN caching to avoid exploding the memory consumption of DNN/DMX. If you cache something that changes for every user or every document, for instance, you might end up with massive cache purges making DNN slow. So we only cache a limited set of data that is needed across the application and that remains pretty stable.
Note: I'm not excluding it could be an option, just that it needs to be looked at carefully for scalability.

Peter
You are not authorized to post a reply.