Solved

Shrink SBSMonitoring_log.LDF SBS 2011

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

This guide is intended for migrating Windows 2003 Standard with Exchange 2003 to Windows Small Business Server 2008. You will need the following: Exchange Best Practice Analyzer: http://www.microsoft.com/downloads/details.aspx?FamilyID=DBAB201F-…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

16 Experts available now in Live!

Get 1:1 Help Now