SQL 2012 DB のアクティブな接続のパフォーマンスの収集ルール
SQL 2012 DB のアクティブな接続数
接続は、データのクエリと処理を実行するためにクライアントとデータベースとの通信を許可する機能です。1 つのデータベース クライアントで、複数の接続が行われる場合があります。
アクティブな接続数メトリックはデータベースの外部接続数を示します。このメトリックが非常に高い場合は、接続されているクライアントではパフォーマンスの問題が発生し、接続されていないクライアントではデータベースへのアクセスに関する問題が発生している可能性があります。
Target | Microsoft.SQLServer.2012.Database |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SQLServer.2012.Database.ActiveConnections.DataSourceMapped | Microsoft.SQLServer.SQLProbeAccount |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SQLServer.2012.Database.ActiveConnections.Collection" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.Database">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.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>