sp_dbcc_evaluatedb

Description

Recomputes configuration information for the target database and compares it to the current configuration information.

Syntax

sp_dbcc_evaluatedb [dbname]

Parameters

dbname

specifies the name of the target database. If dbname is not specified, sp_dbcc_evaluatedb compares all databases listed in the dbcc_config table.

Examples

Example 1

Recomputes configuration information for the current database, sybsystemprocs, and suggests new values for some parameters:

sp_dbcc_evaluatedb

Recommended values for workspace size, cache size and worker process count are:

Database name : sybsystemprocs
current scan workspace size : 400K      suggested scan workspace size : 272K
current text workspace size : 208K      suggested text workspace size : 208K
current cache size : 1024K      suggested cache size : 640K
current process count : 1        suggested process count : 1

Usage

Permissions

See also

Commands dbcc

dbcc stored procedures sp_dbcc_updateconfig

System procedures sp_plan_dbccdb