Home Forums SQL Server 2012 SQL 2012 - General Re-Indexed with the Wrong Fill Factor and Now All Databases Are Huge RE: Re-Indexed with the Wrong Fill Factor and Now All Databases Are Huge

  • Crud. Almost forgot... I know it sounds a little weird but, even though the shrink will make a fragmented train wreck out of the database, consider doing the reindexes before the shrink and then again after the shrink. I have no quantitative proof but it seems that shrink works better when you free up pages by getting rid of the extra space (and you have a LOT because of the FILL FACTOR problem) on pages ironically caused by fragmentation of bad FILL FACTOR application.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)