SSAS 2016: длина очереди заданий пула запросов

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

Правило собирает длину очереди заданий пула запросов.

Knowledge Base article:

Сводка

Правило собирает длину очереди заданий пула запросов.

Внешнее

Документация TechNet по счетчикам производительности SSAS

Руководство по настройке производительности многомерных служб 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.ScheduledPerfomanceDataProvider 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.QueryPoolQueueLength" 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.ScheduledPerfomanceDataProvider" RunAs="GPMP!Microsoft.SQLServer.MonitoringAccount">
<PrincipalName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</PrincipalName>
<PerformanceCounterObjectName>$Target/Property[Type='SQLAS!Microsoft.SQLServer.2016.AnalysisServices.Instance']/PerformanceCounterObject$:Threads</PerformanceCounterObjectName>
<PerformanceCounterName>Query pool job queue length</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:Threads</ObjectName>
<CounterName>Query pool job queue length</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='Query pool job queue length']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDatabase" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>