24 February 2007

Maintenance Plan Changes in SQL Server 2005 SP2

Update (2007-Mar-06): http://blogs.msdn.com/sqlrem/archive/2007/03/06/Maintenance-Plan-Changes-Update.aspx

 

Users of SQL Server 2005 maintenance plans should be aware of a change in SP2 that affects existing cleanup tasks until updated using SQL Server SP2 tools.

 

Who is affected?

 

You are affected if you use SQL Server 2005 maintenance plans, those plans include a History Cleanup Task or a Maintenance Cleanup Task, and you install SQL Server 2005 SP2. Users of SQL Server 2000 legacy maintenance plans are not affected.

 

What is the issue?

 

Some maintenance plans might include the Maintenance Cleanup Task and the History Cleanup Task, which allow users to delete information older than a specified interval. When SQL Server 2005 was released, this interval was measured in days, weeks, months, or years. In response to customer feedback, SQL Server 2005 SP2 includes significant enhancements to maintenance plans, including an enhancement that allows users to specify the cleanup interval in hours. After upgrading to SP2, and until you update cleanup tasks using SQL Server SP2 tools as described below, existing cleanup task intervals are misinterpreted. This leads to earlier data cleanup than was intended.

 

What if I have already installed SP2 on my server?

 

You can restore your maintenance plans to their former behavior by opening them up in the Maintenance Plan Designer, opening any cleanup tasks, adjusting the age units to the proper value, and saving the maintenance plan. Use SQL Server 2005 SP2 tools to make these changes.

 

What if I haven't yet installed SP2 on my server?

 

We are currently investigating our approach to this problem and will provide guidance shortly. If you depend on the Maintenance Cleanup Task or the History Cleanup Task and are not able to verify and possibly update cleanup tasks using matching server and tool versions, you may want to wait for that guidance before installing SP2.

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Martin Poon - Microsoft MVP blog [SQL Server] said:

In SQL Server 2005 SP2, cleanup interval for the History Cleanup Task or the Maintenance Cleanup Task

24 February 07 at 12:08 PM
# Carpe Datum said:

If you've installed Service Pack 2 for SQL Server 2005, you might want to check out the information on

25 February 07 at 7:41 PM
# .NET and SQL Geek said:

Recently Microsoft has release the much awaited SP2 for SQL Server 2005. Guys go and grab it – it has

26 February 07 at 3:05 AM
# l.bianchi said:
26 February 07 at 9:12 AM
# Dan's Blog said:

If you use Maintenance Plans and have upgraded or plan to update to SQL2K5 SP2 you need to read this

26 February 07 at 2:40 PM
# Martinův SQL blog said:

Pokud ve svých maintenancech plánech používáte History CleanUp tasks a Maintenance CleanUp tasks, meli byste si precist http://blogs.msdn.com/sqlrem/archive/2007/02/24/Maintenance-Plan-Changes-in-SQL-Server-2005-SP2.aspx, kde jsou popsany zmeny, ktere

28 February 07 at 5:37 AM
# Benjamin Jones said:

FYI You should be aware of this issue if you intend to deploy SQL Server 2005 SP2: http://blogs.msdn.com/sqlrem/archive/2007/02/24/Maintenance-Plan-Changes-in-SQL-Server-2005-SP2.asp

01 March 07 at 1:58 PM
# James Moore said:

Thought I better post this incase you havn't seen it - If you are using SQL Server 2005 maintainance...

01 March 07 at 3:03 PM
# SimonS SQL Server Stuff - Microsoft SQL Server MVP said:

A regression bug was introduced in SP2 that resulted in a view problems when used in evironments that

06 March 07 at 11:26 AM
# SimonS' SQL Server Stuff said:

A regression bug was introduced in SP2 that resulted in a view problems when used in evironments that...

06 March 07 at 11:26 AM
# Frontpage Announcements said:

Microsoft quietly released an updated version of SQL Server 2005 SP2. The new build number is 9.00.3042.01....

06 March 07 at 2:26 PM
# Christian Robert [Skweeky] said:

Depuis hier le téléchargement du Service Pack 2 de SQL Server 2005 a été remis à jour (9.00.3042.01).

06 March 07 at 3:02 PM
# Alex said:

Critical Update for SQL Server 2005 Service Pack 2 (KB:933508)

This update resolves an issue with maintenance plan cleanup tasks intervals.

http://www.microsoft.com/downloads/details.aspx?FamilyId=e2c358a1-ecc4-4c49-8f65-daa6b7800eec&displaylang=en

06 March 07 at 10:43 PM
# Anton_kildishev said:

Проблема, найденная в Microsoft SQL Server 2005 Service Pack 2, стала основанием для критической заплатки,...

07 March 07 at 7:10 AM
# Anton_kildishev said:

Проблема, найденная в Microsoft SQL Server 2005 Service Pack 2, стала основанием для критической заплатки,...

07 March 07 at 7:13 AM
# Scott Whigham said:

Another one: http://support.microsoft.com/kb/934459 (KB:934459) that fixes major issues for us.

06 April 07 at 6:22 AM
# romeolanuza@verizon.net said:

had just recently updated system inf.!!!! hoe d i know if i need to update the sysytem management server?????

11 May 07 at 8:31 AM
# SQL Server Users & tools (SSQA) said:

I feel like there is lot of confusion ( new users ) in deciding which build to apply after the re-release

15 May 07 at 5:15 AM

Leave a Comment

Comment Policy: No HTML allowed. URIs and line breaks are converted automatically. Your e–mail address will not show up on any public page.

(required) 
(optional)
(required) 

About Paul Mestemaker

I am a Program Manager on the SQL Server Manageability Team at Microsoft. I am a proud University of Michigan alumnus. I graduated with a business degree from the Stephen M. Ross School of Business in 2005.
Page view tracker