We were saving unnecessary logging data in our database. One table grew to 1 million records, 99% of that is now gone.

We have db size of 40gb and freespace of 24gb.

Whats the best way to regain that space (and consequently reduce the size of our back ups).

Our recovery mode is simple. Can we just use the auto shrink setting in management studio ?


Probably worth noting that there was no need to shrink the DB to reduce the size of backup. Just removing the data is good enough. Our backups are now 9gb.


Yes, right click the database -> tasks -> shrink -> database.

  • lol, its auto shrink that I should avoid right. ? I don't need to detach or anything ? – NimChimpsky Mar 29 '12 at 14:12
  • 1
    Normally, shrinking a production db has consequences. Brent Ozar is likely to appear from nowhere and slap you upside the head. But what were talking about here is a change in the nature of application, so I think it's warranted. – Joel Coel Mar 29 '12 at 14:26
  • Yep, no need to detach or anything like that. Always make sure you have backups just as with anything else. – murisonc Mar 29 '12 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.