CPU 사용률(\%)

Microsoft.SQLServer.2008.DBEngine.CPUUsagePercentMonitor (UnitMonitor)

2008 DB 엔진의 CPU 사용률(\%)

Knowledge Base article:

요약

SQL Server의 프로세스 스레드에서 작업을 수행하는 데 실제로 소비된 프로세서 시간에 대한 측정값을 제공합니다.

원인

모든 할당된 CPU는 SQL Server 태스크를 처리하는 데 사용됩니다.

해결 방법

성능 모니터 SQL Server 카운터 및 DMV 관련 성능(예: sys.dm_exec_query_stats)을 사용해서 SQL Server의 CPU 사용 비율이 높은 이유를 평가합니다.

SQL Server 2008의 성능 문제 해결

http://technet.microsoft.com/ko-kr/library/dd672789(v=sql.100).aspx

SQL Server 확장 이벤트 소개

http://technet.microsoft.com/ko-kr/library/bb630354(v=sql.105).aspx

Element properties:

TargetMicrosoft.SQLServer.2008.DBEngine
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2008.DBEngine.CPUUsagePercent.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
SQL DB 엔진 2008 CPU 사용률(\%)이 너무 높습니다.
"{1}" 컴퓨터에서 SQL 인스턴스 "{0}"의 CPU 사용률이 너무 높습니다. 자세한 내용은 "경고 컨텍스트" 탭을 참조하십시오.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2008.DBEngine.CPUUsagePercentMonitor" Accessibility="Public" Enabled="true" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2008.DBEngine.CPUUsagePercent.MonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2008.DBEngine.CPUUsagePercentMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Normal" MonitorTypeStateID="Normal" HealthState="Success"/>
<OperationalState ID="Error" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>200</TimeoutSeconds>
<Threshold>95</Threshold>
<NumSamples>6</NumSamples>
<SyncTime/>
</Configuration>
</UnitMonitor>