MSSQL 2008:收集資料庫磁碟寫入延遲 (毫秒)

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

SQL 2008 資料庫磁碟寫入延遲 (毫秒) 效能集合規則。從主控資料庫檔案的所有邏輯磁碟取得最大寫入磁碟延遲。

Knowledge Base article:

摘要

MSSQL 2008:資料庫磁碟寫入延遲 (毫秒)

SQL 2008 資料庫磁碟寫入延遲 (毫秒) 效能集合規則。從主控資料庫檔案的所有邏輯磁碟取得最大寫入磁碟延遲

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

間隔 (秒)

執行工作流程的週期性時間間隔 (秒)。

300

同步處理時間

使用 24 小時制指定的同步處理時間。可以予以省略。

00:08

逾時 (秒)

指定工作流程在關閉並標記為失敗前所能執行的時間。

200

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2008.Database.DiskWriteLatency.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.DiskWriteLatency.Collection" Enabled="true" Target="SQL2008Core!Microsoft.SQLServer.2008.Database" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.Database.DiskWriteLatency.DataSourceMapped" RunAs="SQL!Microsoft.SQLServer.SQLProbeAccount">
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>200</TimeoutSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>