Solved

Index Rebuild Job suddenly started failing

Posted on 2016-08-04
2
52 Views
Last Modified: 2016-08-04
Heyas,

My maintenance plan for rebuilding indexes has started to fail below is the error message:

.Version 10.50.2500.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  9:00:00 PM  Progress: 2016-08-02 21:00:02.84     Source: {6DFF2819-4B44-4B9D-8F99-A687CCB094AC}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp...".: 100% complete  End Progress  Progress: 2016-08-02 21:05:37.50     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "ALTER INDEX [ABSENCES] ON [dbo].[ABSENCES] REBUILD...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "ALTER INDEX [ABSENCES_ID] ON [dbo].[ABSENCES] REBU...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "ALTER INDEX [ABSENCES2] ON [dbo].[ABSENCES] REBUIL...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.51     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "ALTER INDEX [ABSENCES3] ON [dbo].[ABSENCES] REBUIL...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "ALTER INDEX [ACCOUNT_NDX1] ON [dbo].[ACCOUNT] REBU...".: 0% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "ALTER INDEX [ACCOUNT_NDX2] ON [dbo].[ACCOUNT] REBU...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.52     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.53     Source: Rebuild Index      Executing query "ALTER INDEX [PK_ACCOUNT] ON [dbo].[ACCOUNT] REBUIL...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.53     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.55     Source: Rebuild Index      Executing query "ALTER INDEX [PK_ACTIVATION] ON [dbo].[ACTIVATION] ...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.55     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "ALTER INDEX [PK_ACTIVITY_POLE] ON [dbo].[ACTIVITY_...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "ALTER INDEX [POLE_NDX1] ON [dbo].[ACTIVITY_POLE] R...".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 1% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "ALTER INDEX [POLE_NDX2] ON [dbo].[ACTIVITY_POLE] R...".: 2% complete  End Progress  Progress: 2016-08-02 21:05:37.56     Source: Rebuild Index      Executing query "USE [AssetPlus]  ".: 2% complete  End Progress  Progress: 2016-08-02 21:05:37.57     Source: Rebuild Index      Executing query "ALTER INDEX [POLE_NDX3] ON [dbo].[ACTIVITY_POLE] R...".: 2% complete  End Progress  Progress: 2016-08-02 21:05:37.57     Source: Rebuild Index      Executin...  The package execution fa...  The step failed.

The indexes that are having issues are:
ALTER INDEX [ABSENCES]
ALTER INDEX [ABSENCES2]  
ALTER INDEX [ABSENCES3]
ALTER INDEX [ACCOUNT_NDX1]
ALTER INDEX [ACCOUNT_NDX2]
ALTER INDEX [PK_ACCOUNT]
ALTER INDEX [PK_ACTIVITY_POLE]
ALTER INDEX [PK_ACTIVATION]
ALTER INDEX [POLE_NDX1]
ALTER INDEX [POLE_NDX2]
ALTER INDEX [POLE_NDX3]
Troubleshooting so far:

- I have run dbcc checkdb no issues.
- My log file is under <1GB
- Log file is set to grow 10% every time.

How do I begin to troubleshoot this issue?

Any assistance is appreciated.

I am running SQL Server 2008 R2 Enterprise. also I keep my index online whilst reindexing.

Thank you.
0
Comment
Question by:Zack
2 Comments
 
LVL 69

Accepted Solution

by:
ScottPletcher earned 500 total points
ID: 41742761
There's no actual error message in that text.  You need to have the job write its log to a text file, then look at the full error messages in the text file to see more details about what the error(s) is(are).
0
 

Author Closing Comment

by:Zack
ID: 41743607
Heyas,

Sorry meant to attach the error log last night, worked it out taking the DB offline and online fixed the issue.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now