in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

DontPanic

SQL 2k5 has a 98GB log file for WSS3. But diag is set to errors only and we backup daily to an external hd

I've been searching for days why our server with 200GB of space just running DC and SQL is out of space. I found 98GB log file with a 9GB data file. Where is the setting in SQL to fix this. I checked WSS3 and it's set to Error's and unexplained only.

 

Changed to simple and the file went from 97GB to 500KB.

 

Comments

 

Rosey said:

That was the issue.  There is a big difference between logging activity - which is what the error logs are doing - and logging transactions - which is what is happening on your database server.

Now - the important thing is - that you understand the ramifications of the change you just made.

By effectively turning off transaction logging (when you switch to simple) you have lost the ability for a point in time recovery.

So what that means is, in the case of a need to restore the database, you'll be able to go back to your last good full backup, plus any differentials - but you won't be able to restore to 11:20 am on March 28th.

Most likely, you'll be okay, as you'll look for the recycle bin to help you there - but just want to be sure you know the ramifications of the change.

The alternative is to change the recovery mode back to what it was - and then add in some transaction log backups.  Once a transaction log is backed up, you can truncate it - which will shrink it back to the 500k.

April 1, 2008 1:18 PM
 

SharePoint 2007 Link Love: 03-06-2008 at Virtual Generations said:

Pingback from  SharePoint 2007 Link Love: 03-06-2008 at  Virtual Generations

April 6, 2008 9:02 AM
 

jbenisek said:

Great help, thanks

Why wouldn't this reset after a full backup, we backup weekly but this files has been growing and growing for a year.

April 8, 2008 10:09 AM

Leave a Comment

(required )  
(optional )
(required )  
Add

About jbenisek

Consultant for Don't Panic Business Technologies. Focus is Microsoft, Servers, Collaboration based on SharePoint, DFS and Exchange 2007.

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts