Solved

Shrink SBSMonitoring_log.LDF SBS 2011

Posted on 2014-07-25
3
1,278 Views
Last Modified: 2014-09-02
Hi,

Our log file SBSMonitoring_log.LDF is currently at 80Gb and I want to reduce this down as much as possible as it is taking up a lot of space.

I logged into Microsoft SQL Server Management Studio and manage to reclaim some space by shrinking it but it's hardly done much.

I also ran KB981939 but that made no difference either.

Is there a way to reduce this to a minimum?
0
Comment
Question by:MattToner
  • 2
3 Comments
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 500 total points
ID: 40220036
I would not consider the SBSMonitoring Database to be a critical database so with that said, I wouldn't be concerned with the dangers of losing your log information by doing this - but be aware, you could end up losing your ability to roll back to points in time if this technique is used with critical databases:

USE SBSMonitoring
GO
ALTER DATABASE [SBSMonitoring] SET RECOVERY SIMPLE WITH NO_WAIT
DBCC SHRINKFILE(SBSMonitoring_Log, 1)
ALTER DATABASE [SBSMonitoring] SET RECOVERY FULL WITH NO_WAIT
GO

Open in new window

0
 

Author Comment

by:MattToner
ID: 40255547
Hi Lee,

I tried that but the database is still the same size.
0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 40255885
I tested that before I posted - it worked for me... the DATABASE will be the same size, the LOG FILE should shrink.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now