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 ...DNN and MS-SQL Log file size problemDNN and MS-SQL Log file size problem
Previous
 
Next
New Post
5/31/2008 2:31 AM
 

First... you need to know I'm an IT guy,  not a web-app or database guru/admin.  Read this as; I'm a complete dolt on both subjects. Worse yet, I have lost the guy who setup and configured DNN through "down-sizing".  Keeping DNN and SQL running has now been dumped in my lap.   That being said, I have a SQL server (version 2000) with the DNN database on it.  The database for DNN is about 56 megabytes but the darn SQL log file for DNN is 24 Gigabytes and rising.  This file grows at strang monthly intervals by about a Gig and a half.  It is now running the risk of filling the database partition on the server so I know I need to take some action, but what action?  I've done enough reading on SQL server that I believe I can "gut" the log file by seting up a "simple" backup plan (the setup guy never configured a backup plan for DNN), thus truncating the log file.  But... being a DNN dolt, I don't want to get myself into an unrecoverable corner by doing so.  Any advise would be appreciated.

biames

 
New Post
5/31/2008 3:25 AM
 

the sql server transaction log can be used to re-run activities since last db backup and need to be truncated after each backup, e.g. by backung up with "truncate log" option.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/31/2008 6:12 AM
 

You can run sql script :

declare @DB as varchar(128)
set @DB='YourDNNDatabaseName'
print 'BACKUP LOG '+@DB+' WITH TRUNCATE_ONLY ...'
BACKUP LOG @DB WITH TRUNCATE_ONLY

print 'DBCC shrinkdatabase ('+@DB+',0,TRUNCATEONLY) ...'
DBCC shrinkdatabase (@DB,0,TRUNCATEONLY)
go

Set variable @DB with your DNN Database Name.
 
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN and MS-SQL Log file size problemDNN and MS-SQL Log file size problem


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