- There are two ways to create a maintenance plan: you can create a plan using the Maintenance Plan Wizard, or you can create a plan using the design surface. The Wizard is best for creating basic maintenance plans, while creating a plan using the design surface allows you to utilize enhanced workflow.
To create or manage Maintenance Plans, you must be a member of the sysadmin fixed server role. Note that Object Explorer only displays maintenance plans if the user is a member of the sysadmin fixed server role.
The Maintenance Plan Wizard helps you set up the core maintenance tasks to make sure that your database performs well, is regularly backed up, and is free of inconsistencies. The Maintenance Plan Wizard creates one or more SQL Server Agent jobs that perform these tasks on local servers or on target servers in a multiserver environment. Execution can be at scheduled intervals or on demand.
Maintenance plans can be created to perform the following tasks:
- Reorganize the data on the data and index pages by rebuilding indexes
- Compress data files by removing empty database pages.
- Reorganize the data on the data and index pages by rebuilding indexes
- Compress data files by removing empty database pages.
To create a maintenance plan using the Maintenance Plan Wizard
1.In Object Explorer, expand a server, and then expand Management.
1.In Object Explorer, expand a server, and then expand Management.
2.Right-click Maintenance Plans and select Maintenance Plan Wizard.
3.Follow the steps of the wizard to create a maintenance plan.
Comments
Post a Comment