Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to interprete the unused space ?


How to interprete the unused space ?

Author
Message
ScottPletcher
ScottPletcher
Hall of Fame
Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)

Group: General Forum Members
Points: 3938 Visits: 6666
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)

Prosecutor James Blackburn, in closing argument in the "Fatal Vision" murders trial: "If in the future, you should cry a tear, cry one for them [the murder victims]. If in the future, you should say a prayer, say one for them. And if in the future, you should light a candle, light one for them."
Bobby Glover
Bobby Glover
SSC-Enthusiastic
SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)

Group: General Forum Members
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search