﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Maintenance Plan Wizard question...</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 24 Sep 2026 11:59:41 GMT</lastBuildDate><ttl>20</ttl><item><title>Maintenance Plan Wizard question...</title><link>http://forum.strataframe.net/FindPost8917.aspx</link><description>Does anybody have any advice/links for information on how to setup a maintenance plan for database(s) in SQL Server 2005?&lt;br&gt;
&lt;br&gt;
Specifically, in the maintenance plan wizard.. Do I need to run the task labeled 'Check database integrity'? If and when do I need to run the shrink database task? etc.&lt;br&gt;
&lt;br&gt;
I've found articles explaining what they are and what they do but not so many telling me yes I need to run it or no i dont. ;-)</description><pubDate>Mon, 21 May 2007 13:23:13 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Maintenance Plan Wizard question...</title><link>http://forum.strataframe.net/FindPost8921.aspx</link><description>Yup...TRUNCATE LOG is your friend :)</description><pubDate>Mon, 21 May 2007 13:23:13 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Maintenance Plan Wizard question...</title><link>http://forum.strataframe.net/FindPost8920.aspx</link><description>WOW! 25GB! Thanks Trent.</description><pubDate>Mon, 21 May 2007 13:05:58 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Maintenance Plan Wizard question...</title><link>http://forum.strataframe.net/FindPost8918.aspx</link><description>It is extremely important that you do three things when maintaining your database.&amp;nbsp; You need to backup, shrink, and flush the logs.&amp;nbsp; An exampe of this is one of our databases that we had missed to flush the logs.&amp;nbsp; The database was 800MB and the log file was 25 GB.&amp;nbsp; After we backed up and added the TRUNCATE LOG the log file wen to 1.5 MB.&amp;nbsp; So it is very important to do this.&amp;nbsp; Your database will also expand with deleted records, so it is good to SHRINK the database relatively often to prevent bloating.&amp;nbsp; And backup is an obvious one, but be sure to add the SHRINK and TRUNCATE LOG to your backups.</description><pubDate>Mon, 21 May 2007 13:02:06 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>