|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, August 25, 2011 2:55 PM
Points: 10,
Visits: 987
|
|
Hi I am trying to rebuild indexes on a database and its taking forever .I am unable to debug the issue. Before 2 months it usually takes around 47 min by my past 2 attempts are failure. Last time it took more than a day so I got to abort the job an at yesterday I initaited the job at 11.00pm an I see its still running. can you please let me know how to solve this problem???????I would appreciate your response........... I am in a bit of crises..........Performance is bad.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, March 12, 2013 7:27 AM
Points: 342,
Visits: 788
|
|
| Have the indexes been created with the ONLINE option set to on?
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Thursday, June 13, 2013 11:29 AM
Points: 3,280,
Visits: 6,626
|
|
Check if there are blockings.
-Roy
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, August 25, 2011 2:55 PM
Points: 10,
Visits: 987
|
|
| Yes I am basically using a script ,so it is .
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, August 25, 2011 2:55 PM
Points: 10,
Visits: 987
|
|
| Can you please brief it a little more.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Thursday, June 13, 2013 11:29 AM
Points: 3,280,
Visits: 6,626
|
|
You can run sp_who2. You will the SPIDS that are blocking
-Roy
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, August 25, 2011 2:55 PM
Points: 10,
Visits: 987
|
|
I see that its blocked by a process 116 unable to kill the process from activity monitor, any suggestions?
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, March 12, 2013 7:27 AM
Points: 342,
Visits: 788
|
|
| What's the error message? Have you tried through query analyser "KILL 116" and seeing what message you get back?
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Thursday, June 13, 2013 11:29 AM
Points: 3,280,
Visits: 6,626
|
|
Can you also provide the script that you used to recreate the index?
-Roy
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, August 25, 2011 2:55 PM
Points: 10,
Visits: 987
|
|
Hi Roy, ERROR: Process ID 116 is not an active process.
|
|
|
|