|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Yesterday @ 7:52 AM
Points: 3,280,
Visits: 6,622
|
|
That means that by the time you went to kill it 116 was already finished. How many rows does the table have? When you run the command sp_who2, what is the status of the create index spid? Also please provide the script that you used for recreating index.
-Roy
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 1:13 PM
Points: 516,
Visits: 1,004
|
|
After being bitten by the blocking bug in the past where the index rebuild jobs were blocked by a connection from the application that wasn't closed, I implemented a standard practice to include a lock time out in my script that rebuilds the indexes: SET LOCK_TIMEOUT 900000; -- Set it to 15 minutes to avoid causing blocking
So now instead of the index rebuild job being blocked, it just times out after 15 minutes and moves on to the next index.
|
|
|
|