掃描過程中遇到兩次頁面 P_ID。
每種狀態的資訊:
狀態 1:頁面來自 B 型樹狀目錄、頁面是 IAM 頁或是堆積中的資料頁,記錄被讀取了兩次。
狀態 3:頁面是文字頁,文字節點被讀取兩次。
硬體失敗
請執行硬體診斷並更正所有問題,另請檢查 Microsoft Windows NT 系統與應用程式記錄檔,以及 SQL Server 錯誤記錄檔,確定是否因硬體失敗而導致此錯誤。修正所有硬體相關問題。
如果持續發生資料不一致問題,請嘗試更換其他硬體元件,以找出問題所在。檢查系統未在磁碟控制卡上啟用寫入快取。如果懷疑此原因造成問題,請連絡硬體廠商。
最後您可能會發現切換至全新硬體系統會很有幫助,包括重新格式化磁碟機,以及重新安裝作業系統。
從備份還原
如果問題與硬體無關,而且確定有未受影響的備份可以使用,請利用該備份來還原資料庫。
DBCC CHECKDB
如果沒有完好的備份可用,請執行不含修復子句的 DBCC CHECKDB,以確定損毀程度。DBCC CHECKDB 將會建議要使用的修復子句。然後,執行含有適當修復子句的 DBCC CHECKDB 來修復損毀。
注意:如果不確定含有修復子句的 DBCC CHECKDB 會對資料產生何種影響,請在執行此陳述式之前,先連絡您的主要支援提供者。
如果執行含有其中一種修復子句的 DBCC CHECKDB 仍無法更正問題,請連絡您的主要支援提供者。
Target | Microsoft.SQLServer.2012.DBEngine | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 8973 | ||
Event Source | $Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$ | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Application | ||
Comment | Mom2012ID='{10E83A76-CF75-43FE-B3F9-1CE37A0226AE}';MOM2012GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74} |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ | DataSource | Microsoft.Windows.EventProvider | Microsoft.SQLServer.SQLDefaultAccount |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SQLServer.2012.CHECKTABLE_processing_of_object_encountered_page_twice._Possible_internal_error_or_allocation_fault_1_5_Rule" Target="SQL2012Core!Microsoft.SQLServer.2012.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2012ID='{10E83A76-CF75-43FE-B3F9-1CE37A0226AE}';MOM2012GroupID={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" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<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="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>8973</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.2012.CHECKTABLE_processing_of_object_encountered_page_twice._Possible_internal_error_or_allocation_fault_1_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>