Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Performance very slow on dnn 6.2Performance very slow on dnn 6.2
Previous
 
Next
New Post
6/6/2012 6:20 PM
 
Cathal, I might have found another issue which I'll crosspost to support. While it does seem that the call to TabController.getTabsByParent(parentId, portalId) is cached so it doesn't hit the database.. once you iterate over the collection it issues a database SP call for each tab resulting in N database calls. This may affect performance all around the site as I see the pattern of code like this:
foreach (TabInfo objTab in GetTabsByParent(ParentId, PortalId)) {
// do something with the tab... causes a query for each tab at a time
}

Is there a way to indicate that we intend to use the whole collection so select all of the tabs in 1 query? Should this be the default?
 
New Post
6/6/2012 10:01 PM
 
Can you provide an example of this - AFAIK GetTabsByParent does return all the data in one go, and we only typically iterate over it if we're doing something to it's children i.e. deleting all children when a parent is deleted/applying permissions from a parent to children. Im sure we could create stored procedures to do this that accepted parentid,portalid and drop the iterations but I think they're only used in a few cases for administration tasks and not day-to-day running.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/7/2012 12:17 PM
 

I searched through the DNN source and modules source and you are correct. This pattern only shows up when deleting all child tabs of a page.  Unfortunately I was using GetTabsByParent in a custom module I'm writing to pull links to content from other parts of the site.  I've already written my own stored procedure to do what I need in a quicker way at the expense of that proc being tied to the schema.  So in a future update my procedure could break instead of relying on the API which has a formal deprecation timeline.

tl;dr No performance problem in daily use. Bummer I can't just use the API with eager fetching.

 
New Post
6/14/2012 9:53 AM
 

I installed 6.2 on my server and all my sites were so slow I rolled back to 6.1.5. Pages that took a second to load in 6.1.5 took 15-20 seconds in 6.2. It seemed especially slow on administrative tasks with pages consistantly taking 20 to 30 seconds.

It's a shame because I was excited by the new features in 6.2

Jim

 
New Post
6/14/2012 10:11 AM
 
Jim Lewis wrote:

I installed 6.2 on my server and all my sites were so slow I rolled back to 6.1.5. Pages that took a second to load in 6.1.5 took 15-20 seconds in 6.2. It seemed especially slow on administrative tasks with pages consistantly taking 20 to 30 seconds.

It's a shame because I was excited by the new features in 6.2

Jim

Same here. I think we should wait for 6.2.1 or something.

But personally i believe that all this social fuzz will put a lot of load to DNN and it will not be suitable for shared hosting plans (even premium ones like mine). It will need a high performance dedicated server, making DNN of no use for a large established community that uses CE 5x or 6.1.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Performance very slow on dnn 6.2Performance very slow on dnn 6.2


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out