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.

摘要

[統計資料 XML] 是調試查詢問題的最廣泛使用的支援功能之一。 如果您設定「統計資料 XML」,並執行查詢,引擎會在查詢執行結束時,產生含有運算子層統計資料的顯示計畫 XML (例如列計數與 CPU 時間)。 不過,成功執行查詢會限制其使用的需求。 例如,您可能無法取得長時間執行查詢的顯示計畫 XML 的結果,或是針對沒有完成,因而傳回錯誤的查詢。現在提供新的動態管理函式(DMF), sys.dm_exec_query_statistics_xml。 這個 DMF 可以使用暫時統計資料來檢索顯示計畫 XML。 例如,您現在可以使用這個 DMF,在查詢執行時取得查詢的計畫。

其他相關資訊

新的 DMF 功能包含在 SQL Server 2016 的Service Pack 1 中。

每個新組建的 SQL Server 2016 包含所有的修復程式,以及先前組建中所包含的所有安全性修正程式。 我們建議您安裝 SQL Server 2016 的最新組建

參考

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

×