Solved

Index Rebuild Job suddenly started failing

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

743 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

11 Experts available now in Live!

Get 1:1 Help Now