Determines the size of the database passed in through @DBName, as determined by the ThresholdType and ThresholdValue fields in the Minion.CheckDBSettingsAutoThresholds table.

Note that this function is shared between Minion modules.

 
Name Type Description
@Module varchar

The name of the Minion module.

 

Valid inputs include:

CHECKDB

@OpName varchar

An output parameter that provides the operation name (e.g., CHECKDB).

@DBName varchar

Database name.

@DBSize decimal

An output parameter that provides the database size, as measured in GB.