SQL 2012 資料庫使用中要求效能集合規則
SQL 2012 資料庫的使用中要求計數
顯示目前正在 SQL 資料庫內執行的要求計數
您可以在<sys.dm_exec_requests (Transact-SQL)>文件集中找到詳細資訊
http://go.microsoft.com/fwlink/?LinkId=789178
名稱 | 描述 | 預設值 |
已啟用 | 啟用或停用該工作流程。 | 是 |
間隔 (秒) | 執行工作流程的週期性時間間隔 (秒)。 | 900 |
同步處理時間 | 使用 24 小時制指定的同步處理時間。可以予以省略。 | 00:10 |
逾時 (秒) | 指定工作流程在關閉並標記為失敗前所能執行的時間。 | 300 |
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.ActiveRequests.DataSourceMapped | Microsoft.SQLServer.SQLProbeAccount |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SQLServer.2012.Database.ActiveRequests.Collection" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.Database">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.Database.ActiveRequests.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>