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...Performance and...Performance and...Database growing like crazy!!!Database growing like crazy!!!
Previous
 
Next
New Post
3/28/2014 11:15 PM
 
123MB to 839MB in 11 days.

I have small sites with low traffic.

How can I figure out what's causing this massive growth?

Truncating logs doesn't help much at all. 

 

3/27/2014 3/27/2014 838,975.00 Database
  3/26/2014 3/26/2014 805,893.00 Database
  3/25/2014 3/25/2014 751,423.00 Database
  3/24/2014 3/24/2014 681,282.00 Database
  3/23/2014 3/23/2014 594,690.00 Database
  3/22/2014 3/22/2014 568,645.00 Database
  3/21/2014 3/21/2014 389,501.00 Database
  3/20/2014 3/20/2014 345,649.00 Database
  3/19/2014 3/19/2014 299,700.00 Database
  3/18/2014 3/18/2014 246,894.00 Database
  3/17/2014 3/17/2014 184,174.00 D0..atabase
  3/16/2014 3/16/2014 123,362.00 Database
 
New Post
3/29/2014 1:12 AM
 
Clear event log or disable event log or filter it for perticular events
 
New Post
3/29/2014 6:18 AM
 
there are several items, which may cause database growth:
- in database properties, set recovery mode to simple, this will keep the transaction log small.
- disable DNN sitelog (set duration to 0), if you don't use Admin > Sitelog, otherwise make sure, the cleanup job is enabled in Host > Scheduler
- make sure your event log doesn't grow beyond a few hundred entries (SELECT COUNT(1) N FROM {databaseOwner}[{objectQualifier}Eventlog])
- make sure, the scheduler log doesn't contain more than a few hundred entries (SELECT COUNT(1) N FROM {databaseOwner}[{objectQualifier}ScheduleHistory])

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/31/2014 1:13 AM
 
Sebastian Leupold wrote:
there are several items, which may cause database growth:
- in database properties, set recovery mode to simple, this will keep the transaction log small.
- disable DNN sitelog (set duration to 0), if you don't use Admin > Sitelog, otherwise make sure, the cleanup job is enabled in Host > Scheduler
- make sure your event log doesn't grow beyond a few hundred entries (SELECT COUNT(1) N FROM {databaseOwner}[{objectQualifier}Eventlog])
- make sure, the scheduler log doesn't contain more than a few hundred entries (SELECT COUNT(1) N FROM {databaseOwner}[{objectQualifier}ScheduleHistory])

-I did set recovery to simple a few weeks ago.

-sitelog is disabled

-ran truncate event/site/schedulehistory so there's nothing in there..

 

Now the db is OVER 1GB! Shrink it only reduces a few MBs.. something is wrong here.. please give me some more tips.. there's gotta be a way to find out what's causing this crazy growth!

 
New Post
3/31/2014 1:49 AM
 
Found the issue!

In SSMS right click your db, reports> standard reports> disk usage by top tables; to find out what's taking up the space
The yaf event log table was 933MB, it had 360k records.

Host> SQL
truncate table {databaseOwner}{objectQualifier}yaf_EventLog

My db is 93MB now! :)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Database growing like crazy!!!Database growing like crazy!!!


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out