DB 사용 가능 공간(MB): 사용되지 않음

Microsoft.SQLServer.2008.Database.DBSizeMegabytesMonitor (UnitMonitor)

이 모니터는 사용되지 않습니다. 데이터베이스에 남아 있는 사용 가능 공간(MB)을 모니터링합니다.

Knowledge Base article:

요약

이 모니터는 사용 가능한 데이터베이스 절대 공간(MB)이 지정된 임계값보다 높은지 확인합니다. 이 비율이 지정된 임계값 중 하나보다 낮으면 경고나 오류가 발생합니다.

자동 증가가 설정된 데이터베이스는 보고된 여유 공간에 관계없이 경고를 생성하지 않습니다.

기본적으로 이 모니터는 두 임계값이 모두 -1로 설정되어 있으므로 임계값을 초과하지 않습니다. 사용 가능한 공간 비율을 사용하는 모니터링이 기본적으로 수행됩니다. 사용 가능한 절대 공간 크기를 사용하는 모니터링이 필요한 경우 이 모니터의 임계값을 재정의해야 합니다.

원인

데이터베이스의 여유 공간이 부족하면 비정상 상태가 유발됩니다. 데이터베이스 공간 부족은 데이터베이스의 빠른 증가로 인해 발생되거나 오랜 시간에 걸쳐 느리게 전개되었을 수 있습니다. 다음 링크를 통해 이 데이터베이스의 기록 데이터를 확인합니다.

데이터베이스 성능 데이터

해결 방법

이 문제는 다음을 수행하여 해결할 수 있습니다.

또는 데이터베이스 크기가 별로 중요하지 않을 경우 다음을 수행합니다.

Element properties:

TargetMicrosoft.SQLServer.2008.Database
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2008.DBAndLogSizeMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2008.Database.DBSizeMegabytesMonitor" Accessibility="Public" Enabled="false" Target="SQL2008Core!Microsoft.SQLServer.2008.Database" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2008.DBAndLogSizeMonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<OperationalStates>
<OperationalState ID="UnderThreshold1" MonitorTypeStateID="UnderThreshold1" HealthState="Error"/>
<OperationalState ID="OverThreshold1UnderThreshold2" MonitorTypeStateID="OverThreshold1UnderThreshold2" HealthState="Warning"/>
<OperationalState ID="OverThreshold2" MonitorTypeStateID="OverThreshold2" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<ConnectionString>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ConnectionString$</ConnectionString>
<ServerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ServerName>
<SqlInstanceName>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</SqlInstanceName>
<ObjectName>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/PerformanceCounterObject$:Database</ObjectName>
<CounterName>DB Free Space (MB)</CounterName>
<InstanceName>$Data/Property[@Name='Database']$</InstanceName>
<DatabaseName>$Target/Property[Type="SQL!Microsoft.SQLServer.Database"]/DatabaseName$</DatabaseName>
<Value>$Data/Property[@Name='DBSizeMB']$</Value>
<Threshold1>-1</Threshold1>
<Threshold2>-1</Threshold2>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>