MSSQL 2008: DB 활성 연결 수 수집

Microsoft.SQLServer.2008.Database.ActiveConnections.Collection (Rule)

SQL 2008 DB 활성 연결 성능 수집 규칙

Knowledge Base article:

요약

SQL 2008 DB의 활성 연결 수

연결을 통해 클라이언트는 데이터 쿼리 및 조작을 위해 데이터베이스와 통신할 수 있습니다. 하나의 데이터베이스 클라이언트는 여러 개의 연결을 가질 수 있습니다.

활성 연결 메트릭은 데이터베이스 외부 연결 수를 보여줍니다. 이 메트릭이 매우 높으면, 연결된 클라이언트에 성능 관련 문제가 발생할 수 있으며, 다른 연결되지 않은 클라이언트에서도 데이터베이스에 액세스하는 데 문제가 있을 수 있습니다.

Element properties:

TargetMicrosoft.SQLServer.2008.Database
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2008.Database.ActiveConnections.DataSourceMapped Microsoft.SQLServer.SQLProbeAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.2008.Database.ActiveConnections.Collection" Enabled="true" Target="SQL2008Core!Microsoft.SQLServer.2008.Database">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.Database.ActiveConnections.DataSourceMapped" RunAs="SQL!Microsoft.SQLServer.SQLProbeAccount">
<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>