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.

徵狀

假設您要將資料庫檔案儲存在 Azure Premium 儲存空間中。 當您在 SQL Server 2014 的資料庫上執行 DBCC CHECKDB 時,可能會收到如下所示的錯誤訊息:

Msg 1823、Level 16、State 2、Line 3A 資料庫快照無法建立,因為它無法啟動。Msg 1823、Level 16、State 8、Line 3A 資料庫快照無法建立,因為它無法啟動。Msg 5120、Level 16、State 147、Line 3Unable 以開啟物理檔案 blob_storage_URL_path。 作業系統錯誤24: "24" (程式發出命令,但命令長度不正確)。Msg 7928、Level 16、State 1、無法建立線上檢查的資料行3The 資料庫快照。 原因是在先前的錯誤中提供,或其中一個基礎卷不支援稀疏檔案或替代資料流程。 嘗試取得獨佔存取權,以離線方式執行檢查。Msg 5030、Level 16、State 12、Line 3The 資料庫無法以獨佔方式鎖定來執行該作業。Msg 7926、Level 16、State 1、Line 3Check 語句已中止。 無法檢查資料庫,因為無法建立資料庫快照,且無法鎖定資料庫或資料表。 如需此行為的詳細資料,以及存在哪些因應措施,請參閱線上叢書。 另請參閱先前的錯誤以取得詳細資料。

解決方案

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

Sql server 2014 的累積更新 8 Service Pack 1 累積更新2(適用于 SQL server 2014 SP2

每個新的 SQL Server 累計更新都包含所有的修正程式,以及前一個累積更新中所包含的所有安全性修正程式。 查看 SQL Server 的最新累計更新:

SQL Server 2014 SP1/SP2 的最新累計更新

狀態

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

參考

針對 Azure 儲存空間上的資料檔案的 Premium 儲存支援在 azure Blob 儲存空間上使用 SQLXI 直接建立 SQL Server 2014 資料庫瞭解 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!

×