SSAS 2016: 服务器上的内存使用率(GB)

Microsoft.SQLServer.2016.AnalysisServices.PerformanceRule.Instance.MemoryUsageOnTheServer (Rule)

规则将收集 SSAS 实例所在的服务器上的内存总使用率(GB)。

Knowledge Base article:

摘要

规则将收集 SSAS 实例所在的服务器上的内存总使用率(GB)。

外部

Memory configuration and sizing considerations in SQL Server 2016(SQL Server 2016 中的内存配置和调整大小考虑事项)

针对 Analysis Services 内存属性的 TechNet 文档

针对 SSAS 性能计数器的 TechNet 文档

SSAS 多维性能指南

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流

间隔(秒)

运行工作流的重复间隔时间(秒)。

900

同步时间

使用 24 小时格式指定的同步时间。可以忽略。

 

超时(秒)

指定允许工作流在被关闭并标记为失败之前运行的时间。

300

Element properties:

TargetMicrosoft.SQLServer.2016.AnalysisServices.Instance
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2016.AnalysisServices.DataSource.MemoryUsage Microsoft.SQLServer.MonitoringAccount
Mapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDatabase WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.2016.AnalysisServices.PerformanceRule.Instance.MemoryUsageOnTheServer" Enabled="true" Target="SQLAS!Microsoft.SQLServer.2016.AnalysisServices.Instance" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2016.AnalysisServices.DataSource.MemoryUsage" RunAs="GPMP!Microsoft.SQLServer.MonitoringAccount">
<PrincipalName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</PrincipalName>
<PerformanceCounterObject>$Target/Property[Type='SQLAS!Microsoft.SQLServer.2016.AnalysisServices.Instance']/PerformanceCounterObject$</PerformanceCounterObject>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<ConnectionString>$Target/Property[Type='SQLAS!Microsoft.SQLServer.2016.AnalysisServices.Instance']/ConnectionString$</ConnectionString>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SSAS Instance</ObjectName>
<CounterName>Memory Usage on the Server (GB)</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='UsedPhysicalMemoryGB']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDatabase" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>