Home Forums SQL Server 2005 Administering is it required to run reindex on a table soon after a column is dropped or added?if yes then why? RE: is it required to run reindex on a table soon after a column is dropped or added?if yes then why?

  • v5d1.ch (9/16/2012)


    Thank you joy smith.that article explains lot but i am still bit confused.i understood why we need to rebuild whenever we drop a column.it is beacuse we have to

    free up the space used by dropped col but i donot understand why we need to rebuild index when a new col is added.could you please clarify?

    Because if you add a column, the new data may cause the clustered index to split pages which is a form of fragmentation that can slow up batch processing quite a bit.

    --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)