SQLUndercover / UndercoverToolbox

A collection of cool and useful tools, procedures and scripts for the discerning DBA
https://sqlundercover.com
MIT License
84 stars 40 forks source link

Inspector - Global setting UseMedianCalculationForDriveSpaceCalc not being honoured since V2.6 #293

Closed Adedba closed 3 years ago

Adedba commented 3 years ago

Since V2.6 the Drivespace module no longer honours the global setting for UseMedianCalculationForDriveSpaceCalc in Inspector.Settings , instead it defaults to zero (average based calc) if you have not specified any overrides.

This behaviour is not correct and should be:

Check for overrides , if present then use them per Server per drive as specified , otherwise use the global setting for the module.