Home Forums SQL Server 2005 Administering Re-Indexing a large table RE: Re-Indexing a large table<!-- 864 -->

  • ReamerXXVI (8/21/2014)


    I need to reorg/rebuild the indexes on a large table (8.7 billion rows of data), should I rebuild the clustered index first or the non-clustered indexes first, or does it not matter?

    Thanks,

    Gail answered the question that you asked.

    To simplify and shorten such reindexing of this large table, have you considered either Paritioned Views or Partitioned Tables?

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