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...Administration ...Administration ...Issues with Broadcast PollingIssues with Broadcast Polling
Previous
 
Next
New Post
6/15/2009 6:22 PM
 

We are running the portal in a web farm environment and are using  Broadcast polling.  Even though the scheduled job for Broadcast polling is scheduled to run every minute, we see in the SchedulehIstory table that sometimes the job runs 18-20 times in a minute on a server.  We have seen this consistenty in all our environments.  Has anyone run into this problem and is there an issue with the scheduler in the Web Farm environment?  We are also getting a lot of deadlocks and timeouts in Evenbt log.  We think that this job along with some others migth be responsible for the timeouts.  We have also seen that the following SQL statement in stored procedure [PurgeBroadcasts] takes a long time (upto 4 seconds) to execute.

 
DELETE FROM dbo.Broadcasts
            WHERE BroadcastDate <
                  (SELECT Min(LastActivityDate) FROM dbo.Servers WHERE ServerID<>dbo.Broadcasts.SourceServerID)
                 
I changed the SQL statement to modify the sub query and it runs almost instantly.  Changes are indicated in Red below. 

DELETE FROM dbo.Broadcasts

            WHERE BroadcastDate <

(SELECT Min(LastActivityDate) FROM dbo.Servers WHERE ServerID not in (select distinct SourceServerID from dbo.Broadcasts))


Does anyone see any problems with the modified query? 


It will be great if others can share what kind of database optimizations or other tuning have they done to tune optimize the performance for DNN?

Thanks in advance,

Chhavi
 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Issues with Broadcast PollingIssues with Broadcast Polling


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