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.

徵狀

累積更新 3 用於 Microsoft SQL Server 2012 Service Pack 1 至 sql SERVER 或 sql server 2014 後,sql server 效能可能會變慢,可能會發生記憶體洩漏。如果您在發生這個問題時執行下列查詢,您會看到 [ MEM MB ] 值與 [ 列計數 ] 值會隨著 MEMOBJ_COMPILE_ADHOC 記憶體物件而增加:

select type, sum(pages_in_bytes)/1024.0/1024.00 'Mem in MB', count (*) 'row count' from sys.dm_os_memory_objectswhere type like '%MEMOBJ_COMPILE_ADHOC%'group by type

注意事項

  • DBCC FREEPROCCACHE命令無法協助縮小Mem 的 MB值。

  • 這個問題只會在您執行許多 sp_prepare 程式來準備參數化 transact-sql 語句時發生。

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

狀態

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!

×