December 1, 2011 at 8:38 am
If you are running DBCC DBREINDEX on all tables and one index in the middle fails due to a deadlock are the indexes before and after the index that failed rebuilt?
December 1, 2011 at 8:56 am
I can't answer your question for you and without looking it up I'd just be taking a best guess. What I can tell you though is DBCC DBREINDEX is going to be removed in future versions of SQL Server. You should be using ALTER INDEX instead.
December 1, 2011 at 9:22 am
Unless you ran them in an explicit transaction, the ones before would have been rebuild, the ones after not.
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
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply