DB 檔案的效能

Microsoft.SQLServer.Linux.Rollup.DBFilegroup.DBFileToDBFilegroupPerformance (DependencyMonitor)

將所有 DB 檔案的效能監視器彙總到資料庫檔案群組。

Knowledge Base article:

摘要

這個監視器是針對裝載於此 DB 檔案群組上所有資料庫檔案的效能監視彙總。如果狀態為未知,表示監視尚未初始化。

原因

此監視器的不健全狀態表示裝載於此 DB 檔案群組上的資料庫檔案有效能問題。請使用下列連結,檢視這個 DB 檔案群組目前的所有警示:

檢視警示

解決方式

您可以使用健康狀態總管向下切入尋找狀況不良的原因。使用您對導致問題之特定監視的知識,疑難排解問題並加以修正。

可覆寫的參數

名稱

描述

預設值

警示優先順序

定義警示優先順序。

標準

警示嚴重性

定義警示嚴重性。

MatchMonitorHealth

Enabled

Enables or disables the workflow.

Yes

Generates Alerts

Defines whether the workflow generates an Alert.

Yes

Element properties:

TargetMicrosoft.SQLServer.Linux.DBFilegroup
Parent MonitorSystem.Health.PerformanceState
AlgorithmBestOf
Source MonitorSystem.Health.PerformanceState
RelationshipMicrosoft.SQLServer.Linux.DBFilegroupHostsDBFile
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
Linux 上的 MSSQL: 檔案群組的空間即將用盡
電腦 "{3}" 上 SQL 執行個體 "{2}" 中資料庫 "{1}" 的檔案群組 "{0}",即將用盡空間。如需詳細資料,請參閱<知識>一節。

Source Code:

<DependencyMonitor ID="Microsoft.SQLServer.Linux.Rollup.DBFilegroup.DBFileToDBFilegroupPerformance" Target="SqlDiscL!Microsoft.SQLServer.Linux.DBFilegroup" ParentMonitorID="Health!System.Health.PerformanceState" RelationshipType="SqlDiscL!Microsoft.SQLServer.Linux.DBFilegroupHostsDBFile" MemberMonitor="Health!System.Health.PerformanceState" Accessibility="Public" Enabled="true" Remotable="true" Priority="Normal">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.Linux.Rollup.DBFilegroup.DBFileToDBFilegroupPerformance.AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.DBEngine"]/MachineName$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.DBEngine"]/InstanceName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.Filegroup"]/GroupName$</AlertParameter3>
<AlertParameter4>$Target/Host/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.Database"]/DatabaseName$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<Algorithm>BestOf</Algorithm>
<MemberUnAvailable>Error</MemberUnAvailable>
</DependencyMonitor>