微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

windows – 如何限制MS SQL Server内存使用?

我听说MS sql Server占用尽可能多的RAM来缓存结果.好吧,它没有为我们的小服务器的RAM留下足够的讨价还价空间.

如何更改设置以限制可以使用的RAM量?

Windows Server 2008上运行的MS sql Server.

How to configure memory options using SQL Server Management Studio开始:

Use 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.

  1. In Object Explorer,right-click a server and select Properties.
  2. Click the Memory node.
  3. 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

原文地址:https://www.jb51.cc/windows/370588.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐