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 實例中有啟用 FILESTREAM 的資料庫。 當您啟動事務並使用 SqlFileStream .NET API 開啟 Filestream 檔案時,任務可能會失敗並由於外部因素而引發例外狀況。

如果您在同一份事務中使用 SqlFileStream 再次開啟檔案並進行確認,您可能會收到如下所示的內部錯誤訊息:

日期時間spid、未知、錯誤: 5571<c/> 嚴重性: 23<c/> 狀態:3。日期時間spid、未知、內部 FILESTREAM 錯誤:無法存取垃圾收集資料表。

如果您執行 dbcc checktable ("sys.filestream_tombstone_2073058421"),您可能會收到下列錯誤訊息:

Msg 8951、Level 16、State 1、Line LineNumber

表格錯誤:資料表 dbcc checktable ("sys.filestream_tombstone_2073058421")   (ID IDNumber)。 [資料列] 的索引 "FSTSNCIdx" (IDIDNumber)中沒有相符的索引列。 對於符合下列條件的索引列而言,可能遺失或不正確按鍵:

解決方案

此問題的修正套裝程式含在下列 SQL Server 更新中:

針對 SQL Server 2017 累計更新13         

SQL Server 2014 的累積更新 1 Service Pack 3

SQL Server 2014 累積更新15(Service Pack 2)

關於 SQL Server 組建

每個新組建的 SQL Server 都包含先前組建中的所有修復程式和安全性修正程式。 我們建議您安裝適用于您的 SQL Server 版本的最新組建:

SQL Server 2017 組建版本

SQL Server 2014 組建版本

因應措施

若要解決此問題,請使用 DBCC CHECKTABLE 命令重新建立資料庫索引。

狀態

Microsoft 已確認本篇文章<適用於>一節所列之 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!

×