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...Edit User Account and Azure SQL CPU at 100%Edit User Account and Azure SQL CPU at 100%
Previous
 
Next
New Post
3/10/2016 3:51 AM
 
What period is the 5/sec measured over? If it's a full minute then getting 300 transactions in a minute is likely more than you can manage on your own. If it's strictly policed per second that might be harder.

AIUI Azure allows you to up these limits on demand. Could you just try bumping the DTU limit up, for five minutes or so, as a test? For five minutes the cost would be negligible and you might find out something useful.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/10/2016 6:43 AM
 
user management module in DNN is not very efficient. To display a list of 20 users, DNN queries the userlist from the database and subsequently for each user userinfo, membership and profile, i.e. 61 database calls to display 20 users.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/10/2016 8:17 AM
 
Seabstian - are you able to look at that using (say) SQL Profiler? If all those calls are packaged in an explicit transaction then it only eats one or Rich's DTU's.

If they are not explicitly packaged, then I guess every one would count as an implicit transaction - using 61 DTU's. Clearly this could make a massive difference to the transaction counts.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/10/2016 12:55 PM
 

Richard,

Here is what Microsoft defines as a DTU (but I have also seen on Channel 9 a slightly different explanation - but older 2014 video) -

"The Database Transaction Unit (DTU) is the unit of measure in SQL Database that represents the relative power of databases based on a real-world measure: the database transaction. We took a set of operations that are typical for an online transaction processing (OLTP) request, and then measured how many transactions could be completed per second under fully loaded conditions" - https://azure.microsoft.com/en-us/doc... updated 2/17/2016.

I plan to bump up to the standard level which provides 10 DTUs during my busiest months, but other than the elastic database option (too expensive for me) I am not aware of any dynamic adjustments for the database DTUs.  There is an option to scale out instances of your web app, but that would not help me with the DTUs.

What I really find perplexing is why the 7.4.2 version takes significantly more time to bring up the edit user account dialog than the 5.6.8 version did. Hard to believe that is only due to the Azure DTU limits.

I have been able to determine that using the host account to edit the user account pushes the DTU to 100%, but using just an admin account of the main portal site only pushes it to 60%.  And the other two portals in my installation currently only have admin accounts - no user registration turned on -  and are not even being used right now.

They explain the difference between the basic (5 DTUs) and standard (10 DTUs) levels as:

Basic:  Best suited for a small database, supporting typically one single active operation at a given time. Examples include databases used for development or testing, or small-scale infrequently used applications.

Standard: The go-to option for most cloud applications, supporting multiple concurrent queries. Examples include workgroup or web applications

 

 

 
New Post
3/10/2016 1:00 PM
 
So does that mean to authorize or edit one user account it would be 61 calls /20 = 3.05 calls or more for that one user account?  Does one database call require more than one database transaction? If it does then that would easily exceed the 5 DTUs and result in the 100 CPU for that short period of time. Combine that with other users doing something that involves the database and I could see where the timeouts would happen.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Edit User Account and Azure SQL CPU at 100%Edit User Account and Azure SQL CPU at 100%


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