MSSQL 2016: 信用不足等待数/秒

Microsoft.SQLServer.2016.CollectionRule.DBEngine.XTPInsufficientCreditsWaitsSec (Rule)

为 XTP IO 频率调控器收集 Windows“信用不足等待数/秒”性能计数器。
请注意,仅对支持内存优化数据的 SQL 版本(64 位企业版、开发人员版或评估版)启用此规则。

Knowledge Base article:

摘要

规则将为 XTP IO 频率调控器收集 Windows“信用不足等待数/秒”性能计数器。

XTP IO 调控器性能对象包含与 XTP IO 频率调控器相关的计数器。

信用不足等待数/秒 - 速率对象中由于信用不足而导致的等待数(每秒)。

请注意,仅对支持内存优化数据的 SQL 版本(64 位企业版、开发人员版或评估版)启用此规则。

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流。

频率(秒)

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

900

Element properties:

TargetMicrosoft.SQLServer.2016.DBEngine
CategoryPerformanceCollection
EnabledFalse
Instance NameSQL Server 2016 XTP IO Governor
Counter NameInsufficient Credits Waits/sec
Frequency900
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.DataProvider Default
PerfMapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.2016.CollectionRule.DBEngine.XTPInsufficientCreditsWaitsSec" Target="SQL2016Core!Microsoft.SQLServer.2016.DBEngine" Enabled="false">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemPerf!System.Performance.DataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Insufficient Credits Waits/sec</CounterName>
<ObjectName>SQL Server 2016 XTP IO Governor</ObjectName>
<InstanceName>$Target/Property[Type="SQL2016Core!Microsoft.SQLServer.2016.ServerRole"]/InstanceName$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
</DataSource>
</DataSources>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SQL DB Engine:SQL Server 2016 XTP IO Governor</ObjectName>
<CounterName>$Data/CounterName$</CounterName>
<InstanceName/>
<Value>$Data/Value$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>