CPU 使用量 (\%)

Microsoft.SQLServer.2012.AnalysisServices.UnitMonitor.Instance.CpuUsage (UnitMonitor)

如果 SSAS 處理序的 CPU 使用量超過臨界值,此監視器就會發出警示。

Knowledge Base article:

摘要

如果 SSAS 處理序的 CPU 使用量太高,此監視器就會發出警示。

原因

某些電腦的 CPU 太過於忙碌於處理 SSAS 執行個體。

解決方式

評估 SSAS 執行個體處理為何使用如此高的 CPU 設備。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用工作流程

產生警示

定義工作流程是否會產生警示

間隔秒數

執行工作流程的週期性時間間隔 (秒)。

900

範例數

指出測量值在違反臨界值多少次之後,才會變更狀態。

4

同步處理時間

使用 24 小時制指定的同步處理時間。將會忽略。

 

重大臨界值 (%)

如果 SSAS 處理序所造成的 CPU 使用量超過臨界值,此監視器就會發出警示。

95

逾時 (秒)

指定允許工作流程在關閉且標示為失敗之前執行的時間。

300

Element properties:

TargetMicrosoft.SQLServer.2012.AnalysisServices.Instance
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2012.AnalysisServices.MonitorType.Instance.CpuUsage
RemotableTrue
AccessibilityPublic
Alert Message

SSAS 2012: CPU 使用率太高
電腦 "{1}" 上 SSAS 執行個體 "{0}" 的 CPU 使用量太高。請參閱 [警示內容] 索引標籤,以取得詳細資料。
RunAsDefault

Source Code:

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