In SQL server you get two types of files, mdf and ldf. mdf are database files and ldf are logfiles.
Where I work, we sometimes get disk space alerts and need to scrabble to free up disk space.
One good way is to shrink SQL Server logfiles. This is completely safe to do. I'm told this is not the case for mdf database files.
First, open Microsoft SQL Server Management Studio.
Second, find the database then right-click, Tasks, Shrink, Files.
The word "Files" might not be there, instead you might get a confirmation page instead. Just make sure you are shrinking the log files and not the database itself. Sometimes you have to click a drop-down.
It will basically reclaim empty space and you can free up quite a lot this way.
This is a good video that helped me when I forgot and needed to remember again in a jam!
Musings from an IT Desktop Technical Support Guy. Subscribe to new blog posts by email using the form on the right ======>>
Subscribe to:
Post Comments (Atom)
Popular Posts
-
In Outlook you can give someone the ability to send from a mailbox or as another email address. You do this in Active Directory under Proper...
-
Today downloaded the ISO for Red Hat Enterprise Linux. I have been meaning to install this so I can get to grips with what is the leading en...
-
I got a call from someone working from home. His touchpad had recently stopped working. The keyboard and the nipple still worked. In fact,...
-
If you have a Smart Board and you find that there is no sound coming out of the speakers then check one thing first, that the speakers are s...
-
With the Dell KACE K1000 appliance, you can force an inventory very easily from the web console. But you may have a reason to just want to...
-
We had this error come up at work as follows: Reporting-MTA: dns;<server> Received-From-MTA: dns; service31.mimecast.com Arrival-Da...
-
I have seen in the job ads that experiencing packaging applications is highly sought after. MSIs are the default Windows installer file typ...
-
Going from XP to Linux, one app I really needed badly to use, more than any other, is my password manager KeePass. Luckily, it IS possible t...
-
I tried to create folders and copy files to an external hard drive of mine. Actually, it's not an external hard drive. It's a hard...
-
Our RDS environment at work slowed to a crawl over a couple of days. Specifically, the logon and logoff times became extremely long, of the ...
No comments:
Post a Comment