SQL 2008 DB 활성 세션 성능 수집 규칙
SQL 2008 DB의 활성 세션 수
활성 세션 메트릭에는 데이터베이스에 대한 외부 클라이언트 연결 및 내부 시스템 연결 합계가 표시됩니다. 이 메트릭이 매우 높으면, 연결된 클라이언트에 성능 관련 문제가 발생할 수 있으며, 다른 연결되지 않은 클라이언트에서도 데이터베이스에 액세스하는 데 문제가 있을 수 있습니다.
sys.dm_exec_sessions(Transact-SQL) 설명서에서 보다 자세한 정보를 확인할 수 있습니다.
http://msdn.microsoft.com/ko-kr/library/ms176013(v=sql.100).aspx
Target | Microsoft.SQLServer.2008.Database |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SQLServer.2008.Database.ActiveSessions.DataSourceMapped | Microsoft.SQLServer.SQLProbeAccount |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SQLServer.2008.Database.ActiveSessions.Collection" Enabled="true" Target="SQL2008Core!Microsoft.SQLServer.2008.Database">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.Database.ActiveSessions.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>