處理集區 I/O 工作佇列長度

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

SSAS 執行個體的處理集區 I/O 工作佇列長度大於設定的臨界值時,此監視器會發出警示。

Knowledge Base article:

摘要

處理集區 I/O 工作佇列大小超出設定的臨界值時,此監視器會發出警示。佇列可能會指出因為等待集區中可用執行緒而未執行一些要求,即使作業本身可能快速執行並傳回。I/O 工作集區的佇列處理,指出伺服器出現 I/O 瓶頸。

原因

處理集區中的可用執行緒,可能會因數個原因而耗盡,包括影響集區的伺服器設定不正確,或者,使用者或執行個體上排定工作的需求異常的高。執行使用者查詢以及處理工作的執行緒,都是從處理集區中進行配置,因此,大量的工作量可能會增加導致此狀況的壓力。

解決方式

解決此警示需要管理員了解及考慮數項因素,包括但不限於工作量需求、使用者和作業排程、伺服器電腦上的其他排定程序,以及可用資源。處理集區 I/O 工作佇列大小超出設定的臨界值時,用來補救此狀況的動作可包括下列任一動作:

外部資源

在 Analysis Services 中設定伺服器屬性

SSAS 效能計數器的 TechNet 文件

SSAS 多維度效能指南

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用工作流程

True

產生警示

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

True

間隔秒數

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

900

範例數

如果違反臨界值次數大於或等於 [違反數目下限],則 [健全狀況狀態] 會變更。

4

同步處理時間

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

 

警告臨界值

Analysis Services 效能計數器超出臨界值時,[健全狀況狀態] 會變更。

0

Element properties:

TargetMicrosoft.SQLServer.2012.AnalysisServices.Instance
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2012.AnalysisServices.MonitorType.Instance.CommonPerformanceData
RemotableTrue
AccessibilityPublic
Alert Message
SSAS 2012: 已超出處理集區 I/O 工作佇列長度。
電腦 {0} 上 SSAS 執行個體 {1} 的處理集區 I/O 工作佇列長度超出設定的臨界值。
目前的工作佇列長度: {2}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.AnalysisServices.UnitMonitor.Instance.ProcessingPoolIOJobQueueLength" Accessibility="Public" Enabled="true" Remotable="true" Priority="Normal" Target="SQLAS!Microsoft.SQLServer.2012.AnalysisServices.Instance" TypeID="Microsoft.SQLServer.2012.AnalysisServices.MonitorType.Instance.CommonPerformanceData" ParentMonitorID="SystemHealth!System.Health.PerformanceState" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.AnalysisServices.UnitMonitor.Instance.ProcessingPoolIOJobQueueLength.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="SQLAS!Microsoft.SQLServer.2012.AnalysisServices.ServerRole"]/InstanceName$</AlertParameter2>
<AlertParameter3>$Data/Context/Value$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<PerformanceCounterName>Processing pool I/O job queue length</PerformanceCounterName>
<CounterName>Processing pool I/O job queue length</CounterName>
<Threshold>0</Threshold>
<SampleCount>4</SampleCount>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</Configuration>
</UnitMonitor>