Checking Database Integrity

The Define Database Check Integrity Task screen of the Maintenance Plan Wizard, shown in Figure 33.5, allows you to schedule the database consistency command DBCC CHECKDB, which checks the data pages for inconsistencies and is a good tool for ensuring that a database is healthy. The integrity checks can be made before each backup or on an independent schedule.

Figure 33.5 The Define Database Check Integrity Task screen of the Maintenance Plan Wizard.

image

The options available for checking database integrity via the wizard are limited.

Checking the Include Indexes check box causes integrity checks to be performed on the ...

Get Microsoft® SQL Server 2008 R2 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.