beautypg.com

Setting up a database maintenance plan, Setting up a database maintenance plan” on – Grass Valley NewsBrowse Desktop Browsing System Installation v.3.1 User Manual

Page 122

background image

122

NewsBrowse Installation and Configuration Guide

April 27, 2006

Chapter 4 Recovery Planning

Setting up a database maintenance plan

The best way to control the growth of transaction logs is to simply back them up, once
a day at the very least. SQL 2000 makes it very easy to set up a database maintenance
schedule. Before you begin implementing a database maintenance plan using the SQL
2000 Database Maintenance Planner wizard make sure that the
SQLSERVERAGENT service is started and its properties are set to auto start for a
local system account. If the SQLSERVERAGENT is not running, the database
maintenance plan will not run. The following steps describe how to launch and
configure the SQL 2000 Database Maintenance Planner:

1. Open SQL 2000 Enterprise Manager.

2. Expand Microsoft SQL Servers, expand the SQL Server Group and select the SQL

server.

3. On the

Tools

menu, click

Database Maintenance Planner…

4. After the wizard launches click the

Next>

button.

5. Select

These databases

radio button and select the

MediaFrame

and

NBIngest

databases.

6. Click the

Next>

button to navigate to the

Update Data Optimization Information

page.

7. Select the

Update statistics used by query optimizer. Sample

check box and set it to

10% of the database.

8. Check the schedule to verify that the time scheduled will not conflict with peak

usage of the system. If a schedule time change is needed, click the

Change…

button

to modify the time. This option can be run daily but once a week is good.

9. Click the

Next>

button to navigate to the

Database Integrity Check

page.

10.Select the

Check database integrity

check box.

11.Select the

Include indexes

radio button.

12.Select the

Perform these checks before doing backups

check box.

13.Check the schedule to verify that the time scheduled will not conflict with peak

usage of the system. If a schedule time change is needed, click the

Change…

button

to modify the time. This option can be run daily but once a week is good.

14.Click the

Next>

button to navigate to the

Specify the Database Backup plan

page.

15.Select

Back up the database as part of the maintenance plan

check box.

NOTE: Do not select “Attempt to repair any minor problems”.

16.Select

Verify the integrity of the backup when complete

check box.

17.Select the

Disk

radio button

18.Change the schedule from once a week to daily by clicking the

Change…

button.

19.Select the

Daily

radio button and set the interval to

Every 1 day(s)

.

20.Select the

Occurs once at

radio button. If the default time of 2:00:00 AM is not

good, change it to a more suitable time.

This manual is related to the following products: