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 ...Re: Database Backup Size HUGE (history not purging)Re: Database Backup Size HUGE (history not purging)
Previous
 
Next
New Post
8/20/2008 9:27 AM
 

Hey Guys,

I've figured out that the history isn't purging on my site.  The schedules are generatign errors.  I took a look at www.mitchelsellers.com/blogs/articletype/articleview/articleid/121/determing-sql-server-table-size.aspx and followed the steps and came up with this: www.mrjanitorialsupplies.com/data_export.htm

Could someone help me figure out how to remove the history and event log so the database size isn't so huge?  It's currently at 0.17 GB, and this increased from 25 mb.

Thanks In Advance,

 

Chris


 

 
New Post
8/20/2008 11:41 AM
 

Well, I temporarily solved the issue by manually deleting the table data using the command:  DELETE FROM EventLog; at least the event viewer module works again, my database went from 25 to 0.17 gb in the course of 2 weeks, incredible.  I hope it doesn't happen again.

 

Is there anything I can do to prevent this?  I disabled the scheduling and event recording.  Hopefully that solves the problem.

 
New Post
8/21/2008 10:36 AM
 

I run this SQL query regularly to keep my db under control:

truncate table EventLog
go
truncate table ScheduleHistory
go
truncate table SiteLog
go

This query clears the tables and since it doesn't record the transaction in SQL Server - it is an instant operation.  You must have db_owner privleges to use this though.

 
New Post
8/21/2008 1:59 PM
 

Thanks for the response ETM Penning,

Looks like a good query to hold on to.  Much appreciated.  Will try this out next time if needed

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Re: Database Backup Size HUGE (history not purging)Re: Database Backup Size HUGE (history not purging)


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