Checking database consistency

Sybase Central lets you run the Database Consistency Checker (dbcc), a set of utility commands that check the logical and physical consistency of a database. Use the dbcc commands:

This topic discusses the dbcc command options that deal with overall database consistency. It gives instructions for executing the commands and then describes each command.

Additional database command options enable you to check on the consistency of tables and indexes, and network I/O tasks.

Privileges

A system administrator or database owner can execute database dbcc commands.

StepsChecking database consistency

  1. Select the icon of the database you want to check.

  2. Select File | Check Consistency. The Check Consistency wizard opens. For details of the dbcc options, see “Consistency check options.”

Shortcuts

Right-click the database icon and select Check Consistency from the shortcut menu.