資料表錯誤:分頁配置給分頁標頭中找到的不同物件:已被取代

Microsoft.SQLServer.2008.Table_error__Page_is_allocated_to_different_object_found_in_page_header_1_5_Rule (Rule)

Knowledge Base article:

原因

DBCC CHECKALLOC 陳述式偵測到配置結構 (範圍) 與 sysindexes 之間的物件識別碼不相符。

<P id=Alert_Note>

注意 DBCC CHECKALLOC 偶爾也會在沒有真的錯誤條件時報告此錯誤。如果懷疑 2535 錯誤不正確,請在單一使用者模式下執行 DBCC CHECKALLOC。

解決方式

檢查與訊息中頁碼相關的索引識別碼,以判定是資料表資料出錯,還是索引出錯。

還原資料庫:

如果物件識別碼小於或等於 100,表示系統資料表出錯。從完好備份還原資料庫。

如果物件識別碼大於 100,表示使用者資料表出錯。

如果是資料表資料 (索引識別碼 = 1) 出錯,請從完好備份還原資料庫。

如果是索引出錯,通常透過卸除並重新建立索引可解決此問題。如果卸除並重新建立索引不可行,或如果無法卸除索引,請連絡您的主要支援提供者以取得協助。

如果問題仍然存在,請連絡您的主要支援提供者以取得協助。請提供適當 DBCC 陳述式的輸出以便檢閱。

Element properties:

TargetMicrosoft.SQLServer.2008.DBEngine
CategoryEventCollection
EnabledFalse
Event_ID2535
Event Source$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
資料表錯誤:分頁配置給分頁標頭中找到的不同物件
{0}
Event LogApplication
CommentMom2008ID='{C82D65E0-C8A4-4CFD-B925-5F53C44E2B7E}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SQLServer.2008.Table_error__Page_is_allocated_to_different_object_found_in_page_header_1_5_Rule" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" Enabled="false" ConfirmDelivery="true" Remotable="true" Comment="Mom2008ID='{C82D65E0-C8A4-4CFD-B925-5F53C44E2B7E}';MOM2008GroupID={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>2535</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.2008.Table_error__Page_is_allocated_to_different_object_found_in_page_header_1_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>