SQL Maintenance Plan

Source: Internet
Author: User

One, Maintenance Plan Wizard

1. Start the Maintenance Plan Wizard

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/145751584.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/145810496.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/145818321.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

2. Change plan

In the, click on the "Change" button below to go to the "Job Schedule Properties" dialog window.

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/150120446.png "width=" 650 "style=" Padding:0px;margin:0px;vertical-align:top;border:none; "/>

  Note : This plan will only take effect if the "enabled" option is checked in the upper right corner.

After you change the plan, the OK button below the point returns to the Maintenance Plan Wizard.

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/150406507.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

3. Add Scheduled Tasks

In the Select Maintenance Task window, some common maintenance tasks are listed.

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/150537554.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

  Note : Reorganize index (reorganize) is not the same as Rebuild index (rebuild).

Then select the order in which the maintenance tasks are executed.

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/150933730.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

4. Configure each task

For example:

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/151259529.png "width=" 650 "style=" Padding:0px;margin:0px;vertical-align:top;border:none; "/>

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/151341713.png "width=" 650 "style=" Padding:0px;margin:0px;vertical-align:top;border:none; "/>

5. Complete Maintenance Plan

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/151507608.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/151517268.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/151524193.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

Second, view maintenance plan

1. Confirmation of Completion

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/151743504.png "style=" padding:0px; Margin:0px;vertical-align:top;border:none; "/>

2. View or modify the plan

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/151945800.png "width=" 650 "style=" Padding:0px;margin:0px;vertical-align:top;border:none; "/>

III. implementation of maintenance plans

1. Automatic execution

The Maintenance Plan Wizard has created a job, and the SQL Server Agent service will automatically run the job as scheduled.

2. Manual execution

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/152422564.png "width=" 650 "style=" Padding:0px;margin:0px;vertical-align:top;border:none; "/>

3. View history

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201305/152713144.png "width=" 650 "style=" Padding:0px;margin:0px;vertical-align:top;border:none; "/>

This article is from the "We have chased the MSSQL" blog, keep this source http://jimshu.blog.51cto.com/3171847/1007058


SQL Maintenance Plan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.