Solved

Index Rebuild Job suddenly started failing

Posted on 2016-08-04
2
56 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 69

Accepted Solution

by:
Scott Pletcher 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

729 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