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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SQL Query executing 100 times per minSQL Query executing 100 times per min
Previous
 
Next
New Post
1/20/2009 2:44 AM
 

 

 

if not exists ( select 1 from dbo.HostSettings where SettingName = 'GUID' )

 

 

This query was executing 100 times per minute on my dnn installation. Does anyone know why this would happen?

I have had serious performance issues over the last several months and stumbled across this when analyzing my SQL DB.

Could this be part of the performance problem?

 
New Post
1/20/2009 3:25 AM
 
  • Which DNN version are you on?
  • What is Caching in Host Settings set to?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/20/2009 9:20 AM
 

DNN Version: 4.9.1

Page State: Page
Module Caching: Memory
Performance: Low Caching
Authenticated Cacheability: ServerAndPrivate
Compression Setting: GZip Compression

Schedluer Mode: Timer
Event log buffer is enabled
Auto-Sync File System is disabled

My site is extremely slow even when CPU utilization is below 40%

 Also, for almost any change that updates or deletes settings or tabs, the web request times out. I can't create new portals either; it's like it takes a very long time to get through half the process then quits.

 
New Post
1/20/2009 11:07 AM
 

There is also a Forum query that is causing 150 executions/min

I saved the execution plan and query if you want to take a look.

Also, using an SQL analyser...

/*

Missing Index Details from ExecutionPlan1.sqlplan

The Query Processor estimates that implementing the following index could improve the query cost by 33.8651%.

*/

/*

USE [DNNDB]

GO

CREATE NONCLUSTERED INDEX [<Name of Missing Index, sysname,>]

ON [dbo].[Forum_Posts] ([IsApproved])

INCLUDE ([ThreadID])

GO

*/

 
New Post
1/20/2009 11:23 AM
 

The first query I mentioned, as well as this query, have literally jumped up to 2150 executions/min and the portal has come to a halt.

select SettingName,
  SettingValue,
  SettingIsSecure
from dbo.HostSettings

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SQL Query executing 100 times per minSQL Query executing 100 times per min


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