我听说MS sql Server占用尽可能多的RAM来缓存结果.好吧,它没有为我们的小服务器的RAM留下足够的讨价还价空间.
如何更改设置以限制可以使用的RAM量?
从
How to configure memory options using SQL Server Management Studio开始:
原文链接:https://www.f2er.com/windows/370588.htmlUse the two server memory options,min server memory and max server memory,to reconfigure the amount of memory (in megabytes) managed by the sql Server Memory Manager for an instance of sql Server.
- In Object Explorer,right-click a server and select Properties.
- Click the Memory node.
- Under Server Memory Options,enter the amount that you want for Minimum server memory and Maximum server memory.
您也可以使用以下命令在T-sql中执行此操作(示例):
exec sp_configure 'max server memory',1024 reconfigure