MSSQL 2016: 未完成的 MtLog 4K IO 数

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

为 SQL 2016 数据库引擎收集 Windows“未完成的 MtLog 4K IO 数”性能计数器。
请注意,仅对支持内存优化数据的 SQL 版本(64 位企业版、开发人员版或评估版)启用此规则。

Knowledge Base article:

摘要

规则将为 SQL 2016 数据库引擎收集 Windows“未完成的 MtLog 4K IO 数”性能计数器。

XTP 数据库特定计数器。

未完成的 MtLog 4K IO 数 - MtLog 发出的未完成 4K IO 请求数。

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

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流。

频率(秒)

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

900

Element properties:

TargetMicrosoft.SQLServer.2016.DBEngine
CategoryPerformanceCollection
EnabledTrue
Instance NameSQL Server 2016 XTP Databases
Counter NameMtLog 4K IOs Outstanding
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.XTPMtlog4KIosOutstanding" Target="SQL2016Core!Microsoft.SQLServer.2016.DBEngine" Enabled="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemPerf!System.Performance.DataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>MtLog 4K IOs Outstanding</CounterName>
<ObjectName>SQL Server 2016 XTP Databases</ObjectName>
<InstanceName>_Total</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 Databases</ObjectName>
<CounterName>$Data/CounterName$</CounterName>
<InstanceName>$Data/InstanceName$</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>