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 2016 和2017。

  • 您使用rpc_startingrpc_completedRpc:啟動rpc:已完成審核架構物件存取 sql server Extended 事件或 SQL server Profiler來追蹤rpc事件。

  • 您使用的遠端程式呼叫包含許多資料列的資料表值參數(TVP)。

在這種情況下,可能會發生太多記憶體使用量,且伺服器效能可能會降低。如果您問uery DMV sys.dm_os_memory_clerks ,您會注意到 OBJECTSTORE_LBSS 員有許多記憶體分配與不在進行中的 RPC 追蹤集合中。

解決方案

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

          針對 SQL Server 2017 累計更新13

SQL Server 2017 累計更新12

SQL Server 2016 SP2 累積更新4

注意:

  • 套用此更新之後,修正程式會限制每個事件中 TVP 的追蹤列數。T這表示某個追蹤事件可能不會包含 TVP 中的所有列。

  • 針對在已修正 TVP 捕獲時 SQL Server 記憶體不足的另一個修正問題,請參閱KB 4051359

關於 SQL Server 組建

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

SQL Server 2017 組建版本

SQL Server 2016 的最新累計更新

狀態

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!

×