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/4/2016 6:42 PM
 
I blogged about it a while ago: http://www.dnnsoftware.com/community-...
I was able to tame SQL resource utilization by improving DNN SQL procedures, views and indexes - check out my Turbo Scripts, but please start with a database backup. It will also not affect performance of 3rd party extensions.
Please be aware that File Compression, CDN etc. does not affect SQL Server resource utilization.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/4/2016 9:33 PM
 

Yes, I am aware that the File Compression, CDN etc does not affect SQL, but having those in place reduces the time for a page to be delivered and seems to help when someone hits something like the Forum module which does hit the SQL database.

Thanks for the blog entry link.  I have only have had private registration.  Under 5.6.8 some spam users still got in, but they were never authorized so they are the ones that I deleted either manually or using the delete unauthorized button and the remove deleted user button.  I have not had any spam users so far with 7.4.2 - at least not the bot created ones.  So would these user still have folders? Seems like a waste of results to create a file system folder before a user account is authorized.

And I just experienced another database timeout.  I had authorized a user which again took nearly 60 seconds. I logged off.  Then when I logged back in about an hour later as host that resulted in a database connection error and several HTTP 500 errors all of which were attached to my entries in the Web Server log. So by merely logging in as host after a user authorization resulted in the site crashing with HTTP 500 errors and database connection errors - coincidence?? The site came back up in couple minutes once the database connection was reestablished.   I am about to enter my busy part of the year and so I am concerned about even touching the database at this point.  Because this seems to be related to the user authorization (at least circumstantially), it is tough to pin this on an Azure SQL database connection issue - but I cannot rule that out either. 

 
New Post
3/5/2016 12:34 AM
 

Sebastian, So I had a thought about what could be causing both the high SQL CPU and timeout.  How many data throughput/transaction units (DTUs) in Azure SQL do you think the user account authorization would take?  Is it possible I am hitting my current limit of 5 DTUs with just that one action?  If so then that could explain the timeouts.  It might also explain why I cannot replicate the issue in my lab, since there I do not have a throttle imposed.  It might also be why I did not experience this even using a shared hosting SQL, because although I might have been competing with other websites hitting the shared SQL there was not a throttle put on my website accessing the SQL Server.

 

 
New Post
3/6/2016 11:01 AM
 
Rich, I am not aware of the data throughput/transaction units (DTUs) definition in Azure SQL, DNN does for sure needs a connection for each query and submits a couple of queries for each user update operation.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/9/2016 11:19 PM
 

According to the documentation, a DTU is equal to one transaction per second. So 5 DTUs would be a limit of 5 data transactions per second. Once that cap is hit as I understand, other connections are rejected.

I still have my 5.6.8 running at my old shared hosting provider with a separate url.  During the migration to Azure, several users had registered. So I went to gather those emails, so I could let them know they needed to re-register.  I used the host account to do this just to see how long it would take. The user account screen for the first one came up within 2 to 3 seconds. The others pretty much about one to two seconds.  This 5.6.8 installation still has all of the deleted unauthorized users - none have been removed. No performance enhancements made to the site and yet it responds faster by 30 to 60 seconds faster when bringing up a user account to authorize it.  The only things I did with the new site with users was to remove the profiles from the indexer so they do not show up in search results and remove all of the deleted unauthorized users.  I checked folders in the new 7.4.2 and there are only about 10 to 20 folders there with files.  I recognize all of them as regular users, so no unauthorized users with physical folders in that portal. 

Something either I did during the migration, or with the various upgrades from 5.6.8 to 7.4.2 or something in 7.4.2, or with Azure has resulted in a 15 to 20 times slower access with editing a user account????

 
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