"The ease of use and implementation were key to our decision to move ahead with FileHold."
- Engineering Customer
Microsoft SQL Server Tuning and Performance - Best Practices
It is recommended that a nightly maintenance task schedule be setup using SQL Management Studio. The following article describes how to setup a SQL Maintenance Plan to perform some of this maintenance on a scheduled basis. It takes approximately 10 minutes to set up. Do not perform this work if you are not comfortable with Microsoft SQL Server and Windows 2005/2008 server administration.
The maintenance plan we recommend is to rebuild the database indexes and update database statistics. Over time these can become out of synch with the databases and cause performance issues. You will want to update statistics and indexes on all 5 FileHold databases.
The following article is for Microsoft SQL Server 2005 but the same methods can be used for Microsoft SQL Server 2008. This article relates to the FileHold Server Tuning FAQ: http://www.filehold.com/help/system/filehold-server-tuning-faq
To tune Microsoft SQL Server
- Enable SQLSERVERAGENT in Services.msc.
- Set to Startup type to Automatic.

- Open SQL Management Studio.
- Expand Management > Maintenance and right click on Maintenance and select Maintenance Plan Wizard.

- The SQL Server Maintenance Plan Wizard window opens. Click Next.

- Enter a Name for the Maintenance Plan such as "FileHold Rebuild Index + Update Statistics Maintenance Plan".
- This example will set up a recurring daily plan at midnight. Select Single schedule for the entire plan or no schedule and click Change to set up a schedule.

- In the Schedule Job Properties window, set the schedule type to Recurring.
- Set the frequency to Daily at 1 time a day.
- In the Daily Frequency area, set the time to 12 AM.
- Set the Start date to today's date.
- Click OK.

- In the Maintenance Plan Wizard window, click Next.
- Select the Rebuild Index and Update Statistics check boxes in the Maintenance Tasks list.

- Click Next to configure Rebuild Index Maintenance Tasks.
- To define the settings for the Rebuild Index portion of the maintenance plan, click the arrow in the All User Databases field and then choose All User Databases (excluding master, model, msdb, tempdb).
- Click OK.

- In the Advanced Options area of the Define Rebuild Index Task window, select the Keep index online check box.
- Click Next to configure the Update Statistics Maintenance Task settings.
- Click the arrow in the All User Databases field and then choose All User Databases (excluding master, model, msdb, tempdb).

- Click Next to set up the report and email options. Choose which options you want.

- In the Complete the Wizard window, review a summary of your settings and click Finish.

- The tasks will be added and scheduled in the Maintenance Plan Wizard. Click Close when complete.

- The maintenance plan will then be updated in Microsoft SQL Management Studio and the SQL Server Agent Jobs will be updated.

- Monitor the maintenance plan on a periodic basis to make sure that the plan is functioning normally.

