TotalMemoryLimit 組態監視器類型

Microsoft.SQLServer.2012.AnalysisServices.MonitorType.Instance.TotalMemoryConfiguration (UnitMonitorType)

TotalMemoryLimit 組態監視器類型 - Analysis Services

Element properties:

RunAsMicrosoft.SQLServer.2012.AnalysisServices.RunAsProfile.ASMonitoring
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.AnalysisServices.DataSource.MemoryUsage Default
CDConfigured ConditionDetection System.ExpressionFilter Default
CDNotConfigured ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Thresholddouble$Config/Threshold$警告臨界值 (GB)為 SSAS 執行個體所設定的 TotalMemoryLimit 超出設定的臨界值 (作業系統執行必要基本功能所需實體記憶體的風險配置) (至少 2 GB) 時,此監視器會發出警示。
IntervalSecondsint$Config/IntervalSeconds$間隔秒數執行工作流程的週期性時間間隔 (秒)。
SyncTimestring$Config/SyncTime$同步處理時間使用 24 小時制指定的同步處理時間。將會忽略。

Source Code:

<UnitMonitorType ID="Microsoft.SQLServer.2012.AnalysisServices.MonitorType.Instance.TotalMemoryConfiguration" Accessibility="Internal" RunAs="SQLAS!Microsoft.SQLServer.2012.AnalysisServices.RunAsProfile.ASMonitoring">
<MonitorTypeStates>
<MonitorTypeState ID="NotConfigured" NoDetection="false"/>
<MonitorTypeState ID="Configured" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Threshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Threshold" ParameterType="double" Selector="$Config/Threshold$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.AnalysisServices.DataSource.MemoryUsage">
<PrincipalName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</PrincipalName>
<PerformanceCounterObject>$Target/Property[Type='SQLAS!Microsoft.SQLServer.2012.AnalysisServices.Instance']/PerformanceCounterObject$</PerformanceCounterObject>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<ConnectionString>$Target/Property[Type='SQLAS!Microsoft.SQLServer.2012.AnalysisServices.Instance']/ConnectionString$</ConnectionString>
</DataSource>
<ConditionDetection ID="CDNotConfigured" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='MemoryLeavesForOsGB']</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDConfigured" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='MemoryLeavesForOsGB']</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Configured">
<Node ID="CDConfigured">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="NotConfigured">
<Node ID="CDNotConfigured">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>