MSSQL 2016: 資料表錯誤: 未出現在掃描中的頁面,參考了頁面中的 text、ntext 或 image 節點

Microsoft.SQLServer.2016.Table_error__The_text_ntext_or_image_node_at_page__is_referenced_by_page_not_seen_in_the_scan_1_5_Rule (Rule)

任何堆積或叢集索引中的任何複雜資料行都未參考該文字節點。該文字節點實際上為孤立。

Knowledge Base article:

原因

任何堆積或叢集索引中的任何複雜資料行都未參考該文字節點。該文字節點實際上為孤立。

解決方法

硬體失敗

請執行硬體診斷並更正所有問題,另請檢查 Microsoft Windows NT 系統與應用程式記錄檔以及 SQL Server 錯誤記錄檔,確定是否因硬體故障而導致此錯誤。請修正所有硬體相關問題。

如果持續發生資料毀損問題,請嘗試更換其他硬體元件,以找出問題所在。請檢查以確定系統未在磁碟控制卡上啟用寫入快取。如果懷疑此原因造成問題,請連絡硬體廠商。

最後,您可能會發現切換至全新硬體系統會很有幫助,包括重新格式化磁碟機,以及重新安裝作業系統。

從備份還原

如果問題與硬體無關,而且確定有完好的備份可供使用,請利用該備份來還原資料庫。

DBCC CHECKDB

如果沒有完好的備份可供使用,請執行不含修復子句的 DBCC CHECKDB,以確定損毀程度。DBCC CHECKDB 將會建議要使用的修復子句。然後,執行含有適當修復子句的 DBCC CHECKDB 來修復損毀。

注意: 如果您不確定 DBCC CHECKDB 及 repair 子句對您的資料有什麼效果,請先連絡主要支援提供者再執行此陳述式。

注意: 此修復可能會導致資料遺失。

如果執行含有其中一種修復子句的 DBCC CHECKDB 仍無法更正問題,請連絡您的主要支援提供者。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

優先順序

定義警示優先順序。

1

嚴重性

定義警示嚴重性。

1

Element properties:

TargetMicrosoft.SQLServer.2016.DBEngine
CategoryEventCollection
EnabledTrue
Event_ID8965
Event Source$Target/Property[Type="SQL2016Core!Microsoft.SQLServer.2016.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
MSSQL 2016: 資料表錯誤: 未出現在掃描中的頁面,參考了頁面中的 text、ntext 或 image 節點
{0}
Event LogApplication
CommentMom2016ID='{90DA7460-1E44-44E5-ADF7-E9EE37609690}';MOM2016GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

ID Module Type TypeId RunAs 
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2016.Table_error__The_text_ntext_or_image_node_at_page__is_referenced_by_page_not_seen_in_the_scan_1_5_Rule" Target="SQL2016Core!Microsoft.SQLServer.2016.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2016ID='{90DA7460-1E44-44E5-ADF7-E9EE37609690}';MOM2016GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL2016Core!Microsoft.SQLServer.2016.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>8965</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2016.Table_error__The_text_ntext_or_image_node_at_page__is_referenced_by_page_not_seen_in_the_scan_1_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>Event ID: $Data/EventDisplayNumber$. $Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>