SSAS 2014: 清除工具目前價格

Microsoft.SQLServer.2014.AnalysisServices.PerformanceRule.Instance.MemoryCostPerfomance (Rule)

此規則會收集由 SSAS 所計算的記憶體目前成本 (每個時間單位的每個位元組成本),並以標準化方式用 0 到 1000 的刻度表示。

Knowledge Base article:

摘要

此規則會收集由 SSAS 所計算的記憶體目前成本 (每個時間單位的每個位元組成本),並以標準化方式用 0 到 1000 的刻度表示。系統管理員如此即可了解伺服器的行為,像是有關依據此成本目前的預估,執行從快取移除資料的執行緒積極程度。預估的成本較高時,清除工具執行緒會較積極地進行; 而反之,預估的成本較低時,則會較不積極。因此,監視伺服器目前的成本預估,能讓管理員判斷 SSAS 執行個體這一部分的健全狀況。

外部資源

Memory configuration and sizing considerations in SQL Server 2014 (SQL Server 2014 中記憶體組態與設定大小的考量事項)

Analysis Services 記憶體屬性的 TechNet 文件

TechNet article: Analysis Services: Performance Implications of the Architecture (TechNet 文章: Analysis Services: 架構對於效能的隱含意義)

在 Analysis Services 中設定伺服器屬性

SSAS 效能計數器的 TechNet 文件

SSAS Multidimensional Performance Guide (SSAS 多維度效能指南)

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用工作流程

間隔秒數

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

900

同步處理時間

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

 

逾時 (秒)

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

300

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2014.AnalysisServices.DataSource.ScheduledPerfomanceDataProvider Microsoft.SQLServer.2014.AnalysisServices.RunAsProfile.ASMonitoring
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.2014.AnalysisServices.PerformanceRule.Instance.MemoryCostPerfomance" Enabled="true" Target="SQLAS!Microsoft.SQLServer.2014.AnalysisServices.Instance" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2014.AnalysisServices.DataSource.ScheduledPerfomanceDataProvider" RunAs="SQLAS!Microsoft.SQLServer.2014.AnalysisServices.RunAsProfile.ASMonitoring">
<PrincipalName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</PrincipalName>
<PerformanceCounterObjectName>$Target/Property[Type='SQLAS!Microsoft.SQLServer.2014.AnalysisServices.Instance']/PerformanceCounterObject$:Memory</PerformanceCounterObjectName>
<PerformanceCounterName>Cleaner Current Price</PerformanceCounterName>
<PerformanceCounterInstanceName/>
<Divider>1</Divider>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SSAS Instance:Memory</ObjectName>
<CounterName>Cleaner Current Price</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='Cleaner Current Price']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDatabase" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>