頁面確認組態

Microsoft.SQLServer.2012.Database.Configuration.TornPageDetection (UnitMonitor)

監視資料庫的頁面確認設定。

Knowledge Base article:

摘要

此監視器會檢查此資料庫的 [頁面確認] 設定。由於此監視為整體標準需求的一部分,所以如果 [頁面確認] 設定不符合指定的標準,便會產生警示。

組態

頁面確認設定會探索因 I/O 路徑錯誤造成的損毀資料庫頁面。磁碟 I/O 路徑錯誤可能是資料庫損毀問題的原因,這通常是因為電源故障或頁面寫入磁碟時磁碟硬體故障所造成。

PAGE_VERIFY {CHECKSUM | TORN_PAGE_DETECTION | NONE}

原因

如果 [頁面確認] 選項不符合必要的設定,便會引發警告警示。根據預設,當此設定不是 "CHECKSUM" 時,監視器會設定為產生警示。

解決方式

請按照下列方式解決此問題:

或者,如果此監視與這個資料庫無關:

外部資源

如需這項設定的詳細資訊,請參閱: ALTER DATABASE SET 選項 (Transact-SQL)

可覆寫的參數

名稱

描述

預設值

警示優先程式

定義警示優先順序。

一般

警示嚴重性

定義警示嚴重性。

警告

停用 SQL Express 檢查

啟用或停用檢查 SQL Express 版本。

已啟用

啟用或停用該工作流程。

需要的值

若要檢視可能的值組,請參閱此監視知識中的<組態>一節。

總和檢查碼

產生警示

定義工作流程是否會產生警示。

間隔 (秒)

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

43200

逾時 (秒)

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

300

Element properties:

TargetMicrosoft.SQLServer.2012.Database
Parent MonitorMicrosoft.SQLServer.2012.Database.RecoveryConfiguration
CategoryConfigurationHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2012.DBConfigurationStatus
RemotableTrue
AccessibilityPublic
Alert Message
頁面確認組態錯誤
電腦 "{2}" 上 SQL 執行個體 "{1}" 中資料庫 "{0}" 的頁面確認設定未依照最佳作法設定。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.Database.Configuration.TornPageDetection" Accessibility="Public" Enabled="false" Target="SQL2012Core!Microsoft.SQLServer.2012.Database" ParentMonitorID="Microsoft.SQLServer.2012.Database.RecoveryConfiguration" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.DBConfigurationStatus" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.Database.Configuration.TornPageDetection.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SQL!Microsoft.SQLServer.Database"]/DatabaseName$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</AlertParameter2>
<AlertParameter3>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConfigurationValueOK" MonitorTypeStateID="ConfigurationValueOK" HealthState="Success"/>
<OperationalState ID="ConfigurationValueNotOK" MonitorTypeStateID="ConfigurationValueNotOK" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ConnectionString>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ConnectionString$</ConnectionString>
<DatabaseName>$Target/Property[Type="SQL!Microsoft.SQLServer.Database"]/DatabaseName$</DatabaseName>
<IntervalSeconds>43200</IntervalSeconds>
<SyncTime/>
<ConfigValue>PageVerify</ConfigValue>
<ExpectedValue>CHECKSUM</ExpectedValue>
<ExcludeOnExpress>false</ExcludeOnExpress>
<SQLSKU>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/Edition$</SQLSKU>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>