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.

徵狀

當您在 SQL Server 2019 早期設定鏡像的資料庫上啟用並停用 [資料庫恢復] 時,您會注意到資料庫鏡像無法在該資料庫上重新配置。

Msg 1484、Level 16、State 1、Line LineNumber

由於資料庫已啟用加速資料庫恢復,或保留版本存儲區中仍有版本,因此無法針對資料庫 ' ADR_Mirroring ' 設定資料庫鏡像。 如果停用資料庫恢復功能已停用,請執行 sys.sp_persistent_version_cleanup ' <DatabaseName>」來清理舊版。

注意在資料庫鏡像中註冊的資料庫不支援 ADR。

狀態

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

解決方案

此問題已在下列 SQL Server 累積更新中修正:

關於 SQL Server 的累積更新:

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

因應措施

若要解決此問題,您可以將資料庫狀態變更為 [離線] 和 [線上]。 接著,您就可以 成功地在資料庫上重新設定鏡像。

參考

瞭解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!

×