Monday, November 05, 2007

Standard Production DBA Tasks: DBCC CHECKDB

Standard Production DBA Tasks:

DBCC CHECKDB (Transact-SQL)
Updated: 1 February 2007
Checks the logical and physical integrity of all the objects in the specified database by performing the following operations:
Runs DBCC CHECKALLOC on the database.
Runs DBCC CHECKTABLE on every table and view in the database.
Runs DBCC CHECKCATALOG on the database.
Validates the contents of every indexed view in the database.
Validates the Service Broker data in the database.
This means that the DBCC CHECKALLOC, DBCC CHECKTABLE, or DBCC CHECKCATALOG commands do not have to be run separately from DBCC CHECKDB. For more detailed information about the checks that these commands perform, see the descriptions of these commands.

Labels: , ,

0 Comments:

Post a Comment

<< Home