Solved

Shrink SBSMonitoring_log.LDF SBS 2011

Posted on 2014-07-25
3
1,541 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 96

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 96

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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Small Business Server 2011. NOTE: This guide has been written using the preview version of SBS2011 therefore some of the screens may …
If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 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