Rebuild Index Task (Maintenance Plan) Question

  • Is the Rebuild Index Task(the one under Management==> Maintenance Plans) the same as executing DBCC DBREINDEX? Does the task automatically update statistics for you also?

  • Yes - sort of. The task will generate ALTER INDEX statements for each index selected for rebuild. ALTER INDEX replaces DBREINDEX...

    When an index is rebuilt - the statistics for that index will be updated. When an index is reorganized, the statistics are not updated.

    Jeffrey Williams
    “We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”

    ― Charles R. Swindoll

    How to post questions to get better answers faster
    Managing Transaction Logs

  • Thanks for your response Jeffrey. Clears up a lot of things now.

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

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