Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Shrink Database (SQL 2008)
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sqlmjkm
Starting Member

14 Posts

Posted - 02/27/2014 :  08:33:55  Show Profile  Reply with Quote
Hello. When doing a shrink database - Under "Available free space" - What percentage % free would you say is in the danger zone? What are the ranges you think are acceptable and at what % will we start to see performance issues.

Also... is there documentation on this anywhere?

Thank you!

djj55
Constraint Violating Yak Guru

USA
352 Posts

Posted - 02/27/2014 :  11:14:06  Show Profile  Reply with Quote
It depends on the data. Do you have a lot of inserts?

Performance may be hurt if the database needs more room and expands often.

djj
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
38200 Posts

Posted - 03/02/2014 :  18:30:03  Show Profile  Visit tkizer's Homepage  Reply with Quote
Only do a shrink when you know you don't need that extra space for a very long time. When I do shrink a database, I leave at least 10% of free space but typically 20%. I do not shrink just because I have more than 20%. I shrink only on rare occasions, such as when we do a massive delete and need that space for some other database.

% has nothing to do with performance except as djj55 mentions regarding having to expand the file.


Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000