Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Rebuild Index Job fails after running for 10 hours and after completing 80%.


Rebuild Index Job fails after running for 10 hours and after completing 80%.

Author
Message
SQLisAwE5OmE
SQLisAwE5OmE
Mr or Mrs. 500
Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)

Group: General Forum Members
Points: 558 Visits: 3056
Hi Guys,

Here is the scenario that I am facing and not exactly sure how to go about it. Please let me know your thoughts.

I have a database with 1.5 TB in size. Rebuild Index Job fails after running for 10 hours and after completing 80%(last week, it failed due to deadlock). The same database is on a Replication Configuration on Publisher role. During the Rebuil Index run, I noticed Replication Log Reader is constantly blocked by Rebuild Index Job. Rebuild Index doesn't seems to make any progress, it's stuck at 33%.

Is there anything we can do to to Replication to complete Rebuild Index job successfully?

Regards,
SQLisAwe5oMe.
Eirikur Eiriksson
Eirikur Eiriksson
SSCertifiable
SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)

Group: General Forum Members
Points: 6691 Visits: 17681
Quick question, what edition of SQL Server are you on?
Cool
SQLisAwE5OmE
SQLisAwE5OmE
Mr or Mrs. 500
Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)

Group: General Forum Members
Points: 558 Visits: 3056
It's 2008r2, enterprise edition on Windows 2008.

Regards,
SQLisAwe5oMe.
Eirikur Eiriksson
Eirikur Eiriksson
SSCertifiable
SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)

Group: General Forum Members
Points: 6691 Visits: 17681
SQLisAwE5OmE (8/23/2014)
It's 2008r2, enterprise edition on Windows 2008.


Are you using the ONLINE option? If you are, the additional resources required might be part of the problem. If not, in might also be worth giving it a shot.
Cool
JasonClark
JasonClark
Old Hand
Old Hand (392 reputation)Old Hand (392 reputation)Old Hand (392 reputation)Old Hand (392 reputation)Old Hand (392 reputation)Old Hand (392 reputation)Old Hand (392 reputation)Old Hand (392 reputation)

Group: General Forum Members
Points: 392 Visits: 787
SQLisAwE5OmE (8/23/2014)
Hi Guys,

Here is the scenario that I am facing and not exactly sure how to go about it. Please let me know your thoughts.

I have a database with 1.5 TB in size. Rebuild Index Job fails after running for 10 hours and after completing 80%(last week, it failed due to deadlock). The same database is on a Replication Configuration on Publisher role. During the Rebuil Index run, I noticed Replication Log Reader is constantly blocked by Rebuild Index Job. Rebuild Index doesn't seems to make any progress, it's stuck at 33%.

Is there anything we can do to to Replication to complete Rebuild Index job successfully?


Index should be reorganized when index fragmentation is between 10-44 %. Rebuilding process uses many more CPU and blocks the database resources. Please turn on online option.
Eirikur Eiriksson
Eirikur Eiriksson
SSCertifiable
SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)

Group: General Forum Members
Points: 6691 Visits: 17681
Quick question, how beefy is the index/indexes being rebuilt? Would it be an option to build an identical index with the ONLINE option and then drop the existing one afterwards?
Cool
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search