Resource Issues Running sp_iqcheckdb

sp_iqcheckdb reports resource issues encountered while executing.

Messages describing resource issues are reported in the sp_iqcheckdb output or in theĀ .iqmsg file.

Buffer cache sizes are set permanently using the database option TEMP_CACHE_MEMORY_MB. Use the server startup switches -iqmc and -iqtc to override the buffer cache size values set using the database options.

Do not run multiple database consistency checks at the same time, as DBCC is optimized to run one instance.

The CPU utilization of DBCC can be limited by specifying the sp_iqcheckdb parameter resources resource-percent, which controls the number of threads with respect to the number of CPUs. The default value of resource-percent is 100, which creates one thread per CPU and should match the load capacity of most machines. Set resource-percent to a value less than 100 to reduce the number of threads, if you are running DBCC as a background process. The minimum number of threads is 1.

If resource-percent > 100, then there are more threads than CPUs, which may increase performance for some machine configurations.

The database option DBCC_PINNABLE_CACHE_PERCENT can be used to tune DBCC buffer usage. The default of DBCC_PINNABLE_CACHE_PERCENT is to use 50% of cache. See Reference: Statements and Options.