Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

How to interprete the unused space ? Expand / Collapse
Author
Message
Posted Wednesday, March 20, 2013 2:12 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: 2 days ago @ 3:44 PM
Points: 2,266, Visits: 3,419
Lynn Pettis (3/20/2013)
You do realize that shrinking a database will fragment the indexes used by the queries run to generate the reports and that this will impact the performance of the reporting database.




Technically I think it's more accurate to state:
shrinking a database will very likely fragment the indexes used by the queries run to generate the reports, and that this will impact the performance of the reporting database.

That is, it's not 100% guaranteed to fragment index(es), but it is very likely.

Because of all the factors everyone has stated, shrinking a db to regain a (relatively) small amount of just isn't worth it. Indeed, shrinking the db and then rebuilding the resulting fragmented index(es) often results in a larger db than when you started out!

If you genuinely need to shrink the db, there are some steps you can take to get the more shrinkage with less fragmentation, but it's extra effort.


SQL DBA,SQL Server MVP('07, '08, '09)

Carl Sagan said: "There is no such thing as a dumb question." Sagan obviously never watched a congressional hearing!
Post #1433475
Posted Thursday, March 21, 2013 3:47 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, August 9, 2013 8:19 AM
Points: 179, Visits: 751
Don’t see what you are trying to achieve, are you low on disk space.
If the db is read only. Then set it has read only. If you are low on disk space. Increase the disk space or dettach the db and move to a larger disk.
Users should not be affected by what is free in the db. It has no bearing to what they are doing. If the ldfs are on the same drive move these to a separate drive.
Post #1433675
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse