Solved

Shrink SBSMonitoring_log.LDF SBS 2011

Posted on 2014-07-25
3
1,602 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

696 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