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 datbase keeps growingSQL datbase keeps growing
Previous
 
Next
New Post
2/24/2014 9:50 PM
 

My SQL database keeps growing so I looked at Logs.  I am running DNN 7.02.01lication version you are

When I go to Host Settings/Logs it shows logs back to August 2012.

I wanted to delete the logs so:

1.       In Host settings/Other Settings I set Log History to 7 days.

2.       Then I went to Host/Schedule and edit Purge Site Log.  It was Not enabled so I enabled it and set it to run once a day.  Then hit update. 

3.       I hit edit Purge Site Log again and selected Run Now. 

4.       Then I restarted the application just to be sure.

However, when I went back to Host settings/Logs the logs still go back to 2012.

How do I delete old logs and how do I stop the SQL file from growing and growing????

 
New Post
2/25/2014 3:07 AM
 
where did you check? PurgeSiteLog just takes care of the SiteLog table, not Eventlog or ScheduleHistory.
In scheduler you may access scheduleHistory for the job and check for errors during execution.
If your eventlog is too large, purge may fail any you may truncate it manually using Host > SQL : TRUNCATE TABLE {databaseOwner}{objectQualifier}EventLog

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/25/2014 6:11 PM
 
the logs under host->host settings->logs are text files - they simply show the logs of any database activity (any *.log.resources files in Providers\DataProviders\SqlDataProvider) and any upgrade log activity (any *.resources files in Portals\_default\Logs ) - as such they do not take up any database space. To see what is taking up the space in the database take a look at http://stackoverflow.com/questions/25...

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL datbase keeps growingSQL datbase keeps growing


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