Question

I am trying to figure out what is the best CheckCommands option for ServerIntegrity check.

  1. Should I leave the job defaults as is?

    EXECUTE [dbo].[DatabaseIntegrityCheck] @Databases = 'USER_DATABASES', @LogToTable = 'Y'
    
  2. Should i run the CHECKALLOC,CHECKTABLE,CHECKCATALOG option separately or is it included in the above? Same for the CHECKFILEGROUP option.

Was it helpful?

Solution

If you run the base CHECKDB command, you don't need to run the others. The other commands make up what is run by the full command.

See:

Breaking the full check into its constituent parts is sometimes done on very large databases where a full check in total is too time consuming or gobbles up too many resources.

The only CHECKDB option that results in a different full check (PHYSICAL_ONLY) runs fewer overall checks. It skips logical checks against the data and only checks the physical file structure.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top