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 dropped after upgrade to DNN 5.3.1Performance dropped after upgrade to DNN 5.3.1
Previous
 
Next
New Post
4/27/2010 9:15 AM
 
Sebastian Leupold wrote:
Ernst-Peter, did you do any performance checks, whether the costs of the sub-query don't supersede the costs of the left join? I can't follow the argumentation that a left join creates a carthesian product, if proper fields are joined - AFAIK performance depends on the indexes being used for join and where.
 

Well, my remark that the outer join is a problem in general , is not correct. But in this query in the Sproc structure it is. Please note that we have > 500 portals and about 100 modules.

Testing in our problem site: Original SProc: more then 41secs tot reterieve data for 1 portal. Modifies SProc: subsecond respons.

The query plan for the original SProc query spends about 80% of the query costs in the outer join execution. 

BTW I remember this problem from our MS Access times, where a lot of people had a problem selecting from 1 table, that did not have a related row in another. The outer join in combination  with a filter on Null dimmed the lights in the office .


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
New Post
4/27/2010 9:49 AM
 

I have to add now that changing the query in the mentioned SProc solved our performance problems with our 5.3.1 CE site with 500+ portals.


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
New Post
5/20/2010 9:32 PM
 
Ernst Peter Tamminga wrote:

We have been working more on the SProc. This is not efficient SQL, which shows itself when you have a lot of portals and modules.

Outer Joins with a select on not NOT NULL will generate a carthesian product or all row combinations. This very inefficient if you have a lot of modules and portals. We have modified the SProc.

Hi Ernst Peter, would you please tell me how do I make this modification on my DNN installation? 

Thank you very much!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Performance dropped after upgrade to DNN 5.3.1Performance dropped after upgrade to DNN 5.3.1


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