Diff between offline and online index rebuild operation

  • Hi,

    Can anyone please tell me the difference between OFFLINE Index rebuilds and ONLINE Index rebuilds? which one is good over the other?

    Thanks

  • Offline = index unavailable for the duration of the operation

    Online = index is available for most of the duration of the operation, more resources required, may take longer than an offline rebuild.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thank you.

  • How about single threaded vs multi-threaded performance on index rebuilds off-line vs on-line?

  • I believe they can both run in parallel.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 5 posts - 1 through 4 (of 4 total)

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