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.

徵狀

如果在相同的雜湊桶中出現太多並行插入,或 ad hoc SQL Server 方案快取達到其專案限制160036,就會發生 SOS_CACHESTORE spinlock 的嚴重爭用情況。 在這種情況下,Microsoft SQL Server 中會發生較高的 CPU 使用量。

原因

當 SQL Server 方案快取達到其進入限制時,就會發生此問題,而且必須移回具有低成本的方案,才能插入新方案。 這會對 SOS_CACHESTORE spinlock 產生繁重的爭用,為 SQL Server 方案快取的雜湊表桶提供同步處理。

解決方案

累積更新資訊

此問題最初是在 SQL Server 的後續累積更新中修正。

 

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

Need more help?

擴展您的技能

探索訓練 >

優先取得新功能

加入 MICROSOFT 365 測試人員 >

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?

Thank you for your feedback!

×