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 12:44 PM
 

that query should be very rarely executed. It gets the host settings for the portal so is executed when the site first starts up, but the results are then cached (via DataCache.GetCache("GetHostSettings") ),  so it should not be executed again unless the cache expires. It's also invoked on the host pages, portal pages, and upgrade page, but as far as I can see they all use the cache (translated into a hashtable). The only scenario i can think of is that there is no caching been done for some reason i.e. perhaps you've enabled webfarm caching, but it's not working right for some reason


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/20/2009 4:17 PM
 

What version of SQL server are you using?  Is it on a physical server or VM server?


Best Regards, Dave VanderWekke
 
New Post
1/21/2009 9:22 AM
 

I was using SQL Express 2005 but just recently upgraded to 2008. (The problem existed before the upgrade)

Both the website and the SQL server are on the same box:
Windows Server 2003
IIS 6
Duel Xeon 1.3ghz
3GB Ram

 
New Post
1/21/2009 2:47 PM
 

the database should not matter, the query should not be being run that often. I'd recommend you check your IIS logs and make sure that theres not some sort of spider/indexer making a lot of requests to a page/module that's generating the call. I'd also recommend you use a profiler (like http://www.red-gate.com/Products/ants_profiler/index.htm ) to hook into the code and see what method call is generating it.

Also, if you're not running a webfarm make sure <add key="EnableWebFarmSupport" value="false" /> is in your web.config.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
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