Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • Last Modified:

WSUS ?

My wsus .mdf is 4gb. how to reduce the size?
0
Hubman
Asked:
Hubman
1 Solution
 
JAN PAKULACommented:
if you have sql management studio you can do that


1 set your DB to SIMPLE RECOVERY (right-click on DB in SQLMS, go to properties, Options, Recovery Model -> Simple).

2 Then shrink the files - firstly your log file and then your data file. To do so, right-click on DB in SQLMS, Tasks, Shrink, Files. Set FileType to log and and choose "Reorganise pages..." and set as low as you can go. Repeat but set FileType to Data.

3 Set your DB back to FULL RECOVERY if it was on there before you changed to SIMPLE RECOVERY above. If it was already set for SIMPLE RECOVERY then just leave as is.
0
 
HubmanAuthor Commented:
I'll give that a try
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now