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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Advice about managing MSSQL transaction log file sizeAdvice about managing MSSQL transaction log file size
Previous
 
Next
New Post
6/18/2014 10:11 PM
 

I have a MS2012 server running MS SQL 2012 web edition. I'm just wondering about the size of the database transaction logs on my DNN sites. They range from 400MB up to about 1.5 GB. Is this normal? It seems that the log files are not being backed up and therefore not being truncated. The actual databases are backed up daily via plesk panel and the server as a whole is backed up daily. Databases are all in FULL backup mode. I read that switching to SIMPLE mode should help to keep the log file size down to a minimum. I'm not sure if I should switch the database backup mode to SIMPLE or not.

Any thoughts or ideas on how to manage this better would be greatly welcome.

 
New Post
6/18/2014 11:31 PM
 
I run all my websites in SIMPLE mode to help with the log size. The other option is to make sure that you've got a process in place to backup the logs and shrink them regularly.

I have never come across the need for a FULL transaction log backup, though most of my sites are not mission critical by any means.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/18/2014 11:50 PM
 

Yeah I'm thinking I'll do the same, I really need to be able to restore from a previous plesk backup if needed so I'm guessing switching to simple will be OK and I'd still be able to do this?

 
New Post
6/19/2014 12:28 AM
 
Yes, though I always recommend doing a fresh backup before making any changes. So I'd back up before you make the change from FULL to SIMPLE. You might also then need to do a backup and shrink to get the space freed up.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/19/2014 4:23 AM
 
Just to be clear: switching backup model to simple means, that not all changes are added to transaction log to be able to restore not just last backup but redo all changes just until the latest action (given there is no hardware crash affecting the transaction log as well, therefore TLog is stored on separate disk in critical production situations.
Websites with little changes will mainly loose a day of logs and maybe a few user comments, if you don't care too much about loosing this, you should be fine with simple recovery.

You don't necessarily have to do a backup just to switch the recovery model and you may also notice a slight performance increase, as changes don't need to be written twice afterwards.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Advice about managing MSSQL transaction log file sizeAdvice about managing MSSQL transaction log file size


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