SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server 2008 Index Maintenance Plan failing


SQL Server 2008 Index Maintenance Plan failing

Author
Message
rummings
rummings
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1147 Visits: 461
I have two SQL Server 2008 instances that are having issues with SQL Server Maintenance plans that "Rebuild" indexes on a weekly basis. The one instance has large databases over 100GB in size. The plan fails when it the lock time period is exceeded. I thought I would try the "online" rebuild.... but that is only available on "Enterprise" editions. I went through and was able to manually "Rebuild" all fragmented indexes. Is there a better way to do this?

On the other instance, when the weekly Index Rebuild Maintenance Plan runs... it cause the "LDF" file to get so large that it blows off the disc. Should I run "Backup Log" jobs at a close interval during the Rebuild to prevent this from occurring?
Grant Fritchey
Grant Fritchey
SSC Guru
SSC Guru (100K reputation)SSC Guru (100K reputation)SSC Guru (100K reputation)SSC Guru (100K reputation)SSC Guru (100K reputation)SSC Guru (100K reputation)SSC Guru (100K reputation)SSC Guru (100K reputation)

Group: General Forum Members
Points: 100057 Visits: 33014
You're basically running into limitations of the generic nature of Maintenance Plans. If they work for you, great. If they don't, the only real recourse you have is to start scripting your own processes. But, you can start with other scripts. The two most frequently used are Ola Hollengren's scripts and Michele Ufford's scripts (just look up the names, you'll find the links). They'll get you going better than using a Maintenance Plan.

----------------------------------------------------
The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood...
Theodore Roosevelt

The Scary DBA
Author of: SQL Server Query Performance Tuning and SQL Server Execution Plans
Product Evangelist for Red Gate Software
rummings
rummings
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1147 Visits: 461
Thank you for the reply/information. I actually have been trying to get management to let me install the "Ola" script for a long time now.... but..... did I mention it is Management.... as soon as they say it is their idea.... I will be allowed to apply the script.... but your comment will be used to fuel the fires!

Charlie
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