things to consider while rebuilding indexes online

  • Hi All,

    I have no experience with rebuilding indexes online, so i would like to know if i need to know beside these;

    A) Before

    1) Check disk if there is enough space or not

    B) While executing rebuild

    1) monitor log size

    2) have script that backup log

    3) DBCC loginfo

    4) check standby database whether log is applied or not

    C) After

    1) update statistics

  • You do need to monitor the amount of space taken up by the log. You should also monitor disk space in the space where the index is stored and in tempdb. Do not update the statistics after an index rebuild. A rebuild does a full scan statistics update as part of it's process. You doing a stats update either replaces a full scan with a sampled scan or, it just does the full scan again costing extra processing and resulting in nothing at all.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • Thank you.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply