MSSQL 2016: 数据库引擎盗用的服务器内存(MB)

Microsoft.SQLServer.2016.DBEngine.StolenServerMemory.Collection (Rule)

SQL 2016 数据库引擎盗用的服务器内存(MB)性能收集规则

Knowledge Base article:

摘要

MSSQL 2016: 数据库引擎盗用的服务器内存(MB)

内存中用于其他服务器用途(包括过程缓存)的页数。

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流。

间隔(秒)

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

900

同步时间

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

00:24

超时(秒)

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

300

Element properties:

TargetMicrosoft.SQLServer.2016.DBEngine
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2016.DBEngine.StolenServerMemory.DataSourceMBMapped Microsoft.SQLServer.MonitoringAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.2016.DBEngine.StolenServerMemory.Collection" Enabled="true" Target="SQL2016Core!Microsoft.SQLServer.2016.DBEngine" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2016.DBEngine.StolenServerMemory.DataSourceMBMapped" RunAs="GPMP!Microsoft.SQLServer.MonitoringAccount">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>