CPU 사용률(\%)

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

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

Knowledge Base article:

요약

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

원인

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

해결 방법

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

SQL Server 2012의 성능 문제 해결

http://go.microsoft.com/fwlink/?LinkId=789165

확장 이벤트 세션 만들기

http://go.microsoft.com/fwlink/?LinkId=789187

재정의 가능한 매개 변수

이름

설명

기본값

알림 우선 순위

알림 우선 순위를 정의합니다.

보통

알림 심각도

알림 심각도를 정의합니다.

오류

캐시 만료 시간

캐시에서 워크플로가 사용할 수 있는 정보의 최대 보존 기간을 지정합니다. 생략될 수 있습니다.

43200

사용

워크플로를 사용하거나 사용하지 않도록 설정합니다.

알림 생성

워크플로가 알림을 생성하는지를 정의합니다.

간격(초)

워크플로를 실행하는 반복 시간 간격(초)입니다.

300

샘플 수

매개 변수 임계값 초과 수가 샘플 수보다 크거나 같으면 모니터 상태가 잘못됩니다.

6

동기화 시간

24시간 형식으로 지정된 동기화 시간입니다. 생략될 수 있습니다.

00:06

임계값

임계값

95

제한 시간(초)

워크플로가 닫히고 실패한 항목으로 표시될 때까지 실행이 허용되는 시간을 지정합니다.

200

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.DBEngine.CPUUsagePercentMonitor" Accessibility="Public" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.DBEngine" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.DBEngine.CPUUsagePercent.MonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.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/>
<CacheExpirationTime>43200</CacheExpirationTime>
</Configuration>
</UnitMonitor>