Solved

Index Rebuild Job suddenly started failing

Posted on 2016-08-04
2
58 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

626 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