MSSQL 2012: DB 엔진 스레드 수 수집

Microsoft.SQLServer.2012.DBEngine.ThreadCount.Collection (Rule)

SQL 2012 DB 엔진 스레드 수 성능 수집 규칙

Knowledge Base article:

요약

MSSQL 2012: DB 엔진 스레드 수

이 프로세스에서 현재 활성 상태인 스레드 수입니다. 명령은 프로세서의 기본 실행 단위이며, 스레드는 명령을 실행하는 개체입니다. 모든 실행 중인 프로세스에는 하나 이상의 스레드가 포함됩니다.

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.DBEngine.ThreadCount.DataSourceMapped Microsoft.SQLServer.SQLProbeAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.2012.DBEngine.ThreadCount.Collection" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.DBEngine" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.DBEngine.ThreadCount.DataSourceMapped" RunAs="SQL!Microsoft.SQLServer.SQLProbeAccount">
<ServiceName>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</ServiceName>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>200</TimeoutSeconds>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>