Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Rebuild Index to Compress Pages

$
0
0

I've got a big table that currently is only filled to 52.4% due to page splits.  I'd like to rebuild the table on the clustered index in order to get it closer to 90% in order to save space.  Of course, I'm familiar with the alter index all rebuild syntax.  But don't I want to do the following:

a) drop all nonclustered indexes

b) rebuild the clustered index

c) add all the nonclustereds

I guess I'm asking if I can trust the alter index all rebuild to do the above?  What's the best way to do this?

NOTE:  The fillfactor on this server is 90% I believe.


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>