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 ...SQL database cleanupSQL database cleanup
Previous
 
Next
New Post
3/29/2011 12:37 AM
 

The SQL database on my DNN site is growing very very fast.  I would guess it is logs that keep growing.  Even when I delete modules, the database stays large.

Is there a utility to cleanup the SQL database?  

Are there any articles that tell me what tables in SQL I can occasionally truncate? 

Thanks
Joel in Houston
 
New Post
3/29/2011 2:53 AM
 
Joel

Very common problem is fast growing of SiteLog or EventLog table. You need to check how many records in each table and to truncate them. More detailed description can be found here.

Sergey
 
New Post
3/30/2011 4:18 AM
 
I blogged about this subject a while ago: http://www.dotnetnuke.com/Resources/Blogs/tabid/825/EntryId/2903/DotNetNuke-Database-Performance-Tips.aspx

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/30/2011 4:36 AM
 
Sebastian

This is great post! Sorry i did not see it before :(

Also about this backup with no_log. It was fine in SQL 2000, but 2005 and 2008 requires Simple recovery mode. But after small research i found ever in Full or Bulk-logged recovery mode you can use SHRINK without BACKUP WITH no_log. It does log truncation then. So client does not need to switch to Simple recovery mode.

Sergey
 
New Post
3/30/2011 8:05 AM
 
Sergey.
thanks for the addition, but from my experience, it happens sometimes that shrink is unable to truncate the transaction log and I only succeeded by switching recovering mode.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL database cleanupSQL database cleanup


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