什么会导致MemoryClerk_sosnode店员在SQL Server 2019 Cu14中逐渐使用内存?

发布于 2025-01-23 13:07:12 字数 1412 浏览 0 评论 0 原文

由于记忆力低,我们的一台生产服务器每隔几周就会崩溃。我们发现实例内存是由MemoryClerk_sosnode店员拍摄的。当该店员逐渐使用可用的内存时,计划缓存变小,SQL引擎开始经常编译和重新编译计划。另外,页面预期寿命也会发生很多波动。 内存文员大小,

请单击下面的链接以查看屏幕截图。我无法将其作为图片发布,因为我在Stackoverflow中还没有足够的声誉点。

为其他内存店员分配的内存

/wycrr.jpg“ rel =“ nofollow noreferrer”>前5个内存店员大小

现在,我发现Microsoft已将此店员的修复程序逐渐在其CU11中逐渐使用,并且他们放在CU15中(不放在Cu15)当然,如果他们真的修复了)

修复了SQL 2019 Cu11 https://support.microsoft.com/en-us/topic/kb5003249-cumulative-update-11-for-sql-server-2019-657b2977-a0f1-4e1f-8b93-8c2ca8b6bef5#bkmk_13990055< /a>

修复SQL 2019 Cu15 https://support.microsoft.com/en-us/topic/kb5008996-cumulative-update-15-for-sql-server-sql-server-2019-4b6a8eee9-1c61c61-1c61-482d-914f-914f-914f-914f-36e429999999999999999999901fbb6 <

/修复说,它可能会通过使用空间索引引起。我们根本不使用它。由于微软有KB文章说他们将其修复在Cu11中,然后在CU15中再次修复。我很确定,这里有问题。

谁能在这里帮助我缩小问题?

谢谢。

One of our production server is crashing after every few weeks due to low memory. We found that the instance memory is taken by MEMORYCLERK_SOSNODE clerk. When this clerk gradually use available memory, the plan cache becomes small and SQL engine starts compiling and re-compiling plans frequently. Also, the page life expectancy fluctuates a lot.
Memory clerk size

Please click below links to see the screenshot. I'm not able to post it as a picture here as I don't have enough reputation points in stackoverflow yet.

Memory assigned for other memory clerk

top 5 memory clerk size

Now, I found that the Microsoft has put fix for this clerk gradually taking available memory in their CU11 and same fix they put in CU15 (Not sure if they actually fixed it)

Fix in SQL 2019 CU11
https://support.microsoft.com/en-us/topic/kb5003249-cumulative-update-11-for-sql-server-2019-657b2977-a0f1-4e1f-8b93-8c2ca8b6bef5#bkmk_13990055

Fix in SQL 2019 CU15
https://support.microsoft.com/en-us/topic/kb5008996-cumulative-update-15-for-sql-server-2019-4b6a8ee9-1c61-482d-914f-36e429901fb6

Both fix says, it can cause by using spatial index. We are not using it at all. Since Microsoft has KB article says they fixed it in CU11 and then again in CU15. I'm pretty sure, something is wrong here.

Can anyone help me narrow down the problem here?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我的影子我的梦 2025-01-30 13:07:12

According to https://learn.microsoft.com/en-us/troubleshoot/sql/releases/sqlserver-2019/cumulativeupdate19 there is also a fix for the memory leak:
2068768 - "Fixes a gradual memory leak in the SQL Server process (the high usage under MEMORYCLERK_SOSNODE) caused by the Log Reader Agent in transactional replication."

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文