Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

假設您有一個在 Microsoft SQL Server 2014 或 SQL Server 2012 中包含已分區資料表的資料庫。 該表的分區會對應至不同的檔組,而某些檔組對應則是不正確。 當您執行 DBCC CHECKDB 語句時,會偵測到不正確檔組,並在結果中報告:

無法處理 table <TableName> 的索引 <IndexName>,因為 filegroup (filegroup ID <FileGroupNumber>)無效。

不過,[摘要] 區段不會報告任何分攤或一致性錯誤。

解決方案

此問題首先是在 SQL Server 的下列累積更新中修正:

每個新的 SQL Server 累計更新都包含所有的修正程式,以及前一個累積更新中所包含的所有安全性修正程式。 我們建議您下載並安裝最新的 SQL Server 累積更新:

注意這個修正程式只會修正 DBCC CHECKDB 報告 行為,以便在 DBCC checkdb 摘要中報告不正確檔組,就是一致性錯誤。 修正程式無法修正不正確檔組或一致性錯誤,建議您從上次已知完好的備份還原資料庫,以修正損壞問題。

狀態

Microsoft 已確認<適用於>一節所列的 Microsoft 產品確實有上述問題。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×