Stopping DBCC Reindex

  • Does stopping of DBCC Reindex corrupts the db?

    Thanks!

  • It should not. I have done this and I think it's a transaction, so it undoes the work done. Or maybe it just stops, can't remember.

  • Thanks Steve!  Yes we tried testing it on our test server and it didn't corrupt the DB so you're right on that.

    Thanks again...

  • It runs in one big transaction.  If you stop it then it will roll back, which can be a pain, as I found out earlier today.  indexdefrag works in smaller increments, though it can fill up the tran log.

     

    Dylan

    Dylan Peters
    SQL Server DBA

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

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